Views
No views yet
| Benchmark | chrF | chrF++ | BLEU |
|---|---|---|---|
| gold (human references, article-level, N=500) | 42.27 | 39.16 | 9.74 |
| held-out chunk (in-distribution) | 40.61 | 39.1 | 16.35 |
| held-out sentence (in-distribution) | 57.31 | 55.39 | 31.84 |
Input (dv): އެއީ، މިދިޔަ އަހަރުގެ މި މުއްދަތާ ބަލާއިރު، 7.6 އިންސައްތައިގެ ކުރިއެރުމެއް ކަމަށްވާއިރު، ދުވާލަކަށް 7،778 ފަތުރުވެރިން ރާއްޖެ ޒިޔާރަތްކުރެއެވެ.Output (en): That is, compared to this period last year, which is a 7.6 percent increase, and 7,778 tourists visit the Maldives per day.
1import torch
2from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
3
4m = "Neobe/dhivehi-en-byt5-large-sentence"
5tok = AutoTokenizer.from_pretrained(m)
6model = AutoModelForSeq2SeqLM.from_pretrained(m, torch_dtype=torch.float32).eval().cuda() # fp32
7
8src = "ދިވެހިރާއްޖޭގެ ރައީސް މިއަދު ކެބިނެޓާ ބައްދަލުކުރެއްވި އެވެ."
9inp = tok(src, return_tensors="pt", truncation=True, max_length=1024).to("cuda")
10out = model.generate(**inp, max_new_tokens=256, num_beams=4)
11print(tok.decode(out[0], skip_special_tokens=True))google/byt5-large; fp32; Adafactor; LR 1e-4 cosine; max_length 1024; 1 epoch; effective batch ~32; gradient checkpointing.1@misc{neobe_dhivehi_en_byt5_large_sentence_2026,
2 title = {byT5-large Dhivehi→English (sentence-level)},
3 author = {Neobe},
4 year = {2026},
5 howpublished = {\url{https://huggingface.co/Neobe/dhivehi-en-byt5-large-sentence}}
6}