Instructions to use Mbiot/gliner-custom with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use Mbiot/gliner-custom with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("Mbiot/gliner-custom") 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
Manu Biot commited on
Commit ·
6f0d3f3
1
Parent(s): c308859
Add requirements.txt for endpoint dependencies
Browse files- requirements.txt +1 -1
requirements.txt
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
gliner
|
|
|
|
| 1 |
+
git+https://github.com/emergentmethods/gliner.git
|