QAway-to
commited on
Commit
·
fe256a2
1
Parent(s):
893dddd
New Prompt+Instcrution
Browse filesChange Config: rise temp, low repeat_pen
- core/interviewer.py +1 -1
core/interviewer.py
CHANGED
|
@@ -85,7 +85,7 @@ def generate_question(user_id: str = "default_user", **kwargs) -> str:
|
|
| 85 |
do_sample=True,
|
| 86 |
top_p=0.9,
|
| 87 |
temperature=1.1,
|
| 88 |
-
repetition_penalty=1.
|
| 89 |
max_new_tokens=80,
|
| 90 |
)
|
| 91 |
text = tokenizer.decode(out[0], skip_special_tokens=True)
|
|
|
|
| 85 |
do_sample=True,
|
| 86 |
top_p=0.9,
|
| 87 |
temperature=1.1,
|
| 88 |
+
repetition_penalty=1.5,
|
| 89 |
max_new_tokens=80,
|
| 90 |
)
|
| 91 |
text = tokenizer.decode(out[0], skip_special_tokens=True)
|