Instructions to use rafmacalaba/gliner_datause with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use rafmacalaba/gliner_datause with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("rafmacalaba/gliner_datause") 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 tokenizer_config.json from rafmacalaba/gliner_datause: direct link, hf CLI and curl.
- Browser
- Download file 642 Bytes
-
https://huggingface.co/rafmacalaba/gliner_datause/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://rafmacalaba/gliner_datause/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/rafmacalaba/gliner_datause/resolve/main/tokenizer_config.json
642 Bytes
| { | |
| "add_prefix_space": true, | |
| "backend": "tokenizers", | |
| "bos_token": "[CLS]", | |
| "cls_token": "[CLS]", | |
| "do_lower_case": false, | |
| "eos_token": "[SEP]", | |
| "extra_special_tokens": [ | |
| "[PAD]", | |
| "[CLS]", | |
| "[SEP]" | |
| ], | |
| "is_local": true, | |
| "local_files_only": false, | |
| "mask_token": "[MASK]", | |
| "max_length": null, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_to_multiple_of": null, | |
| "pad_token": "[PAD]", | |
| "pad_token_type_id": 0, | |
| "padding_side": "right", | |
| "sep_token": "[SEP]", | |
| "split_by_punct": false, | |
| "tokenizer_class": "DebertaV2Tokenizer", | |
| "unk_id": 3, | |
| "unk_token": "[UNK]", | |
| "vocab_type": "spm" | |
| } | |