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

请问训练数据中pos_scores和neg_scores的值如何确定? #1223

Open
czhcc opened this issue Nov 14, 2024 · 1 comment
Open

请问训练数据中pos_scores和neg_scores的值如何确定? #1223

czhcc opened this issue Nov 14, 2024 · 1 comment

Comments

@czhcc
Copy link

czhcc commented Nov 14, 2024

使用两个训练句子相似度的值可以吗?

@hanhainebula
Copy link
Collaborator

你好,@czhcc。pos_scores 和 neg_scores 在训练时开启 knowledge_distillation 才会使用到,表示来自教师模型的分数,用于训练过程中的蒸馏。教师模型一般使用 reranker,我们在这里提供了脚本进行打分,可以参考下。

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