Edit model card

xlm-roberta-base-english-upos

Model Description

This is an XLM-RoBERTa model pre-trained with UD_English-EWT for POS-tagging and dependency-parsing, derived from xlm-roberta-base. Every word is tagged by UPOS (Universal Part-Of-Speech).

How to Use

from transformers import AutoTokenizer,AutoModelForTokenClassification
tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/xlm-roberta-base-english-upos")
model=AutoModelForTokenClassification.from_pretrained("KoichiYasuoka/xlm-roberta-base-english-upos")

or

import esupar
nlp=esupar.load("KoichiYasuoka/xlm-roberta-base-english-upos")

See Also

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

Downloads last month
5

Dataset used to train KoichiYasuoka/xlm-roberta-base-english-upos