Traceback (most recent call last):
File "/content/drive/MyDrive/Colab Notebooks/Text_Classification-main/Bert/run.py", line 304, in
main()
File "/content/drive/MyDrive/Colab Notebooks/Text_Classification-main/Bert/run.py", line 271, in main
global_step, tr_loss = train(args, model, train_dataset, dev_dataset)
File "/content/drive/MyDrive/Colab Notebooks/Text_Classification-main/Bert/run.py", line 108, in train
result = evaluate(args, model, dev_dataset)
File "/content/drive/MyDrive/Colab Notebooks/Text_Classification-main/Bert/run.py", line 163, in evaluate
preds.extend(pred.detach().cpu().tolist())
TypeError: 'int' object is not iterable