Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

(BLINK Zeshel) A bug in biencoder/nn_prediction ? #95

Open
jeffchy opened this issue Sep 28, 2021 · 0 comments
Open

(BLINK Zeshel) A bug in biencoder/nn_prediction ? #95

jeffchy opened this issue Sep 28, 2021 · 0 comments

Comments

@jeffchy
Copy link

jeffchy commented Sep 28, 2021

L96 in blink/biencoder/nn_prediction.py should be changed from
cur_candidates = candidate_pool[src][inds]
TO
cur_candidates = candidate_pool[srcs[i].item()][inds]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant