LoRA icon indicating copy to clipboard operation
LoRA copied to clipboard

Questions about running the cola dataset script

Open dengxingzhi opened this issue 9 months ago • 1 comments

hello,An error occurs when I run the debert cola.sh script Traceback (most recent call last): File "examples/text-classification/run_glue.py", line 626, in main() File "examples/text-classification/run_glue.py", line 558, in main train_result = trainer.train(resume_from_checkpoint=checkpoint) File "/home/dengxingzhi/LoRA/examples/NLU/src/transformers/trainer.py", line 881, in train self._load_state_dict_in_model(state_dict) File "/home/dengxingzhi/LoRA/examples/NLU/src/transformers/trainer.py", line 1987, in _load_state_dict_in_model if set(load_result.missing_keys) == set(self.model._keys_to_ignore_on_save): TypeError: 'NoneType' object is not iterable

so,Is it a code problem,because running other scripts works fine

dengxingzhi avatar May 21 '24 05:05 dengxingzhi