Skip to content

Conversation

@oobabooga
Copy link
Owner

@oobabooga oobabooga commented Feb 19, 2024

I copied the idea from the following PR to llama.cpp by @p-e-w ggml-org/llama.cpp#5561.

This prevents repetition penalty from being applied to tokens that are common in the input like spaces, commas, and newline characters. Let's test the usefulness of this parameter.

@p-e-w
Copy link
Contributor

p-e-w commented Feb 19, 2024

Nice!

@oobabooga
Copy link
Owner Author

I'm closing this in favor of #5677

@oobabooga oobabooga closed this May 19, 2024
@oobabooga oobabooga deleted the penalty_threshold branch May 19, 2024 23:30
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