FlagEmbedding icon indicating copy to clipboard operation
FlagEmbedding copied to clipboard

How to mine hard neg for reranker?

Open QuangTQV opened this issue 1 year ago • 1 comments

I just saw the script that mine the hard negative for the bi encoder

QuangTQV avatar May 14 '24 07:05 QuangTQV

@Lahaina936 , the script of negative mining: https://github.com/FlagOpen/FlagEmbedding/tree/master/examples/finetune#hard-negatives can be used for both the embedding model and reranker model.

staoxiao avatar May 15 '24 03:05 staoxiao