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
File "baichuan_lora_tuning.py", line 142, in
main()
File "baichuan_lora_tuning.py", line 134, in main
trainer.train()
File "/data01/conda_pkg/envs/baichuan/lib/python3.8/site-packages/transformers/trainer.py", line 1664, in train
return inner_training_loop(
File "/data01/conda_pkg/envs/baichuan/lib/python3.8/site-packages/transformers/trainer.py", line 1940, in _inner_training_loop
tr_loss_step = self.training_step(model, inputs)
File "/data01/conda_pkg/envs/baichuan/lib/python3.8/site-packages/transformers/trainer.py", line 2735, in training_step
loss = self.compute_loss(model, inputs)
File "baichuan_lora_tuning.py", line 45, in compute_loss
return model(
AttributeError: 'tuple' object has no attribute 'loss'
The text was updated successfully, but these errors were encountered:
File "baichuan_lora_tuning.py", line 142, in
main()
File "baichuan_lora_tuning.py", line 134, in main
trainer.train()
File "/data01/conda_pkg/envs/baichuan/lib/python3.8/site-packages/transformers/trainer.py", line 1664, in train
return inner_training_loop(
File "/data01/conda_pkg/envs/baichuan/lib/python3.8/site-packages/transformers/trainer.py", line 1940, in _inner_training_loop
tr_loss_step = self.training_step(model, inputs)
File "/data01/conda_pkg/envs/baichuan/lib/python3.8/site-packages/transformers/trainer.py", line 2735, in training_step
loss = self.compute_loss(model, inputs)
File "baichuan_lora_tuning.py", line 45, in compute_loss
return model(
AttributeError: 'tuple' object has no attribute 'loss'
The text was updated successfully, but these errors were encountered: