Closed ArvinZhuang closed 1 year ago
The result I got for this example:
##################### MRR @10: 0.3164818983945045 QueriesRanked: 6980 #####################
Hi @ArvinZhuang, thanks for sharing the results. Could you create a PR for this? i.e. the fix in reducer.py and also the results in the doc?
I'm trying to reproduce this example: https://github.com/texttron/tevatron/tree/main/examples/msmarco-passage-ranking
Training and encoding are all good, however, retrieval with faiss raises an error:
I think the reason for this is the
indices
are actually numpy arrays with string ids but faiss wants int64 ids.Seems is this update break the code? @MXueguang
One lazy fix for this:
indices = indices.astype(np.int64)
I'm using
faiss-cpu==1.7.1