Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ For example, you may want to process text and store the entities in different co
|
|
30 |
task = "ner"
|
31 |
sparse_qa_pipeline = Pipeline.create(
|
32 |
task=task,
|
33 |
-
model_path="zoo:nlp/token_classification/
|
34 |
)
|
35 |
|
36 |
def map_ner(inference):
|
@@ -80,7 +80,7 @@ with gr.Blocks() as demo:
|
|
80 |
with gr.Column():
|
81 |
gr.Markdown("""
|
82 |
### Named Entity Recognition Demo
|
83 |
-
Using [token_classification/
|
84 |
|
85 |
""")
|
86 |
text = gr.Text(label="Text")
|
|
|
30 |
task = "ner"
|
31 |
sparse_qa_pipeline = Pipeline.create(
|
32 |
task=task,
|
33 |
+
model_path="zoo:nlp/token_classification/distilbert-none/pytorch/huggingface/conll2003/pruned80_quant-none-vnni",
|
34 |
)
|
35 |
|
36 |
def map_ner(inference):
|
|
|
80 |
with gr.Column():
|
81 |
gr.Markdown("""
|
82 |
### Named Entity Recognition Demo
|
83 |
+
Using [token_classification/distilbert](https://sparsezoo.neuralmagic.com/models/nlp%2Ftoken_classification%2Fdistilbert-none%2Fpytorch%2Fhuggingface%2Fconll2003%2Fpruned80_quant-none-vnni)
|
84 |
|
85 |
""")
|
86 |
text = gr.Text(label="Text")
|