Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in 2.8.1 #7

Open
harshit-py opened this issue Mar 31, 2021 · 1 comment
Open

Error in 2.8.1 #7

harshit-py opened this issue Mar 31, 2021 · 1 comment

Comments

@harshit-py
Copy link

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.

@iqbalmohomed
Copy link

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

allennlp==1.0.0
allennlp-models==1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants