EleutherAI / lm-evaluation-harness

A framework for few-shot evaluation of language models.
https://www.eleuther.ai
MIT License
7.06k stars 1.9k forks source link

Llama3.1-8B-Instruct evaluation fails #2428

Open Isaaclgz opened 1 month ago

Isaaclgz commented 1 month ago

Running the following command with Llama-3.1-8B-Instruct fails with a AttributeError: 'function' object has no attribute 'pad_token' error. I am using the adding_all_changess branch to replicate the leaderboard results. Any help is greatly appreciated!

lm_eval \
--output_path ./outputs \
--model hf \
--tasks leaderboard_gpqa \
--model_args pretrained=meta-llama/Llama-3.1-8B-Instruct,dtype=bfloat16 \
--batch_size auto \
--use_cache ./cache \
--log_samples \
--trust_remote_code \
--verbosity DEBUG
baberabb commented 1 month ago

Hi! might be able to help if you provide the full stack trace.