中文

bert-base-russian-upos

Model Description

This is a BERT model pre-trained with UD_Russian for POS-tagging and dependency-parsing, derived from rubert-base-cased . Every word is tagged by UPOS (Universal Part-Of-Speech).

How to Use

from transformers import AutoTokenizer,AutoModelForTokenClassification
tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/bert-base-russian-upos")
model=AutoModelForTokenClassification.from_pretrained("KoichiYasuoka/bert-base-russian-upos")

or

import esupar
nlp=esupar.load("KoichiYasuoka/bert-base-russian-upos")

See Also

esupar : Tokenizer POS-tagger and Dependency-parser with BERT/RoBERTa/DeBERTa models