-
Notifications
You must be signed in to change notification settings - Fork 48
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
range is wrong for only 1 token span #14
Open
Comments
Hi @thirteenflt thanks a lot for making us aware of that, could you maybe open a PR to fix that? I would be really grateful. |
Good spot! |
ivyleavedtoadflax
added a commit
to MantisAI/nervaluate
that referenced
this issue
Oct 18, 2019
ivyleavedtoadflax
added a commit
to MantisAI/nervaluate
that referenced
this issue
Dec 7, 2019
ivyleavedtoadflax
added a commit
to MantisAI/nervaluate
that referenced
this issue
Dec 7, 2019
ivyleavedtoadflax
added a commit
to MantisAI/nervaluate
that referenced
this issue
Oct 29, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pred_range = range(pred.start_offset, pred.end_offset)
so if pred.start=1 and pred.end_offset=1, then it will be empty range. But it should be one.
to fix:
pred_range = range(pred.start_offset, pred.end_offset+1)
The text was updated successfully, but these errors were encountered: