Download model - techconative/llm-finetune GitHub Wiki

To download model,

Ensure that you have installed the requirements and you're in your venv.

Run the below commands to download a model and have the checkpoints ready.

MODEL="codellama/CodeLlama-7b-Instruct-hf"

python scripts/download.py --repo_id $MODEL
python scripts/convert_hf_checkpoint.py --checkpoint_dir checkpoints/$MODEL