Closed dipanjanS closed 4 years ago
Facing the same issue when comma , is in the text, not sure if I am doing something fundamentally wrong
Switched to roberta
for now and works, will check back on bert
later, probably could have happened with some leftover model weights on colab also. All good for now
Describe the bug Basically a trained NER model fails on trying to predict on text with apostrophes
To Reproduce
You can train the model as follows (Dataset is a standard one in Kaggle:
Screenshots
In case screenshot not clear, refer below (using the above model to predict):
Desktop (please complete the following information):
Additional context Not sure but mostly the apostrophe symbol in the text is causing issues only when using
predict()
some help would be appreciated.