使用Docker来开启xiaogpt, 当前Docker官文Docker源被墙了,所以可以先找一个国内的镜像,比如
docker pull dockerproxy.cn/yihong0618/xiaogpt
准备好config.yaml文件,然后命令行启动
docker run -v /volume2/hdd_4T/xiaogpt/config:/config yihong0618/xiaogpt --config=/config/myconfig_livingroom.yaml
![](https://pjq.me/wp-content/uploads/2024/06/image-1024x445.png)
使用Docker来开启xiaogpt, 当前Docker官文Docker源被墙了,所以可以先找一个国内的镜像,比如
docker pull dockerproxy.cn/yihong0618/xiaogpt
准备好config.yaml文件,然后命令行启动
docker run -v /volume2/hdd_4T/xiaogpt/config:/config yihong0618/xiaogpt --config=/config/myconfig_livingroom.yaml
I am running my NAS at home, and it has the public IP, but the IP will be changed randomly, so I need to bind it to the subdomain in the Cloudflare, so I can visit it even the IP …
ls -lht models/llama-2-7b
total 7997112
-rw-r--r--@ 1 user staff 3.8G Jan 4 13:12 llama-2-7b.Q4_K_M.gguf
git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp
make -j
I am start to learn the cryptography, so I will note the Cryptography journey in my blog
Some Cryptography online courses
Online hack platform
SM4, one China Block Cipher
…ShāngMì 4 (
Here is the github of whisper.cpp
make base.en
make medium
make large-v3
/main -m models/ggml-base.en.bin -f samples/jfk.wav
./main -m ./models/ggml-medium.bin -t 8 --step 500 --length 5000 --prompt "请用简体中文输出" -l
… 8 security vendors flagged this URL as malicious
sudo tcpdump -vv -i eth0 src 165.227.xx.xx and not dst 101.230.xx.xx port 22 -X -n
So here we need …
conda create --name myenv310 python=3.10
environment location: /Users/xxxx/miniconda3/envs/myenv310
added / updated specs:
- python=3.10
conda activate myenv310
conda deactivate
conda env list
conda config --add channels conda-forge
conda config --set channel_priority strict
conda env create -f environment-no-nvidia.yml
conda activate stylegan3
… Most of the code is generated by ChatGPT, all you need is to provide the appropriate prompt message, and debug, even this document is also generated by ChatGPT
This is a Python script for fetching documents from the …
brew install --cask gpg-suite
gpg --full-gen-key
gpg (GnuPG/MacGPG2) 2.2.34; Copyright (C) 2022 g10 Code GmbH
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by
… 突然觉得任何词中间加一个点,都别有韵味。
作为文盲人,引一首诗,附庸风雅,时也。
静坐西山深有益,等闲人事稀逢。
《临江仙 西山静坐》
终朝饭饱恣疏慵。
养成清静体,化出主人公。
三十年来都乱觅,如今认证真容。
狂情灭尽法皆空。
本来无一事,刚恁费千功。
尤记得“明日复明日,明日何其多”,如今是日日复一日,日日何其多。
一纸空文,斩断万千思绪,自绝一日三餐,黄梁终是梦。
两肚愁肠,愁煞世间愤懑,望尽春夏秋天,画地日为牢。
终了,欲说还休,却道天凉好个秋!
好一个静·默
…