metadata
language:
- en
tags:
- english
- token-classification
- pos
- dependency-parsing
base_model: FacebookAI/xlm-roberta-base
datasets:
- universal_dependencies
license: cc-by-sa-4.0
pipeline_tag: token-classification
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