archit11 commited on
Commit
25c37c6
1 Parent(s): 03dd010

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="Custom GPT-2 Text Generation",
58
- description="Enter a prompt to generate text using the custom-trained GPT-2 model."
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