codemurt's picture
Update README.md
1fe6bba verified
metadata
library_name: transformers
tags: []

Zerpal-mBERT-pos-tagger

How to use

You can use this model directly with a pipeline for NER:

from transformers import pipeline

text = "Яратон, яратон, мар меда сыӵе тон?"
classifier = pipeline("ner", model="udmurtNLP/zerpal-mbert-pos-tagger", tokenizer="udmurtNLP/zerpal-mbert-tokenizer", grouped_entities=True)
result = classifier(text)