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

support min_length for turbomind backend #961

Merged
merged 6 commits into from
Jan 26, 2024

Conversation

irexyc
Copy link
Collaborator

@irexyc irexyc commented Jan 16, 2024

Different with MinLengthLogitsProcessor in hf:

  • hf support list of eos token

@irexyc irexyc added the WIP label Jan 19, 2024
@irexyc irexyc removed the WIP label Jan 22, 2024
@lvhan028 lvhan028 added enhancement New feature or request and removed planned feature labels Jan 22, 2024
lmdeploy/messages.py Outdated Show resolved Hide resolved
@lvhan028 lvhan028 merged commit b59da12 into InternLM:main Jan 26, 2024
8 checks passed
irexyc added a commit to irexyc/lmdeploy that referenced this pull request Jan 28, 2024
* support min_length

* fix lint

* disable by default

* fix step

* use min_new_tokens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants