中文

roberta-large-english-upos

Model Description

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

How to Use

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

or

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

See Also

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