Update app.py
Browse files
app.py
CHANGED
|
@@ -54,8 +54,8 @@ iface = gr.Interface(
|
|
| 54 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.9, step=0.1, label="Top-p")
|
| 55 |
],
|
| 56 |
outputs=gr.Textbox(lines=10, label="Generated Text"),
|
| 57 |
-
title="
|
| 58 |
-
description="
|
| 59 |
)
|
| 60 |
|
| 61 |
# Launch the interface
|
|
|
|
| 54 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.9, step=0.1, label="Top-p")
|
| 55 |
],
|
| 56 |
outputs=gr.Textbox(lines=10, label="Generated Text"),
|
| 57 |
+
title="Long context GPT-2 Text Generation",
|
| 58 |
+
description="GPT2 extended context via RoPE scaling (finetuned on longalpac-12k), recommened to give long input rather than output since it zerogpu times out befre completing the generation (token slider = input + output tokens)"
|
| 59 |
)
|
| 60 |
|
| 61 |
# Launch the interface
|