Transformers
PyTorch
TensorFlow
Safetensors
Divehi
t5
text2text-generation
text-generation-inference
Instructions to use monsoon-nlp/byt5-base-dv with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use monsoon-nlp/byt5-base-dv with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("monsoon-nlp/byt5-base-dv") model = AutoModelForSeq2SeqLM.from_pretrained("monsoon-nlp/byt5-base-dv") - Notebooks
- Google Colab
- Kaggle
byt5-base-dv
Pretrained from scratch on Dhivei (language of the Maldives) with ByT5, Google's new byte-level tokenizer strategy.
Use byt5-dv for now; this is less accurate
Corpus: Sofwath's Dhivehi corpus https://github.com/Sofwath/DhivehiDatasets
Pretraining Notebook: https://colab.research.google.com/drive/1ERIZ1PyHn-yN_jo7dTQeODn22vrt-d1d?usp=sharing
Fine-tuning Demo
On Dhivehi news classification task
https://colab.research.google.com/drive/11u5SafR4bKICmArgDl6KQ9vqfYtDpyWp?usp=sharing
Issues
There was an issue with the vocabulary size, final layer, and/or accuracy on fine-tuning.
- Downloads last month
- 11
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support