Token Classification
GLiNER
PyTorch
ner
named-entity-recognition
zero-shot
pii
privacy
biomedical
multilingual
lfm2.5
bidirectional
sauerkrautlm
vago-solutions
Instructions to use VAGOsolutions/SauerkrautLM-LFM2.5-GLiNER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use VAGOsolutions/SauerkrautLM-LFM2.5-GLiNER with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("VAGOsolutions/SauerkrautLM-LFM2.5-GLiNER") 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 VAGOsolutions/SauerkrautLM-LFM2.5-GLiNER: direct link, hf CLI and curl.
- Browser
- Download file 574 Bytes
-
https://huggingface.co/VAGOsolutions/SauerkrautLM-LFM2.5-GLiNER/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://VAGOsolutions/SauerkrautLM-LFM2.5-GLiNER/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/VAGOsolutions/SauerkrautLM-LFM2.5-GLiNER/resolve/main/tokenizer_config.json
574 Bytes
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<|startoftext|>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|im_end|>", | |
| "extra_special_tokens": [], | |
| "is_local": true, | |
| "legacy": false, | |
| "local_files_only": false, | |
| "mask_token": "<mask>", | |
| "model_input_names": [ | |
| "input_ids", | |
| "attention_mask" | |
| ], | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "<|pad|>", | |
| "sp_model_kwargs": {}, | |
| "spaces_between_special_tokens": false, | |
| "tokenizer_class": "TokenizersBackend", | |
| "use_default_system_prompt": false, | |
| "use_fast": true | |
| } | |