⚠️ This is
not a general-purpose translator
. This finetune is to test MT5 usage on dhivehi. It is not intended for any other use.
Model Summary
Base model
:
google/mt5-small
Task
: Translation (English → Dhivehi)
Domain
: Unknown, This is an experimental finetune, so try words or short phrases only.
Dataset
:
google/smol
→
gatitos__en_dv
Training framework
: Hugging Face Transformers
Loss target
: ~0.01
Training Details
Parameter
Value
Epochs
90
Batch size
4
Learning rate
5e-5 (constant)
Final train loss
0.3797
Gradient norm (last)
15.72
Total steps
89,460
Samples/sec
~14.24
FLOPs
2.36e+16
Training time: ~6.98 hours (25,117 seconds)
Optimizer: AdamW
Scheduler: Constant (no decay)
Logging: Weights & Biases
Example Usage (Gradio)
from transformers import MT5ForConditionalGeneration, T5Tokenizer
model = MT5ForConditionalGeneration.from_pretrained("alakxender/mt5-dhivehi-word-parallel")
tokenizer = T5Tokenizer.from_pretrained("alakxender/mt5-dhivehi-word-parallel")
text = "translate English to Dhivehi: Hello, how are you?"
inputs = tokenizer(text, return_tensors="pt")
output = model.generate(**inputs, max_length=64)
print(tokenizer.decode(output[0], skip_special_tokens=True))
Intended Use
This model is meant for:
Research in low-resource translation
Experimentation with Dhivehi-language modeling
Exprementation on the tokenizer
Runs of alakxender mt5-dhivehi-word-parallel on huggingface.co
16
Total runs
0
24-hour runs
3
3-day runs
6
7-day runs
14
30-day runs
More Information About mt5-dhivehi-word-parallel huggingface.co Model
More mt5-dhivehi-word-parallel license Visit here:
mt5-dhivehi-word-parallel huggingface.co is an AI model on huggingface.co that provides mt5-dhivehi-word-parallel's model effect (), which can be used instantly with this alakxender mt5-dhivehi-word-parallel model. huggingface.co supports a free trial of the mt5-dhivehi-word-parallel model, and also provides paid use of the mt5-dhivehi-word-parallel. Support call mt5-dhivehi-word-parallel model through api, including Node.js, Python, http.
mt5-dhivehi-word-parallel huggingface.co is an online trial and call api platform, which integrates mt5-dhivehi-word-parallel's modeling effects, including api services, and provides a free online trial of mt5-dhivehi-word-parallel, you can try mt5-dhivehi-word-parallel online for free by clicking the link below.
alakxender mt5-dhivehi-word-parallel online free url in huggingface.co:
mt5-dhivehi-word-parallel is an open source model from GitHub that offers a free installation service, and any user can find mt5-dhivehi-word-parallel on GitHub to install. At the same time, huggingface.co provides the effect of mt5-dhivehi-word-parallel install, users can directly use mt5-dhivehi-word-parallel installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
mt5-dhivehi-word-parallel install url in huggingface.co: