RashiAgarwal
commited on
Commit
•
916d151
1
Parent(s):
6d91716
Update app.py
Browse files
app.py
CHANGED
@@ -86,6 +86,5 @@ INTERFACE = gr.Interface(fn=nanogpt, inputs=[gr.Textbox(label= "Prompt", value=
|
|
86 |
gr.Slider(minimum = 300, maximum = 500, value= 300, label= "Maximum number of tokens to be generated")] ,
|
87 |
outputs=gr.Text(label= "Generated Text"), title="NanoGPT",
|
88 |
description="NanoGPT is a transformer-based language model with only 10.65 million parameters, trained on a small dataset of Shakespeare work (size: 1MB only). It is trained with character level tokenization with a simple objective: predict the next char, given all of the previous chars within a text.",
|
89 |
-
examples = [['We know what we are, but know not what we may be',300],
|
90 |
-
['Sweet are the uses of adversity which, like the toad, ugly and venomous, wears yet a precious jewel in his head',300],]
|
91 |
).launch(debug=True)
|
|
|
86 |
gr.Slider(minimum = 300, maximum = 500, value= 300, label= "Maximum number of tokens to be generated")] ,
|
87 |
outputs=gr.Text(label= "Generated Text"), title="NanoGPT",
|
88 |
description="NanoGPT is a transformer-based language model with only 10.65 million parameters, trained on a small dataset of Shakespeare work (size: 1MB only). It is trained with character level tokenization with a simple objective: predict the next char, given all of the previous chars within a text.",
|
89 |
+
examples = [['We know what we are, but know not what we may be',300],]
|
|
|
90 |
).launch(debug=True)
|