Downloads · 30 days
113
1% of all-time downloads
KoichiYasuoka/xlm-roberta-base-english-upos
xlm-roberta-base-english-upos is a token classification model from KoichiYasuoka. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as cc-by-sa-4.0.
This is an XLM-RoBERTa model pre-trained with UDEnglish-EWT for POS-tagging and dependency-parsing, derived from xlm-roberta-base. Every word is tagged by UPOS (Universal Part-Of-Speech).
Downloads · 30 days
113
1% of all-time downloads
All-time downloads
11.5K
Public
Repo size
4.6 GB
Likes
2
Public
Click a slice to open those files.
.model1.2 GB · 51%
From the Hugging Face model README
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).
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")
esupar: Tokenizer POS-tagger and Dependency-parser with BERT/RoBERTa/DeBERTa models