Download Vicuna weights
Vicuna is an open-source family of chatbots trained by fine-tuning LLaMA on user-shared conversations collected from ShareGPT.
To see all the available checkpoints for Vicuna, run:
python scripts/download.py | grep vicuna
which will print
lmsys/vicuna-7b-v1.3
lmsys/vicuna-13b-v1.3
lmsys/vicuna-33b-v1.3
In order to use a specific Vicuna checkpoint, for instance vicuna-7b-v1.3, download the weights and convert the checkpoint to the lit-gpt format:
pip install huggingface_hub
python scripts/download.py --repo_id lmsys/vicuna-7b-v1.3
python scripts/convert_hf_checkpoint.py --checkpoint_dir checkpoints/lmsys/vicuna-7b-v1.3
You're done! To execute the model just run:
pip install sentencepiece
python chat/base.py --checkpoint_dir checkpoints/lmsys/vicuna-7b-v1.3