Spaces:
Running
Running
donbr
commited on
Commit
·
3a8258b
1
Parent(s):
ae297fe
update markdown
Browse files
app.py
CHANGED
@@ -64,9 +64,22 @@ default_text, default_labels, default_threshold, default_nested = common_example
|
|
64 |
# Build the combined Gradio app with three tabs
|
65 |
with gr.Blocks(title="GLiNER NER Testbed") as demo:
|
66 |
gr.Markdown("# GLiNER NER Testbed")
|
67 |
-
with gr.Accordion("
|
68 |
gr.Markdown(
|
69 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
**GLiNER** is a state-of-the-art Named Entity Recognition (NER) system that leverages a BERT-like bidirectional transformer encoder to identify a wide range of entity types in text. Unlike conventional NER models that are restricted to fixed entity categories, GLiNER supports flexible, zero-shot extraction, making it ideal for diverse real-world applications. It also provides a resource-efficient alternative to large language models (LLMs) for scenarios where cost and speed are critical. Distributed under the Apache 2.0 license, GLiNER is commercially friendly and readily deployable.
|
71 |
|
72 |
**Useful Links**
|
|
|
64 |
# Build the combined Gradio app with three tabs
|
65 |
with gr.Blocks(title="GLiNER NER Testbed") as demo:
|
66 |
gr.Markdown("# GLiNER NER Testbed")
|
67 |
+
with gr.Accordion("This interface allows you to compare different zero-shot Named Entity Recognition models...", open=True):
|
68 |
gr.Markdown(
|
69 |
+
"""
|
70 |
+
## Models Available:
|
71 |
+
- **GLiNER Medium v2.1**: The original GLiNER medium model
|
72 |
+
- **GLiNER Multi PII**: Fine-tuned for detecting personally identifiable information across multiple languages
|
73 |
+
- **NuNER Zero**: A specialized token-based NER model
|
74 |
+
|
75 |
+
## Features:
|
76 |
+
- Select different models
|
77 |
+
- Select examples based on different use cases
|
78 |
+
- Toggle nested entity recognition
|
79 |
+
- Entity merging is currently enabled for NuNER Zero only
|
80 |
+
|
81 |
+
## About GLiNER:
|
82 |
+
|
83 |
**GLiNER** is a state-of-the-art Named Entity Recognition (NER) system that leverages a BERT-like bidirectional transformer encoder to identify a wide range of entity types in text. Unlike conventional NER models that are restricted to fixed entity categories, GLiNER supports flexible, zero-shot extraction, making it ideal for diverse real-world applications. It also provides a resource-efficient alternative to large language models (LLMs) for scenarios where cost and speed are critical. Distributed under the Apache 2.0 license, GLiNER is commercially friendly and readily deployable.
|
84 |
|
85 |
**Useful Links**
|