Downloads · 30 days
9
1% of all-time downloads
Thalesian/AKK_300m
AKK_300m is a translation model from Thalesian. Use it when you need text moved from one language to another. It is set up for transformers. The card lists the license as apache-2.0.
Introducing AKK-300m, a model capable of handling a diverse number of cuneiform translation, transliteration, and correction tasks.
Downloads · 30 days
9
1% of all-time downloads
All-time downloads
1.2K
Public
Parameters
307M
1.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.2 GB · 98%
From the Hugging Face model README
Introducing AKK-300m, a model capable of handling a diverse number of cuneiform translation, transliteration, and correction tasks.
This is an instruct model, meaning it is capable of multiple tasks. It is intended primarily for translation + transliteration, but it can also be used for reverse translation as well.
This is a finetuned version of google's umt5-small.
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
model_path = "Thalesian/AKK-300m"
tokenizer = AutoTokenizer.from_pretrained(model_path, use_fast=False, local_files_only=True)
model = AutoModelForSeq2SeqLM.from_pretrained(model_path)
# 1) Prepare your cuneiform input
prompt = "Translate Akkadian cuneiform to English: "
input_text = "𒄨 𒃼 𒁺 𒊭 𒀸 𒌅 𒆰 𒋾 𒀸 𒋩 𒂗 𒋙 𒆰 𒆳 𒆷 𒈠 𒄀 𒊑 𒋗 𒁶 𒋻 𒁁 𒋾 𒌑 𒁖 𒆥 𒄣 𒀀 𒁍 𒄫 𒄑 𒁍 𒉡 𒈠 𒍣 𒆥 𒆧 𒅎 𒉡 𒌋 "
# 2) Tokenize & get model outputs
inputs = tokenizer(prompt + input_text, return_tensors="pt")
outputs = model.generate(**inputs, max_length=64)
# 3) Decode prediction
prediction = tokenizer.decode(outputs[0], skip_special_tokens=True)
print("Reference:", "young man valiant who through help assur lord all of not submissive one like a pottery bowl crush minutely like a flood flatten as nothing count")
print("Prediction:", prediction)
Data was used from the Akkademia project, previously published in PNAS Nexus. Additional data for pre-training and training came from CDLI Akkadian data. More information on the training data, as well as the test and validation splits, can be found on both the GitHub and published methodology.
It was trained in 5 tranches with different datasets and collators:
And 3 different collation methods:
The following hyperparameters were used during training:
| From Language | From Script | To Language | To Script | BLEU | CHRF | METEOR |
|---|---|---|---|---|---|---|
| Akkadian | Transliteration | Akkadian | Cuneiform | 95.63 | 95.22 | - |
| Akkadian | Cuneiform | English | Latin | 70.35 | 79.37 | 0.74 |
| Akkadian | Transliteration | English | Latin | 73.18 | 81.79 | 0.76 |
| English | Latin | Akkadian | Cuneiform | 45.23 | 45.24 | - |
| English | Latin | Akkadian | Transliteration | 41.80 | 63.69 | - |
| Akkadian | Cuneiform | Akkadian | Transliteration | 85.42 | 93.23 | - |
| From Language | From Script | To Language | To Script | BLEU | CHRF | METEOR |
|---|---|---|---|---|---|---|
| Akkadian | Transliteration | Akkadian | Cuneiform | 26.41 | 38.55 | - |
| Akkadian | Cuneiform | English | Latin | 27.42 | 47.01 | 0.43 |
| Akkadian | Transliteration | English | Latin | 29.19 | 48.68 | 0.44 |
| English | Latin | Akkadian | Cuneiform | 14.02 | 20.74 | - |
| English | Latin | Akkadian | Transliteration | 14.84 | 31.46 | - |
| Akkadian | Cuneiform | Akkadian | Transliteration | 25.36 | 40.35 | - |
– Short Akkadian lines, transliteration pipelines, reverse lookup experiments.
– Context window is only 64 tokens.
@misc{drake2025akk300m,
title = {{AKK-300m}: A UMT5-Small for Akkadian⇄English},
author = {Drake, B. Lee},
year = {2025},
howpublished = {\url{https://huggingface.co/Thalesian/AKK-300m}}
}