How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("token-classification", model="Andrija/M-bert-NER")
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification

tokenizer = AutoTokenizer.from_pretrained("Andrija/M-bert-NER")
model = AutoModelForTokenClassification.from_pretrained("Andrija/M-bert-NER")
Quick Links

Named Entity Recognition (Token Classification Head) for Serbian / Croatian languges.

Abbreviation Description
O Outside of a named entity
B-MIS Beginning of a miscellaneous entity right after another miscellaneous entity
I-MIS Miscellaneous entity
B-PER Beginning of a person's name right after another person's name
B-DERIV-PER Begginning derivative that describes relation to a person
I-PER Person's name
B-ORG Beginning of an organization right after another organization
I-ORG organization
B-LOC Beginning of a location right after another location
I-LOC Location
Downloads last month
15
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support