Instructions to use mircq/GLINER-INT8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use mircq/GLINER-INT8 with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("mircq/GLINER-INT8") 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"]) - GLiNER2
How to use mircq/GLINER-INT8 with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("mircq/GLINER-INT8") # Extract entities text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday." result = extractor.extract_entities(text, ["company", "person", "product", "location"]) print(result) - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
29cd9ec | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a1c7ccb287623cccb7c03150953b6d2a09dd95122933393c9151c3a60095c97e
size 16337353
|