mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-06-19 07:42:06 +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 {
|
||||
#[error("temperature must be strictly positive")]
|
||||
Temperature,
|
||||
#[error("top_p must be >= 0.0 or < 1.0")]
|
||||
#[error("top_p must be > 0.0 and <= 1.0")]
|
||||
TopP,
|
||||
#[error("top_k must be strictly positive")]
|
||||
TopK,
|
||||
|
Loading…
Reference in New Issue
Block a user