Peng-YNU / Guyu

pre-training and fine-tuning framework for text generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Guyu (谷雨)

pre-training and fine-tuning framework for text generation

Pre-training:

./prepare_data.sh
./train.sh
./inference.sh

Fine-tuning

Example: chat-bot

cd chat_bot
./fine_tune.sh
./inference.sh

Web Api:

./deploy.sh

Pre-trained models

  • 12-layer, 768-hidden, 12-heads, Chinese (News + zhwiki, 200G) and English (Gigawords + Bookscorpus + enwiki, 60G)

  • 24-layer, 768-hidden, 12-heads, Chinese (News + zhwiki, 200G) and English (Gigawords + Bookscorpus + enwiki, 60G)

References:

About

pre-training and fine-tuning framework for text generation


Languages

Language:Python 96.3%Language:Shell 3.7%