Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
5a13fe2
1
Parent(s):
920b32a
Update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,6 @@ title = "GPT-J-6B"
|
|
3 |
description = "Gradio Demo for GPT-J 6B, a transformer model trained using Ben Wang's Mesh Transformer JAX. 'GPT-J' refers to the class of model, while '6B' represents the number of trainable parameters. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
|
4 |
article = "<p style='text-align: center'><a href='https://github.com/kingoflolz/mesh-transformer-jax' target='_blank'>GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model</a></p>"
|
5 |
examples = [
|
6 |
-
[
|
7 |
-
["The Moon's orbit around Earth has"],
|
8 |
-
["The smooth Borealis basin in the Northern Hemisphere covers 40%"]
|
9 |
]
|
10 |
-
gr.Interface.load("huggingface/facebook/bart-large-mnli",
|
|
|
3 |
description = "Gradio Demo for GPT-J 6B, a transformer model trained using Ben Wang's Mesh Transformer JAX. 'GPT-J' refers to the class of model, while '6B' represents the number of trainable parameters. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
|
4 |
article = "<p style='text-align: center'><a href='https://github.com/kingoflolz/mesh-transformer-jax' target='_blank'>GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model</a></p>"
|
5 |
examples = [
|
6 |
+
["I have a problem with my iphone that needs to be resolved asap!!","urgent, not urgent, phone, tablet, computer"]
|
|
|
|
|
7 |
]
|
8 |
+
gr.Interface.load("huggingface/facebook/bart-large-mnli",title=title,description=description,article=article, examples=examples,enable_queue=True).launch()
|