You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This occurs when copying the exact alpaca train cmd given on a new conda env, unsure why
Traceback (most recent call last):
File "/home/green/code/nlp/pyreft/examples/alpaca/train.py", line 128, in<module>train()
File "/home/green/code/nlp/pyreft/examples/alpaca/train.py", line 122, in train
trainer.train()
File "/home/green/miniconda3/envs/reft/lib/python3.11/site-packages/transformers/trainer.py", line 1780, in train
return inner_training_loop(
^^^^^^^^^^^^^^^^^^^^
File "/home/green/miniconda3/envs/reft/lib/python3.11/site-packages/transformers/trainer.py", line 2118, in _inner_training_loop
tr_loss_step = self.training_step(model, inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/green/miniconda3/envs/reft/lib/python3.11/site-packages/transformers/trainer.py", line 3028, in training_step
model.train()
File "/home/green/miniconda3/envs/reft/lib/python3.11/site-packages/torch/nn/modules/module.py", line 2430, in train
module.train(mode)
TypeError: IntervenableModel.train() takes 1 positional argument but 2 were given
The text was updated successfully, but these errors were encountered:
This occurs when copying the exact alpaca train cmd given on a new conda env, unsure why
The text was updated successfully, but these errors were encountered: