Skip to content

Conversation

jm12138
Copy link
Contributor

@jm12138 jm12138 commented Apr 10, 2023

  • Add a feature with unlimited max_tokens that is enabled when max_tokens <= 0.

  • Similar to this parameter in llama.cpp:

https://github.com/ggerganov/llama.cpp/blob/180b693a47b6b825288ef9f2c39d24b6eea4eea6/examples/common.cpp#L230

@Aqirito
Copy link

Aqirito commented Apr 28, 2023

is this will be merged?

@gjmulder
Copy link
Contributor

@abetlen ?

@gjmulder gjmulder added the enhancement New feature or request label May 23, 2023
@BakaKiller
Copy link

Up ! This would be really great !

@abetlen
Copy link
Owner

abetlen commented Jul 8, 2023

@jm12138 thanks for the contribution, sorry took so long to get to this! LGTM

@abetlen abetlen merged commit 2472420 into abetlen:main Jul 8, 2023
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.

5 participants