RoBERTa for Chinese is a Chinese RoBERTa pretrained model repository for language understanding tasks. It provides TensorFlow and PyTorch-compatible model releases trained on large-scale Chinese text. The project follows the main RoBERTa training ideas, including removing next sentence prediction, using more diverse data, training longer, increasing batch size, and tuning optimization settings. Its training data includes news, community discussion, encyclopedia content, and other broad Chinese text sources. The repository also describes whole word masking for Chinese and provides examples for loading and fine-tuning models on sentence-pair matching tasks. Overall, it is a useful pretrained model resource for developers who want stronger Chinese BERT-style representations for classification, matching, reading comprehension, and related NLP tasks.
Features
- Chinese RoBERTa pretrained model releases
- TensorFlow and PyTorch model options
- RoBERTa-style training without next sentence prediction
- Large-scale Chinese training data coverage
- Chinese whole word masking support
- Fine-tuning examples for sentence-pair matching tasks