Text-Classification-with-BERT-PyTorch
Text-Classification-with-BERT-PyTorch copied to clipboard
Classifier.py
For Classifier .py in the section it says: train_iterator = tqdm(train_loader, desc="Train Iteration")
for step, batch in enumerate(train_iterator):
When I run this part of the code I get an error:
ValueError Traceback (most recent call last)
5 frames
ValueError: too many values to unpack (expected 2) I am not sure why this error is popping up and how to fix it?