Problem with the code for PS: Evaluation

Problem with the code for PS: Evaluation

by Elise Gascard -
Number of replies: 1

Hello,

I have a problem with last weeks code for the practical session about evaluation. Everything works until the section 4)SpaCy Classifier where I have the following error I don’t know how to resolve. This also causes me errors for the following questions. I'm working on a Macbook. An other person with a Macbook has the same problem too. How can we resolve this ? 


In reply to Elise Gascard

Re: Problem with the code for PS: Evaluation

by Sepideh Mamooler -
Hi Elise,

This usually happens when the transformers library has version >4.5.
Try re-installing it with version 4.4: pip install transformers==4.44.0
(Make sure to close and open the Jupyter notebook again so this change is effective.)
Feel free to let us know if the problem persists.

Best,
Sepideh