llama.cpp
dcf5d328
- json: cap length of numbers to 15 digits before/after decimal point
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
2 years ago
json: cap length of numbers to 15 digits before/after decimal point (avoids infinite gen, e.g. "one third" -> `0.333333333333...`)
References
#6555 - JSON schema conversion: ⚡️ faster repetitions, min/maxLength for strings, cap number length
Author
ochafik
Parents
07163fb6
Loading