Downloads · 30 days
23
26% of all-time downloads
KoichiYasuoka/modernbert-small-classical-chinese-ud-square
modernbert-small-classical-chinese-ud-square is a token classification model from KoichiYasuoka. Use it when you need labels on individual words, such as names. The card lists the license as apache-2.0.
This is a ModernBERT model pretrained on Classical Chinese texts for POS-tagging and dependency-parsing (using goeswith for subwords), derived from modernbert-small-classical-chinese and UDClassicalChinese-Kyoto.
Downloads · 30 days
23
26% of all-time downloads
All-time downloads
87
Public
Repo size
163 MB
Likes
0
Public
Click a slice to open those files.
.bin81.8 MB · 99%
From the Hugging Face model README
This is a ModernBERT model pretrained on Classical Chinese texts for POS-tagging and dependency-parsing (using goeswith for subwords), derived from modernbert-small-classical-chinese and UD_Classical_Chinese-Kyoto.
from transformers import pipeline
nlp=pipeline("universal-dependencies","KoichiYasuoka/modernbert-small-classical-chinese-ud-square",trust_remote_code=True,aggregation_strategy="simple")
print(nlp("孟子見梁惠王"))