Skip to content

Commit

Permalink
added default gen params
Browse files Browse the repository at this point in the history
  • Loading branch information
clefourrier committed Dec 18, 2024
1 parent c6f42ca commit 90593a9
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion tests/models/endpoints/test_tgi_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,27 @@ class TestTGIModelConfig:
[
(
"examples/model_configs/tgi_model.yaml",
{"inference_server_address": "", "inference_server_auth": None, "model_id": None},
{
"inference_server_address": "",
"inference_server_auth": None,
"model_id": None,
"generation_parameters": {
"early_stopping": None,
"frequency_penalty": None,
"length_penalty": None,
"max_new_tokens": None,
"min_new_tokens": None,
"min_p": None,
"presence_penalty": None,
"repetition_penalty": None,
"seed": None,
"stop_tokens": None,
"temperature": None,
"top_k": None,
"top_p": None,
"truncate_prompt": None,
},
},
),
],
)
Expand Down

0 comments on commit 90593a9

Please sign in to comment.