realworldnlp icon indicating copy to clipboard operation
realworldnlp copied to clipboard

Error in 2.8.1

Open harshit-py opened this issue 3 years ago • 1 comments

Hi,

While trying

predictor = SentenceClassifierPredictor(model, dataset_reader=reader)

in Sec 2.8.1 I'm getting error

AttributeError: 'StanfordSentimentTreeBankDatasetReader' object has no attribute '_tokenizer'

I see you have made some changes in this commit.

harshit-py avatar Mar 31 '21 08:03 harshit-py

I have encountered the same on Colab and desktop machine (Ubuntu).

allennlp==1.0.0 allennlp-models==1.0.0

iqbalmohomed avatar Apr 21 '21 23:04 iqbalmohomed