Closed zampierimatteo91 closed 4 years ago
I'm not seeing this issue, using an existing learner or a BertClassificationPredictor. I'm guessing this has to do with how your learner was defined.
Hi @aaronbriel ,
Thanks for your reply. Yeah, I thought it was an issue of mine. I just reproduced line by line the code provided in the notebooks with the same data I was providing before and it worked.
I will check more thoroughly later.
Cheers
Hi, After fixing some minor issues, I was able to run the DataBunch and the Learner, but not the predicting methods. The error is the following:
I double-checked that my
texts
variable is a list of strings (I repeated the operation a number of times with different pipelines).Could you direct me to a solution? Thanks
P.S. The error is present even whith
predict_batch(texts)
alone, the aforementioned syntax is just another try.