|
--- |
|
language: |
|
- "ja" |
|
tags: |
|
- "japanese" |
|
- "wikipedia" |
|
- "cc100" |
|
- "oscar" |
|
- "pos" |
|
- "dependency-parsing" |
|
datasets: |
|
- "universal_dependencies" |
|
license: "cc-by-sa-4.0" |
|
pipeline_tag: "token-classification" |
|
--- |
|
|
|
# deberta-base-japanese-juman-ud-goeswith |
|
|
|
## Model Description |
|
|
|
This is a DeBERTa(V2) model pretrained on Japanese Wikipedia, CC-100, and OSCAR texts for POS-tagging and dependency-parsing (using `goeswith` for subwords), derived from [deberta-v2-base-japanese](https://huggingface.co/ku-nlp/deberta-v2-base-japanese). |
|
|
|
## How to Use |
|
|
|
``` |
|
from transformers import pipeline |
|
nlp=pipeline("universal-dependencies","KoichiYasuoka/deberta-base-japanese-juman-ud-goeswith",trust_remote_code=True,aggregation_strategy="simple") |
|
print(nlp("全学年にわたって小学校の国語の教科書に挿し絵が用いられている")) |
|
``` |
|
|
|
[fugashi](https://pypi.org/project/fugashi) is required. |
|
|