Skip to content

Commit

Permalink
test(tgi): update docker test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
dacorvo committed Sep 17, 2024
1 parent b4161dc commit 7884f87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions text-generation-inference/tests/integration/test_generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ async def test_model_single_request(tgi_service):
seed=42,
)
sample_expectations = {
"gpt2": "A lot of researchers have tried to make",
"llama": "Deep Learning is a subset of Artificial Intelligence",
"mistral": "Deep Learning is a kind of machine learning",
"gpt2": "Deep Learning",
"llama": "Deep Learning",
"mistral": "Deep Learning",
}
assert sample_expectations[service_name] in response

Expand Down

0 comments on commit 7884f87

Please sign in to comment.