debug fix
Browse files
metric.py
CHANGED
@@ -61,7 +61,7 @@ def heading(text: str) -> str:
|
|
61 |
def chat_llm_batch(model_id, prompts, limit= 20):
|
62 |
parameters = TextGenerationParameters(
|
63 |
# decoding_method=DecodingMethod.SAMPLE, max_new_tokens=128, min_new_tokens=30, temperature=0, top_k=50, top_p=1, random_seed=42
|
64 |
-
decoding_method=DecodingMethod.GREEDY, max_new_tokens=128, min_new_tokens=
|
65 |
)
|
66 |
client = Client(credentials=Credentials.from_env())
|
67 |
response_list = []
|
|
|
61 |
def chat_llm_batch(model_id, prompts, limit= 20):
|
62 |
parameters = TextGenerationParameters(
|
63 |
# decoding_method=DecodingMethod.SAMPLE, max_new_tokens=128, min_new_tokens=30, temperature=0, top_k=50, top_p=1, random_seed=42
|
64 |
+
decoding_method=DecodingMethod.GREEDY, max_new_tokens=128, min_new_tokens=0, temperature=0, top_k=50, top_p=0, random_seed=42
|
65 |
)
|
66 |
client = Client(credentials=Credentials.from_env())
|
67 |
response_list = []
|