BaselineData / test.md
KITYuan's picture
Upload test.md
31dbd1b
|
raw
history blame
747 Bytes
## 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`