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

Length penalty draft #10

Draft
wants to merge 13 commits into
base: release
Choose a base branch
from
Draft

Length penalty draft #10

wants to merge 13 commits into from

Conversation

maxdebayser
Copy link
Contributor

This is my first go at implementing the length penalty in vLLM, just to get some feedback. But from our meeting earlier Nick hinted that there might be another way to implement this in our TGIS wrapper, without going deep in the vLLM implementation, so I'll try that approach too.

The relevant change in this draft are in sampler.py

I'm basing this PR on Joe's request-validation branch because it builds on some of the new features there, but I'm also pulling in some recent changes from the release branch here.

joerunde and others added 13 commits March 26, 2024 13:24
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
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.

None yet

2 participants