roberta-classical-chinese-large-char

Model Description

This is a RoBERTa model pre-trained on Classical Chinese texts, derived from GuwenBERT-large. Character-embeddings are enhanced into traditional/simplified characters. You can fine-tune roberta-classical-chinese-large-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-large-char")
model=AutoModelForMaskedLM.from_pretrained("KoichiYasuoka/roberta-classical-chinese-large-char")

See Also

SuPar-Kanbun: Tokenizer POS-tagger and Dependency-parser for Classical Chinese

New

Select AutoNLP in the “Train” menu to fine-tune this model automatically.

Downloads last month
318
Hosted inference API
Fill-Mask
Mask token: [MASK]
This model can be loaded on the Inference API on-demand.