Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sillysaurusx
on March 11, 2023
|
parent
|
context
|
favorite
| on:
Llama.cpp: Port of Facebook's LLaMA model in C/C++...
Repetition penalty is a matter of, generate a token, then multiply that logit by the penalty. (If the logit is negative, divide instead of multiply.)
https://github.com/shawwn/llama
has an implementation (check the commit history).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://github.com/shawwn/llama has an implementation (check the commit history).