Georgetown-IR-Lab / cedr

Code for CEDR: Contextualized Embeddings for Document Ranking, accepted at SIGIR 2019.
MIT License
156 stars 28 forks source link

Fix for #13 #14

Closed seanmacavaney closed 4 years ago

seanmacavaney commented 4 years ago

As brought up in #13, the previous implementation always returns 1 for every element. This was due to the re-use of the item variable. This change should make the