Upload test.md
Browse files
test.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## installation
|
| 2 |
+
|
| 3 |
+
`curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash`
|
| 4 |
+
`sudo apt-get install git-lfs`
|
| 5 |
+
|
| 6 |
+
- [7b-hf 模型](https://huggingface.co/luodian/llama-7b-hf/tree/main)
|
| 7 |
+
- [7b-delta 模型](https://huggingface.co/lmsys/vicuna-7b-delta-v0)
|
| 8 |
+
```
|
| 9 |
+
pip install git+https://github.com/lm-sys/FastChat.git@v0.1.10
|
| 10 |
+
```
|
| 11 |
+
```
|
| 12 |
+
python -m fastchat.model.apply_delta --base /workspace/llama-7b-hf --target /workspace/AnomalyGPT/pretrained_ckpt/vicuna_ckpt/7b_v0 --delta /workspace/vicuna-7b-delta-v0
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
sudo apt-get install libgl1
|
| 17 |
+
`pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu117`
|
| 18 |
+
`pip install scikit-image`
|