Xunzi-Qwen2-7B-upos / README.md
KoichiYasuoka's picture
initial release
6d64613
metadata
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. Every word is tagged by UPOS (Universal Part-Of-Speech) and FEATS.

How to Use

from transformers import pipeline
nlp=pipeline("upos","KoichiYasuoka/Xunzi-Qwen2-7B-upos",trust_remote_code=True,aggregation_strategy="simple")
print(nlp("不入虎穴不得虎子"))