language: | |
- "zh" | |
tags: | |
- "chinese" | |
- "token-classification" | |
- "pos" | |
- "dependency-parsing" | |
base_model: KoichiYasuoka/deberta-base-chinese-upos | |
datasets: | |
- "universal_dependencies" | |
license: "cc-by-sa-4.0" | |
pipeline_tag: "token-classification" | |
# deberta-base-chinese-ud-goeswith | |
## Model Description | |
This is a DeBERTa(V2) model pre-trained on Chinese Wikipedia texts (both simplified and traditional) for POS-tagging and dependency-parsing (using `goeswith` for subwords), derived from [deberta-base-chinese-upos](https://huggingface.co/KoichiYasuoka/deberta-base-chinese-upos). | |
## How to Use | |
```py | |
from transformers import pipeline | |
nlp=pipeline("universal-dependencies","KoichiYasuoka/deberta-base-chinese-ud-goeswith",trust_remote_code=True,aggregation_strategy="simple") | |
print(nlp("我把这本书看完了")) | |
``` | |