roygan commited on
Commit
064ad4f
1 Parent(s): 1796a3d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +33 -0
README.md CHANGED
@@ -1,3 +1,36 @@
1
  ---
 
 
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - zh
4
  license: apache-2.0
5
+
6
+ tags:
7
+ - T5
8
+ - chinese
9
+ - sentencepiece
10
+
11
+ inference: true
12
+
13
+ widget:
14
+ - text: "北京有悠久的 <extra_id_0>和 <extra_id_1>。"
15
+ - type: "text-generation"
16
+
17
  ---
18
+ # Randeng-T5-784M, one model of [Fengshenbang-LM](https://github.com/IDEA-CCNL/Fengshenbang-LM).
19
+ Based on mt5-large, Randeng-T5-784M only retains the vocabulary and embedding corresponding to Chinese and English, and continues to train on the basis of 180G Chinese general pre-training corpus. The pretrain target is span corruption. We pretrain the model based on our [fengshen framework](https://github.com/IDEA-CCNL/Fengshenbang-LM/tree/main/fengshen), use 16 * A100 for 98 hours.
20
+ ## Usage
21
+ ```python
22
+ from transformers import T5ForConditionalGeneration, AutoTokenizer
23
+ import torch
24
+ tokenizer=AutoTokenizer.from_pretrained('IDEA-CCNL/Randeng-T5-784M', use_fast=false)
25
+ model=T5ForConditionalGeneration.from_pretrained('IDEA-CCNL/Randeng-T5-784M')
26
+ ```
27
+ ## Citation
28
+ If you find the resource is useful, please cite the following website in your paper.
29
+ ```
30
+ @misc{Fengshenbang-LM,
31
+ title={Fengshenbang-LM},
32
+ author={IDEA-CCNL},
33
+ year={2022},
34
+ howpublished={\url{https://github.com/IDEA-CCNL/Fengshenbang-LM}},
35
+ }
36
+ ```