diff options
author | beiller <beiller@gmail.com> | 2023-03-12 05:27:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-12 11:27:42 +0200 |
commit | 129c7d1ea886e52ac1b87ff6184310bab3158806 (patch) | |
tree | fe55fbb47ffb6bd7676890bf342c5b8c7f8c6c52 /quantize.cpp | |
parent | 702fddf5c5c3c1377e169ba9ecdfed4cb16c268b (diff) |
Add repetition penalty (#20)
* Adding repeat penalization
* Update utils.h
* Update utils.cpp
* Numeric fix
Should probably still scale by temp even if penalized
* Update comments, more proper application
I see that numbers can go negative so a fix from a referenced commit
* Minor formatting
---------
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Diffstat (limited to 'quantize.cpp')
0 files changed, 0 insertions, 0 deletions