For results on downstream tasks like text classification, please refer to this repository.
import torch from transformers import XLNetTokenizer,XLNetModel tokenizer = XLNetTokenizer.from_pretrained("clue/xlnet_chinese_large") xlnet = XLNetModel.from_pretrained("clue/xlnet_chinese_large")
Organization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.
- Downloads last month
Unable to determine this model’s pipeline type. Check the docs .