language: | |
- "ja" | |
tags: | |
- "japanese" | |
- "pos" | |
- "dependency-parsing" | |
base_model: KoichiYasuoka/roberta-large-japanese-aozora | |
datasets: | |
- "universal_dependencies" | |
license: "cc-by-sa-4.0" | |
pipeline_tag: "token-classification" | |
widget: | |
- text: "全学年にわたって小学校の国語の教科書に挿し絵が用いられている" | |
# roberta-large-japanese-aozora-ud-goeswith | |
## Model Description | |
This is a RoBERTa model pretrained on 青空文庫 texts for POS-tagging and dependency-parsing (using `goeswith` for subwords), derived from [roberta-large-japanese-aozora](https://huggingface.co/KoichiYasuoka/roberta-large-japanese-aozora) and [UD_Japanese-GSDLUW](https://github.com/UniversalDependencies/UD_Japanese-GSDLUW). | |
## How to Use | |
```py | |
from transformers import pipeline | |
nlp=pipeline("universal-dependencies","KoichiYasuoka/roberta-large-japanese-aozora-ud-goeswith",trust_remote_code=True,aggregation_strategy="simple") | |
print(nlp("全学年にわたって小学校の国語の教科書に挿し絵が用いられている")) | |
``` | |