Skip to content

[feat] support fine-tuning of reranker models #4671

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

Merged
merged 5 commits into from
Jun 24, 2025

Conversation

0russwest0
Copy link
Collaborator

PR type

  • Bug Fix
  • New Feature
  • Document Updates
  • More Models or Datasets Support

PR information

Support fine-tuning of reranker models

Experiment results

Paste your experiment result here(if needed).

0russwest0 and others added 4 commits June 20, 2025 15:42
…. Added listwise loss functions for both standard and generative rerankers, updated documentation, and introduced new training scripts for listwise approaches. Adjusted existing training scripts for improved performance and memory efficiency.
@@ -74,6 +74,7 @@ You can contact us and communicate with us by adding our group:


## 🎉 News
- 🎁 2025.06.23: Fine-tuning of reranker models is supported. Training scripts can be found here: [Reranker](https://github.com/modelscope/ms-swift/blob/main/examples/train/reranker/train_reranker.sh).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

中文readme加一下

@Jintao-Huang
Copy link
Collaborator

通过一下lint

pip install pre-commit
pre-commit run --all-files

@0russwest0 0russwest0 merged commit f30bf98 into modelscope:main Jun 24, 2025
2 of 3 checks passed
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

Successfully merging this pull request may close these issues.

3 participants