Instructions to use ai4data/gliner2_datause with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use ai4data/gliner2_datause with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("ai4data/gliner2_datause") # 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: 273 Bytes
b95a043 | 1 2 3 4 5 6 7 8 9 10 11 12 | {
"_attn_implementation_autoset": true,
"counting_layer": "count_lstm",
"max_len": null,
"max_width": 8,
"model_name": "microsoft/deberta-v3-large",
"model_type": "extractor",
"token_pooling": "first",
"transformers_version": "5.13.1",
"use_moe": false
}
|