Token Classification
Transformers
Safetensors
Serbian
electra
NER
Serbian language
Named Entity Recognition
Legal
NLP
BERT
Legal documents
Court ruling
Instructions to use kalusev/NER4Legal_SRB with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kalusev/NER4Legal_SRB with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="kalusev/NER4Legal_SRB")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("kalusev/NER4Legal_SRB") model = AutoModelForTokenClassification.from_pretrained("kalusev/NER4Legal_SRB", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from kalusev/NER4Legal_SRB: direct link, hf CLI and curl.
- Browser
- Download file 734 kB
-
https://huggingface.co/kalusev/NER4Legal_SRB/resolve/main/tokenizer.json
- Command line
-
hf download hf://kalusev/NER4Legal_SRB/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/kalusev/NER4Legal_SRB/resolve/main/tokenizer.json
734 kB
File too large to display, you can check the raw version instead.