Based on mT5-small, we implement its Chinese version. In order to accelerate training, we only retrain the vocabulary and embedding corresponding to Chinese and English in T5tokenizer (sentence piece), and Corpus-Adaptive Pre-Training (CAPT) on the WuDao Corpora (180 GB version). The pretraining objective is span corruption. Specifically, we use the
fengshen framework
in the pre-training phase which cost about 24 hours with 8 A100 GPUs.
使用 Usage
from transformers import T5ForConditionalGeneration, AutoTokenizer
import torch
tokenizer=AutoTokenizer.from_pretrained('IDEA-CCNL/Randeng-T5-77M', use_fast=false)
model=T5ForConditionalGeneration.from_pretrained('IDEA-CCNL/Randeng-T5-77M')
If you are using the resource for your work, please cite the our
paper
:
@article{fengshenbang,
author = {Jiaxing Zhang and Ruyi Gan and Junjie Wang and Yuxiang Zhang and Lin Zhang and Ping Yang and Xinyu Gao and Ziwei Wu and Xiaoqun Dong and Junqing He and Jianheng Zhuo and Qi Yang and Yongfeng Huang and Xiayu Li and Yanghan Wu and Junyu Lu and Xinyu Zhu and Weifeng Chen and Ting Han and Kunhao Pan and Rui Wang and Hao Wang and Xiaojun Wu and Zhongshen Zeng and Chongpei Chen},
title = {Fengshenbang 1.0: Being the Foundation of Chinese Cognitive Intelligence},
journal = {CoRR},
volume = {abs/2209.02970},
year = {2022}
}
Randeng-T5-77M huggingface.co is an AI model on huggingface.co that provides Randeng-T5-77M's model effect (), which can be used instantly with this IDEA-CCNL Randeng-T5-77M model. huggingface.co supports a free trial of the Randeng-T5-77M model, and also provides paid use of the Randeng-T5-77M. Support call Randeng-T5-77M model through api, including Node.js, Python, http.
Randeng-T5-77M huggingface.co is an online trial and call api platform, which integrates Randeng-T5-77M's modeling effects, including api services, and provides a free online trial of Randeng-T5-77M, you can try Randeng-T5-77M online for free by clicking the link below.
IDEA-CCNL Randeng-T5-77M online free url in huggingface.co:
Randeng-T5-77M is an open source model from GitHub that offers a free installation service, and any user can find Randeng-T5-77M on GitHub to install. At the same time, huggingface.co provides the effect of Randeng-T5-77M install, users can directly use Randeng-T5-77M installed effect in huggingface.co for debugging and trial. It also supports api for free installation.