Open lyluh opened 3 months ago
TypeError: LlamaForCausalLM.forward() got an unexpected keyword argument 'seqlens_in_batch'
This error is usually caused by in-complete environement install. Please follow the instruction in environment_setup.sh
to set up
I'm trying to get fine-tuning working through the 3_sft.sh script but am encountering an error:
I tried commenting out the seqlens_in_batch argument where self.llm.forward() is called and the script will work, but when i try to get the validation scores by setting --evaluation_strategy to something other than "no" I get a bunch of errors related to the dataloader and the dataset 'inputs':
Any suggestions?