roberta-classical-chinese-base-char
Model Description
This is a RoBERTa model pre-trained on Classical Chinese texts, derived from GuwenBERT-base. Character-embeddings are enhanced into traditional/simplified characters. You can fine-tune roberta-classical-chinese-base-char
for downstream tasks, such as sentence-segmentation, POS-tagging, dependency-parsing, and so on.
How to Use
from transformers import AutoTokenizer,AutoModelForMaskedLM
tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/roberta-classical-chinese-base-char")
model=AutoModelForMaskedLM.from_pretrained("KoichiYasuoka/roberta-classical-chinese-base-char")
See Also
SuPar-Kanbun: Tokenizer POS-tagger and Dependency-parser for Classical Chinese
- Downloads last month
- 308
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.