File size: 747 Bytes
31dbd1b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
## installation

`curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash`  
`sudo apt-get install git-lfs` 

- [7b-hf 模型](https://huggingface.co/luodian/llama-7b-hf/tree/main)
- [7b-delta 模型](https://huggingface.co/lmsys/vicuna-7b-delta-v0)
 ```
    pip install git+https://github.com/lm-sys/FastChat.git@v0.1.10
```
  ```
    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
  ```


sudo apt-get install libgl1
`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`
`pip install scikit-image`