Spaces:
Running
on
T4
Running
on
T4
ffreemt
commited on
Commit
·
7ea83b4
1
Parent(s):
d84480c
Update info on top_k=0
Browse files
app.py
CHANGED
@@ -182,8 +182,9 @@ with gr.Blocks(
|
|
182 |
with gr.Accordion("🎈 Info", open=False):
|
183 |
gr.Markdown(
|
184 |
f"""<h5><center>{model_name.lower()}</center></h4>
|
185 |
-
Set `repetition_penalty` to 2.1 or higher for a chatty conversation. Lower it to 1.1 or smaller if more focused anwsers are desired (for example for translations or fact-oriented queries). Smaller `top_k` probably will result in
|
186 |
-
Consult `transformers` documentation for more details.
|
|
|
187 |
|
188 |
Most examples are meant for another model.
|
189 |
You probably should try to test
|
|
|
182 |
with gr.Accordion("🎈 Info", open=False):
|
183 |
gr.Markdown(
|
184 |
f"""<h5><center>{model_name.lower()}</center></h4>
|
185 |
+
Set `repetition_penalty` to 2.1 or higher for a chatty conversation. Lower it to 1.1 or smaller if more focused anwsers are desired (for example for translations or fact-oriented queries). Smaller `top_k` probably will result in smoothier sentences.
|
186 |
+
(`top_k=0` is equivalent to `top_k` equal to very very big though.) Consult `transformers` documentation for more details.
|
187 |
+
|
188 |
|
189 |
Most examples are meant for another model.
|
190 |
You probably should try to test
|