Instructions to use VK1402/AADHAAR_Extractor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use VK1402/AADHAAR_Extractor with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("VK1402/AADHAAR_Extractor") 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: 254 Bytes
7059e83 | 1 2 3 4 5 6 7 8 9 10 11 | {
"_attn_implementation_autoset": true,
"counting_layer": "count_lstm_v2",
"max_len": null,
"max_width": 8,
"model_name": "microsoft/deberta-v3-base",
"model_type": "extractor",
"token_pooling": "first",
"transformers_version": "5.0.0"
}
|