Instructions to use Utk113Raj/gliner_large_deployable with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use Utk113Raj/gliner_large_deployable with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("Utk113Raj/gliner_large_deployable") 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
Download gliner_config.json from Utk113Raj/gliner_large_deployable: direct link, hf CLI and curl.
- Browser
- Download file 704 Bytes
-
https://huggingface.co/Utk113Raj/gliner_large_deployable/resolve/main/gliner_config.json
- Command line
-
hf download hf://Utk113Raj/gliner_large_deployable/gliner_config.json
-
curl -L -o gliner_config.json https://huggingface.co/Utk113Raj/gliner_large_deployable/resolve/main/gliner_config.json
704 Bytes
| { | |
| "class_token_index": 128001, | |
| "dropout": 0.4, | |
| "encoder_config": null, | |
| "ent_token": "<<ENT>>", | |
| "fine_tune": true, | |
| "has_rnn": true, | |
| "hidden_size": 768, | |
| "label_smoothing": 0.0, | |
| "loss_alpha": 0.8, | |
| "loss_gamma": 0, | |
| "loss_reduction": "sum", | |
| "max_len": 768, | |
| "max_neg_type_ratio": 1, | |
| "max_types": 30, | |
| "max_width": 12, | |
| "model_name": "microsoft/deberta-v3-large", | |
| "model_type": "gliner", | |
| "name": "span level gliner", | |
| "random_drop": true, | |
| "sep_token": "<<SEP>>", | |
| "shuffle_types": true, | |
| "span_mode": "markerV0", | |
| "subtoken_pooling": "first", | |
| "transformers_version": "4.40.2", | |
| "vocab_size": 128003, | |
| "words_splitter_type": "whitespace" | |
| } | |