File size: 943 Bytes
6d64613 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
---
language:
- "lzh"
tags:
- "classical chinese"
- "literary chinese"
- "ancient chinese"
- "token-classification"
- "pos"
- "dependency-parsing"
datasets:
- "universal_dependencies"
license: "apache-2.0"
pipeline_tag: "token-classification"
widget:
- text: "子曰學而時習之不亦説乎有朋自遠方來不亦樂乎人不知而不慍不亦君子乎"
---
# Xunzi-Qwen2-7B-upos
## Model Description
This is a Qwen2 model pre-trained on Classical Chinese texts for POS-tagging, derived from [Xunzi-Qwen2-7B](https://www.modelscope.cn/models/Xunzillm4cc/Xunzi-Qwen2-7B). Every word is tagged by [UPOS](https://universaldependencies.org/u/pos/) (Universal Part-Of-Speech) and [FEATS](https://universaldependencies.org/u/feat/).
## How to Use
```py
from transformers import pipeline
nlp=pipeline("upos","KoichiYasuoka/Xunzi-Qwen2-7B-upos",trust_remote_code=True,aggregation_strategy="simple")
print(nlp("不入虎穴不得虎子"))
```
|