Spaces:
Runtime error
Runtime error
Commit
•
29e079d
1
Parent(s):
f46b405
Update app.py
Browse files
app.py
CHANGED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
title = "GPT-J-6B"
|
2 |
+
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."
|
3 |
+
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>"
|
4 |
+
|
5 |
+
gr.Interface.load(
|
6 |
+
"huggingface/dslim/bert-base-NER",
|
7 |
+
inputs=gr.Textbox(lines=10, label="Input Text"),
|
8 |
+
title=title,
|
9 |
+
description=description,
|
10 |
+
article=article,
|
11 |
+
).launch()
|