Instructions to use EmergentMethods/gliner_small_news-v2.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use EmergentMethods/gliner_small_news-v2.1 with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("EmergentMethods/gliner_small_news-v2.1") 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
File size: 134 Bytes
6b24f19 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a06130735bbee2dd303849e2bf889f2f19093090c469ce6507c7a869b8d4d322
size 610652654
|