Downloads · 30 days
182
20% of all-time downloads
chronopt-research/vietnamese-gpt2-base
vietnamese-gpt2-base is a text generation model from chronopt-research. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This is a pretrained gpt2-base for Vietnamese language using casual language modeling (CLM) objective. It was introduced in this paper and first released at this page.
Downloads · 30 days
182
20% of all-time downloads
All-time downloads
933
Public
Repo size
1.5 GB
Likes
1
Public
Click a slice to open those files.
.bin498 MB · 49%
From the Hugging Face model README
gpt2-baseThis is a pretrained gpt2-base for Vietnamese language using casual language modeling (CLM) objective. It was introduced in
this paper
and first released at this page.
GPT-2 (at first) is a transformers model pretrained on a very large corpus of English data in a self-supervised fashion. This means it was pretrained on the raw texts only, with no humans labelling them in any way (which is why it can use lots of publicly available data) with an automatic process to generate inputs and labels from those texts. More precisely, it was trained to guess the next word in sentences.
This is the base version of GPT-2, with 137M parameters.
You could've found other pretrained version from here: gpt2-medium, gpt2-large
This is a combination of multiple Vietnamese dataset for pretraining CLMs such as GPT, GPT2, etc.
The dataset consists of:
vietgpt/covid_19_news_vihieunguyen1053/binhvq-news-corpusoscar (unshuffled_deduplicated_vi)vietgpt/wikipedia_viYou can find out the combined version here: duongttr/vi-dataset-for-pretrain
We trained the model ~100k steps, with lr=1e-4, bs=2560 (single_batch_size=32 * num_core=8 * grad_cum=10), optimizer=adamw on TPU-VM-3.8 from TRC Program. The training costs around 1 day.
| Model | Eval Loss | Eval Perplexity |
|---|---|---|
| gpt2-base | 3.939 | 51.35 |
| gpt2-medium | 2.8676 | 17.5948 |
| gpt2-large | - | - |
Feel free to contact us via: email