You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
My own task or dataset (give details below)
Reproduction
I ran the convert_llama_weightsto_hf.py script on the llama-3.3-70B-Instruct checkpoint weights !python convert_llama_weights_to_hf.py --input_dir "llama_3_3_model/Llama-3.3-70B-Instruct/original" --model_size 70B --output_dir "llama_3_3_model/Llama-3.3-70B-Instruct/hf-converted",
and got the ValueError: Failed to instantiate tokenizer.Pleae, make sure you have sentencepiece and protobuf.
I tried upgrading both sentencepiece and protobuf but same error is occurring again
Expected behavior
downloaded from HuggingFace Files.
The text was updated successfully, but these errors were encountered:
Were you using a notebook? Did you remember to restart the notebook session after installing the dependencies? I was able to convert the llama weights by using a dev install of transformers.
System Info
python == 3.10.12
transformers == 4.45.1
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
I ran the
convert_llama_weightsto_hf.py
script on the llama-3.3-70B-Instruct checkpoint weights!python convert_llama_weights_to_hf.py --input_dir "llama_3_3_model/Llama-3.3-70B-Instruct/original" --model_size 70B --output_dir "llama_3_3_model/Llama-3.3-70B-Instruct/hf-converted"
,and got the
ValueError: Failed to instantiate tokenizer.Pleae, make sure you have sentencepiece and protobuf.
I tried upgrading both sentencepiece and protobuf but same error is occurring again
Expected behavior
downloaded from HuggingFace Files.
The text was updated successfully, but these errors were encountered: