mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-06-19 15:52:08 +00:00
Fix top_p validation message
This commit is contained in:
parent
1747365e25
commit
1963f0e1bb
@ -155,7 +155,7 @@ type ValidationRequest = (
|
|||||||
pub enum ValidationError {
|
pub enum ValidationError {
|
||||||
#[error("temperature must be strictly positive")]
|
#[error("temperature must be strictly positive")]
|
||||||
Temperature,
|
Temperature,
|
||||||
#[error("top_p must be >= 0.0 or < 1.0")]
|
#[error("top_p must be > 0.0 and <= 1.0")]
|
||||||
TopP,
|
TopP,
|
||||||
#[error("top_k must be strictly positive")]
|
#[error("top_k must be strictly positive")]
|
||||||
TopK,
|
TopK,
|
||||||
|
Loading…
Reference in New Issue
Block a user