KoichiYasuoka's picture
base_model
f70d22e
|
raw
history blame
1.1 kB
metadata
language:
  - en
tags:
  - english
  - token-classification
  - pos
  - dependency-parsing
base_model: FacebookAI/roberta-base
datasets:
  - universal_dependencies
license: cc-by-sa-4.0
pipeline_tag: token-classification

roberta-base-english-upos

Model Description

This is a RoBERTa model pre-trained with UD_English for POS-tagging and dependency-parsing, derived from 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/roberta-base-english-upos")
model=AutoModelForTokenClassification.from_pretrained("KoichiYasuoka/roberta-base-english-upos")

or

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

See Also

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