Facing error while converting to HF
#2
by
aastha6
- opened
trying to convert the model to hf format and stuck with the below error:
command used:
python src/transformers/models/llama/convert_llama_weights_to_hf.py \
--input_dir ../llama_checkpoints/Llama-3.2-1B-Instruct-QLORA_INT4_EO8 \
--output_dir ../hf_checkpoints/Llama-3.2-1B-Instruct-QLORA_INT4_EO8 \
--model_size 1B \
--llama_version 3.2 \
--num_shards 1
error:
binascii.Error: Incorrect padding
nvm - looks like while experimenting I might have messed the original weights. All sorted now.
Re-downloaded weights from meta website and script works!
aastha6
changed discussion status to
closed