Spaces:
Runtime error
Runtime error
abdulmatinomotoso
commited on
Commit
•
5bc90fa
1
Parent(s):
29e079d
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,5 @@
|
|
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()
|
|
|
|
|
|
|
|
|
1 |
|
2 |
gr.Interface.load(
|
3 |
"huggingface/dslim/bert-base-NER",
|
4 |
inputs=gr.Textbox(lines=10, label="Input Text"),
|
|
|
|
|
|
|
5 |
).launch()
|