1

I'm very new to nlp topic and it's my first project. I'm trying to follow this code only for RoBERTa: https://github.com/JMSaindon/NlpSquad/blob/master/Bert_fine_tune.ipynb, but have a problem with the evaluation part, getting such an error: enter image description here

So, as I understand the problem is in this code part before training: enter image description here

And using defined function here:

 output = [to_list(output[i]) for output in outputs]

How to fix it?

Adolf Miszka
  • 208
  • 1
  • 9
  • 1
    Does this answer your question? [Huggingface transformer model returns string instead of logits](https://stackoverflow.com/questions/64901831/huggingface-transformer-model-returns-string-instead-of-logits) – cronoik May 23 '21 at 23:02

0 Answers0