Instructions to use ljvmiranda921/tl_gliner_small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use ljvmiranda921/tl_gliner_small with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("ljvmiranda921/tl_gliner_small") text = "Cristiano Ronaldo dos Santos Aveiro was born on 5 February 1985 in Funchal, Madeira, Portugal." labels = ["person", "date", "location"] entities = model.predict_entities(text, labels) for entity in entities: print(entity["text"], "=>", entity["label"]) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,7 +8,6 @@ metrics:
|
|
| 8 |
- f1
|
| 9 |
tags:
|
| 10 |
- gliner
|
| 11 |
-
library_name: spacy
|
| 12 |
pipeline_tag: token-classification
|
| 13 |
model-index:
|
| 14 |
- name: tl_gliner_small
|
|
|
|
| 8 |
- f1
|
| 9 |
tags:
|
| 10 |
- gliner
|
|
|
|
| 11 |
pipeline_tag: token-classification
|
| 12 |
model-index:
|
| 13 |
- name: tl_gliner_small
|