Skip to content
New issue

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

How to mine hard neg for reranker? #784

Open
Lahaina936 opened this issue May 14, 2024 · 1 comment
Open

How to mine hard neg for reranker? #784

Lahaina936 opened this issue May 14, 2024 · 1 comment

Comments

@Lahaina936
Copy link

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

@staoxiao
Copy link
Collaborator

@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.

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

No branches or pull requests

2 participants