-
Notifications
You must be signed in to change notification settings - Fork 29
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
Fine-tuning model on data with no coreference #35
Comments
not sure what is the issue here but did:
and everything worked. |
@ianbstewart we can close this since no activity here? |
Thanks for the update! I get the same problem as before when I make the changes you specified. Might be a version difference? I am using |
you can try the latest on a brand new env? (fastcoref 2.1.6) |
I do have the same problem as the OP using the latest version (2.1.6) and with the changes specified: RuntimeError: Could not infer dtype of NoneType |
Another edge case I've found, this time with data that has no coreference. During training, when a batch of data is generated for the model, it looks like the
gold_clusters
feature is set toNone
when none of the data in the batch has any coreference, which causes errors downstream. Example below:Error:
The text was updated successfully, but these errors were encountered: