prateekjoshi565 / Fine-Tuning-BERT

Apache License 2.0
139 stars 119 forks source link

Update Fine_Tuning_BERT_for_Spam_Classification.ipynb #13

Open sibbsnb opened 3 years ago

sibbsnb commented 3 years ago

Fix based on https://stackoverflow.com/questions/65132144/bertmodel-transformers-outputs-string-instead-of-tensor Since one of the 3.X releases of the transformers library, the models do not return tuples anymore but specific output objects:

MelroseLecter commented 6 months ago

thank you, my problem is solved as well.