Instructions to use urchade/gliner_multi-v2.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use urchade/gliner_multi-v2.1 with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("urchade/gliner_multi-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
Steps/Epochs?
#3
by vbaswal - opened
I am looking to fine tune the gliner_multi_pii_v1 on a NER dataset containing 50K samples with 16 different entities each occurring ~ 17k times across the whole dataset. This dataset is balanced for 16 diff entities. I want to know the range in terms of epoch or steps for the model to perform decently.
For how many steps/epochs the gliner_multi_pii_v1 was trained?
I am also looking to use the generalised capability of the model for my non-primary use-cases for which I am not doing the training and will use the model off-the-shelf.