Hello, I am new to AI/ML. I’m trying out this jupyter notebook, which trains a model for text classification using the OLID dataset:
Everything works fine to the end, but I’m struggling to figure out how to call the model.predict
on a sample text:
text = "this is a sample text from a tweet"
# how to transform text to a valid argument for model.predict ??
model.predict(xxxx)
Any information will be appreciated.