This repository contains the pretrained checkpoint of the model
BanglaT5
. This is a sequence to sequence transformer model pretrained with the
"Span Corruption"
objective. Finetuned models using this checkpoint achieve state-of-the-art results on many of the NLG tasks in bengali.
For finetuning on different downstream tasks such as
Machine Translation
,
Abstractive Text Summarization
,
Question Answering
etc., refer to the scripts in the official GitHub
repository
.
Note
: This model was pretrained using a specific normalization pipeline available
here
. All finetuning scripts in the official GitHub repository use this normalization by default. If you need to adapt the pretrained model for a different task make sure the text units are normalized using this pipeline before tokenizing to get best results. A basic example is given below:
Using this model in
transformers
(tested on 4.11.0.dev0)
If you use this model, please cite the following paper:
@article{bhattacharjee2022banglanlg,
author = {Abhik Bhattacharjee and Tahmid Hasan and Wasi Uddin Ahmad and Rifat Shahriyar},
title = {BanglaNLG: Benchmarks and Resources for Evaluating Low-Resource Natural Language Generation in Bangla},
journal = {CoRR},
volume = {abs/2205.11081},
year = {2022},
url = {https://arxiv.org/abs/2205.11081},
eprinttype = {arXiv},
eprint = {2205.11081}
}
If you use the normalization module, please cite the following paper:
@inproceedings{hasan-etal-2020-low,
title = "Not Low-Resource Anymore: Aligner Ensembling, Batch Filtering, and New Datasets for {B}engali-{E}nglish Machine Translation",
author = "Hasan, Tahmid and
Bhattacharjee, Abhik and
Samin, Kazi and
Hasan, Masum and
Basak, Madhusudan and
Rahman, M. Sohel and
Shahriyar, Rifat",
booktitle = "Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)",
month = nov,
year = "2020",
address = "Online",
publisher = "Association for Computational Linguistics",
url = "https://www.aclweb.org/anthology/2020.emnlp-main.207",
doi = "10.18653/v1/2020.emnlp-main.207",
pages = "2612--2623",
abstract = "Despite being the seventh most widely spoken language in the world, Bengali has received much less attention in machine translation literature due to being low in resources. Most publicly available parallel corpora for Bengali are not large enough; and have rather poor quality, mostly because of incorrect sentence alignments resulting from erroneous sentence segmentation, and also because of a high volume of noise present in them. In this work, we build a customized sentence segmenter for Bengali and propose two novel methods for parallel corpus creation on low-resource setups: aligner ensembling and batch filtering. With the segmenter and the two methods combined, we compile a high-quality Bengali-English parallel corpus comprising of 2.75 million sentence pairs, more than 2 million of which were not available before. Training on neural models, we achieve an improvement of more than 9 BLEU score over previous approaches to Bengali-English machine translation. We also evaluate on a new test set of 1000 pairs made with extensive quality control. We release the segmenter, parallel corpus, and the evaluation set, thus elevating Bengali from its low-resource status. To the best of our knowledge, this is the first ever large scale study on Bengali-English machine translation. We believe our study will pave the way for future research on Bengali-English machine translation as well as other low-resource languages. Our data and code are available at https://github.com/csebuetnlp/banglanmt.",
}
Runs of csebuetnlp banglat5 on huggingface.co
6.2K
Total runs
-77
24-hour runs
-371
3-day runs
-524
7-day runs
-6.0K
30-day runs
More Information About banglat5 huggingface.co Model
banglat5 huggingface.co
banglat5 huggingface.co is an AI model on huggingface.co that provides banglat5's model effect (), which can be used instantly with this csebuetnlp banglat5 model. huggingface.co supports a free trial of the banglat5 model, and also provides paid use of the banglat5. Support call banglat5 model through api, including Node.js, Python, http.
banglat5 huggingface.co is an online trial and call api platform, which integrates banglat5's modeling effects, including api services, and provides a free online trial of banglat5, you can try banglat5 online for free by clicking the link below.
csebuetnlp banglat5 online free url in huggingface.co:
banglat5 is an open source model from GitHub that offers a free installation service, and any user can find banglat5 on GitHub to install. At the same time, huggingface.co provides the effect of banglat5 install, users can directly use banglat5 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.