juncongmoo / pyllama

LLaMA: Open and Efficient Foundation Language Models
GNU General Public License v3.0
2.8k stars 312 forks source link

Apply Delta failed #85

Open majidbhatti opened 1 year ago

majidbhatti commented 1 year ago

I downloaded pyllama. Converted it to huggingface format. and when I run the following command python3 -m fastchat.model.apply_delta --base converted7B/ --target llama_to_vicuna --delta lmsys/vicuna-7b-delta-v1.1

the following error is raised.

OSError: Can't load tokenizer for 'lmsys/vicuna-7b-delta-v1.1'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'lmsys/vicuna-7b-delta-v1.1' is the correct path to a directory containing all relevant files for a LlamaTokenizer tokenizer.

someone please suggest me the workaround

majidbhatti commented 1 year ago

I figured it out. The issue persist because the repo is not uptodate. git pull will resolve the error.