prateekjoshi565 / Fine-Tuning-BERT

Apache License 2.0
139 stars 119 forks source link

not enough values to unpack (expected 2, got 1) #14

Open SFN1373 opened 2 years ago

SFN1373 commented 2 years ago

The code that reaches this part has an error. What should I do to fix it?

E

shibing624 commented 2 years ago

_, cls_hs = self.bert(sent_id, attention_mask=mask, return_dict=False)