Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -264,7 +264,7 @@ def parse_matching_json(text):
|
|
| 264 |
return {
|
| 265 |
"matching_score": 0.0,
|
| 266 |
"improvements": ["Failed to parse model output."],
|
| 267 |
-
"raw_output": text
|
| 268 |
}
|
| 269 |
|
| 270 |
|
|
@@ -288,7 +288,7 @@ def evaluate_question_topic_match(data):
|
|
| 288 |
|
| 289 |
outputs = matching_model.generate(
|
| 290 |
**inputs,
|
| 291 |
-
max_new_tokens=
|
| 292 |
do_sample=False,
|
| 293 |
temperature=0.01,
|
| 294 |
repetition_penalty=1.1,
|
|
|
|
| 264 |
return {
|
| 265 |
"matching_score": 0.0,
|
| 266 |
"improvements": ["Failed to parse model output."],
|
| 267 |
+
"raw_output": text
|
| 268 |
}
|
| 269 |
|
| 270 |
|
|
|
|
| 288 |
|
| 289 |
outputs = matching_model.generate(
|
| 290 |
**inputs,
|
| 291 |
+
max_new_tokens=200,
|
| 292 |
do_sample=False,
|
| 293 |
temperature=0.01,
|
| 294 |
repetition_penalty=1.1,
|