mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 20:04:52 +00:00
Update test_types.py
This commit is contained in:
parent
f0d6619d80
commit
d32007b8c2
@ -50,7 +50,7 @@ def test_parameters_validation():
|
||||
with pytest.raises(ValidationError):
|
||||
Parameters(top_p=-1)
|
||||
with pytest.raises(ValidationError):
|
||||
Parameters(top_p=1)
|
||||
Parameters(top_p=1.01)
|
||||
|
||||
# Test truncate
|
||||
Parameters(truncate=1)
|
||||
|
Loading…
Reference in New Issue
Block a user