julien-c HF staff commited on
Commit
f3b3caf
1 Parent(s): 295a972

Migrate model card from transformers-repo

Browse files

Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755
Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/clue/xlnet_chinese_large/README.md

Files changed (1) hide show
  1. README.md +33 -0
README.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: zh
3
+ ---
4
+
5
+ ## xlnet_chinese_large
6
+
7
+ ### Overview
8
+
9
+ **Language model:** xlnet-large
10
+ **Model size:** 1.3G
11
+ **Language:** Chinese
12
+ **Training data:** [CLUECorpusSmall](https://github.com/CLUEbenchmark/CLUECorpus2020)
13
+ **Eval data:** [CLUE dataset](https://github.com/CLUEbenchmark/CLUE)
14
+
15
+ ### Results
16
+
17
+ For results on downstream tasks like text classification, please refer to [this repository](https://github.com/CLUEbenchmark/CLUE).
18
+
19
+ ### Usage
20
+
21
+ ```
22
+ import torch
23
+ from transformers import XLNetTokenizer,XLNetModel
24
+ tokenizer = XLNetTokenizer.from_pretrained("clue/xlnet_chinese_large")
25
+ xlnet = XLNetModel.from_pretrained("clue/xlnet_chinese_large")
26
+ ```
27
+
28
+ ### About CLUE benchmark
29
+
30
+ Organization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.
31
+
32
+ Github: https://github.com/CLUEbenchmark
33
+ Website: https://www.cluebenchmarks.com/