Back to all models

Unable to determine this model’s pipeline type. Check the docs .

Monthly model downloads

clue/xlnet_chinese_large clue/xlnet_chinese_large
189 downloads
last 30 days

pytorch

tf

Contributed by

CLUE benchmark non-profit
1 team member · 11 models

How to use this model directly from the 🤗/transformers library:

			
Copy to clipboard
from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("clue/xlnet_chinese_large") model = AutoModel.from_pretrained("clue/xlnet_chinese_large")

xlnet_chinese_large

Overview

Language model: xlnet-large Model size: 1.3G Language: Chinese Training data: CLUECorpusSmall Eval data: CLUE dataset

Results

For results on downstream tasks like text classification, please refer to this repository.

Usage

import torch
from transformers import XLNetTokenizer,XLNetModel
tokenizer = XLNetTokenizer.from_pretrained("clue/xlnet_chinese_large")
xlnet = XLNetModel.from_pretrained("clue/xlnet_chinese_large")

About CLUE benchmark

Organization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.

Github: https://github.com/CLUEbenchmark Website: https://www.cluebenchmarks.com/