We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
In the src/data.py file:
FiD/src/data.py
Line 139 in baf533c
Thanks.
The text was updated successfully, but these errors were encountered:
hi, I think so, too. So I fixed it like this.
for i,c in enumerate(example['ctxs']): if not 'score' in c: c['score'] = 1.0 / (i + 1)
If there's a better way, please let me know. Thanks.
Sorry, something went wrong.
No branches or pull requests
Hi,
In the src/data.py file:
FiD/src/data.py
Line 139 in baf533c
May I ask why you set the score value as 1/(k+1), where k is the index of data? Shouldn't k be the index of ctx passage?
Thanks.
The text was updated successfully, but these errors were encountered: