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

Reward model VLLM API upgrade #331

Merged
merged 42 commits into from
Jan 28, 2025
Merged

Reward model VLLM API upgrade #331

merged 42 commits into from
Jan 28, 2025

Conversation

shtoshni
Copy link
Collaborator

The new vLLM API supports reward models via the "pooling" interface. This PR fixes the earlier hacky embedding interface.

Copy link
Collaborator

@Kipok Kipok left a comment

Choose a reason for hiding this comment

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

Did you verify that qwen rm gives expected scores?

tests/gpu-tests/test-local.yaml Outdated Show resolved Hide resolved
tests/gpu-tests/test-local.yaml Outdated Show resolved Hide resolved
tests/gpu-tests/test_reward.py Outdated Show resolved Hide resolved
shtoshni and others added 4 commits January 28, 2025 10:23
Co-authored-by: Igor Gitman <igitman@nvidia.com>
Co-authored-by: Igor Gitman <igitman@nvidia.com>
Co-authored-by: Igor Gitman <igitman@nvidia.com>
@shtoshni
Copy link
Collaborator Author

Did you verify that qwen rm gives expected scores?

The number is in the ballpark of the huggingface numbers. Reported is 3.75, we get 3.33.

@shtoshni shtoshni merged commit 74715af into main Jan 28, 2025
5 of 7 checks passed
@shtoshni shtoshni deleted the shtoshni/vllm-upgrade branch January 29, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants