From b755faf705e2e5302e1788ec2bd1b51e1b84cad8 Mon Sep 17 00:00:00 2001 From: Radames Ajna Date: Sat, 30 Mar 2024 10:25:42 -0700 Subject: [PATCH] move to root level --- packages/inference/test/HfInference.spec.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/inference/test/HfInference.spec.ts b/packages/inference/test/HfInference.spec.ts index 03c6af345..d9b53b5c9 100644 --- a/packages/inference/test/HfInference.spec.ts +++ b/packages/inference/test/HfInference.spec.ts @@ -655,12 +655,10 @@ describe.concurrent( const res = await ep.textGeneration({ model: "tgi", messages: [{ role: "user", content: "Complete the this sentence with words one plus one is equal " }], - parameters: { - max_tokens: 500, - return_full_text: false, - temperature: 0.0, - seed: 0, - }, + max_tokens: 500, + return_full_text: false, + temperature: 0.1, + seed: 0, }); if (res.choices && res.choices.length > 0) { const completion = res.choices[0].message?.content;