AttributeError: 'RobertaModel' object has no attribute 'layer_idx' #628
-
Hello, I am a student of computer science and I am working on AdapterDrop. When I ran the Adapter_Drop_Training.ipynb step by step,I got an error: transformers/trainer.py:1860, in Trainer._inner_training_loop(self, batch_size, args, resume_from_checkpoint, trial, ignore_keys_for_eval)
... I don't know how to solve it,could you help me? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @tangshiyi341914, thanks for reporting this! This looks like an issue in our library, I've converted this into an issue here: #633 and will look into fixing it. |
Beta Was this translation helpful? Give feedback.
Hey @tangshiyi341914, thanks for reporting this! This looks like an issue in our library, I've converted this into an issue here: #633 and will look into fixing it.