You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i use the sentence "predictor = discourse.DiscourseCRFClassifierPredictor()", it throws back this error: TypeError: init() missing 1 required positional argument: 'dataset_reader'.
What can i do to solve this problem?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi @sny-tong. I think it's likely that the allennlp has updated quite a bit since the release of my code. In my experiment, I used allennlp version 0.9.0. I think one way to do that is to install the previous version of AllenNLP and try it to see if it works.
It may require a bit of rewriting the code if you would like to use the recent version of AllenNLP. Hope this helps a bit!
When i use the sentence "predictor = discourse.DiscourseCRFClassifierPredictor()", it throws back this error: TypeError: init() missing 1 required positional argument: 'dataset_reader'.
What can i do to solve this problem?
Thanks.
The text was updated successfully, but these errors were encountered: