THUDM / P-tuning-v2

An optimized deep prompt tuning strategy comparable to fine-tuning across scales and tasks
Apache License 2.0
1.97k stars 201 forks source link

AttributeError: 'ExponentialTrainer' object has no attribute 'deepspeed' #62

Open Eskartur opened 1 year ago

Eskartur commented 1 year ago

Traceback (most recent call last): File "run.py", line 139, in train(trainer, training_args.resume_from_checkpoint, last_checkpoint) File "run.py", line 26, in train train_result = trainer.train(resume_from_checkpoint=checkpoint) File "/home/***/P-tuning-v2/training/trainer_exp.py", line 369, in train if self.deepspeed: AttributeError: 'ExponentialTrainer' object has no attribute 'deepspeed'

Eskartur commented 1 year ago

I encountered this error when running CoNLL12 on BERT.