Downloads · 30 days
39
60% of all-time downloads
montycrypto/atf-to-english
atf-to-english is a translation model from montycrypto. Use it when you need text moved from one language to another. The card lists the license as mit.
Current version: B2c (2026-10-27), T5-large (~738M parameters), checkpoint t5large-B2c/checkpoint-22000.
Downloads · 30 days
39
60% of all-time downloads
All-time downloads
65
Public
Parameters
738M
3.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3 GB · 100%
From the Hugging Face model README
Current version: B2c (2026-10-27), T5-large (~738M parameters), checkpoint t5large-B2c/checkpoint-22000.
Earlier versions stay available as revisions:
v4e-2026-10-11
(from_pretrained("montycrypto/atf-to-english", revision="v4e-2026-10-11"))v2-2026-10-07Translates cuneiform transliterations (ATF format) into English. Handles Akkadian (Old Assyrian through Neo-Babylonian), Sumerian, Hittite and mixed-language texts spanning ~3,000 years, from Presargonic and Ur III administrative texts to Neo-Assyrian letters, royal inscriptions, literature and lexical lists.
from transformers import AutoTokenizer, T5ForConditionalGeneration
model = T5ForConditionalGeneration.from_pretrained("montycrypto/atf-to-english")
tokenizer = AutoTokenizer.from_pretrained("montycrypto/atf-to-english")
text = "translate Akkadian to English: um-ma a-szur-i-di-ma a-na pu-szu-ke-en6 qi2-bi4-ma"
inputs = tokenizer(text, return_tensors="pt", max_length=512, truncation=True)
outputs = model.generate(**inputs) # decoding defaults are in generation_config.json
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
# → "Thus (says) Aššur-idi: speak to Pušu-ken:"
translate Akkadian to English: (used for all languages).sz for š, s, for ṣ, t, for ṭ, j for ĝ, sign indices as digits
(u2, bi2), determinatives in braces ({d}, {ki}, {lu2}, {m}), broken text in [ ].
Unicode ATF (š, ṣ, ú, subscript digits) is understood but was normalised to ASCII during training.<line> =P= <previous line> =N= <next line> =G= <gloss; gloss>. The bare line alone also works well
(about 1 chrF lower on the mixed set).{d}, {ki}, <<, >> …) and diacritic letters
(š ā ī ū ṣ ṭ ḫ …), so names come out with correct diacritics. Rare characters with no piece may appear as
&uXXXX escapes (Unicode code point).generation_config.json sets the decoding used for the evaluation below: num_beams=4, early_stopping=True,
max_new_tokens=256, repetition_penalty=1.2, no_repeat_ngram_size=3.
| ATF Input | English Output |
|---|---|
a-na be-li2-ia qi2-bi2-ma | Speak to my lord: |
1(disz) udu niga {d}inanna | 1 sheep, grain-fed, for Inanna, |
um-ma a-szur-i-di-ma a-na pu-szu-ke-en6 qi2-bi4-ma | Thus (says) Aššur-idi: speak to Pušu-ken: |
T5-small (60M). v4e: 239k cleaned pairs, initialized from v2. v2: 131k curated pairs from eBL, CDLI, ORACC and CuneiformTranslators with synthetic rare-vocabulary augmentation. See the tagged revisions for their cards.
Cleaned held-out gate sets, disjoint from training. Scores with numbers normalised; the headline buckets leave out placeholder references, lexical-list lines and very short lines (≤4 signs), reported separately. Δ with 95% paired bootstrap CI (1,000 resamples). COMET = wmt22-comet-da. Compared with B1 (the previous T5-large stage) and H2 (the T5-base production model).
| Slice | n | B2c chrF | B2c BLEU | B2c COMET | Δ chrF vs B1 | Δ chrF vs H2 |
|---|---|---|---|---|---|---|
| Mixed (all periods/genres) | 1,125 | 54.27 | 36.30 | 0.687 | +0.90 [+0.35, +1.44] | +4.65 [+3.87, +5.53] |
| Mixed, clean subset | 622 | 53.00 | 33.50 | 0.680 | +1.08 [+0.45, +1.76] | +4.74 [+3.85, +5.75] |
| Mixed, all kept lines (incl. short/lexical) | 1,473 | 53.79 | 35.79 | 0.697 | +0.78 [+0.28, +1.32] | +4.61 [+3.84, +5.39] |
| Hittite | 2,510 | 56.30 | 34.54 | 0.688 | +0.53 [+0.15, +0.94] | +12.77 [+12.09, +13.54] |
| Neo-Assyrian tablets | 320 | 58.42 | 32.00 | – | +0.15 [-0.09, +0.36] | +6.99 [+6.28, +7.70] |
| Neo-Assyrian letters | 200 | 55.59 | 33.17 | – | +0.07 [-0.21, +0.37] | +5.10 [+4.58, +5.63] |
| Neo-Assyrian royal | 120 | 59.99 | 31.07 | – | +0.20 [-0.16, +0.45] | +8.03 [+7.02, +8.99] |
By rare-sign quartile (mixed set, chrF vs H2): Q1 +5.90, Q2 +5.16, Q3 +4.22, Q4 +2.41, all significant. Hittite references are model-made, so the Hittite row measures agreement with those references.
[ ] than the references, which costs some BLEU on Neo-Assyrian letters
with bare-line input.a-ta ("you") is sometimes confused with "why" in letters.@misc{montycrypto-atf-to-english,
title={ATF-to-English Translation Model},
author={montycrypto},
year={2026},
publisher={Hugging Face},
url={https://huggingface.co/montycrypto/atf-to-english}
}