M2M100-1.2B for Ancient Greek to Modern Greek (Full Fine-Tuning)
This is a
fully fine-tuned
version of
facebook/m2m100_1.2B
for translating
Ancient Greek
to
Modern Greek
.
It was trained on the sentence-level
AG-MG Parallel Corpus
using Full Parameter Fine-Tuning.
The tokenizer has been expanded with
122 Ancient Greek characters
(Polytonic) that were missing from the original M2M100 vocabulary and are essential for handling the source text correctly.
This model was trained by Spyridon Mavromatis at the Institute for Language and Speech Processing (ILSP), "Athena" RC, and the National and Kapodistrian University of Athens (NKUA) as part of an M.Sc. thesis.
Model Details
Base Model:
facebook/m2m100_1.2B
Method:
Full Fine-Tuning
Vocabulary:
Expanded with 122 Polytonic Greek characters.
Training Data:
~130k sentence pairs from the AG-MG Corpus.
Usage
Since this is a full model, you load it directly with
AutoModelForSeq2SeqLM
.
import torch
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
model_id = "ilsp/m2m100-1.2B-ag-mg-full-ft"# 1. Load Tokenizer & Model
tokenizer = AutoTokenizer.from_pretrained(model_id, src_lang="el")
model = AutoModelForSeq2SeqLM.from_pretrained(model_id, device_map="auto")
# 2. Inference
text = "Ὦ ξεῖν', ἀγγέλλειν Λακεδαιμονίοις ὅτι τῇδε κείμεθα."
inputs = tokenizer(text, return_tensors="pt").to(model.device)
# Force target language to Modern Greek ('el')
forced_bos_token_id = tokenizer.get_lang_id("el")
translated_tokens = model.generate(
**inputs,
forced_bos_token_id=forced_bos_token_id,
max_length=128
)
print(tokenizer.batch_decode(translated_tokens, skip_special_tokens=True)[0])
Performance
Main Test Set Results
Evaluated on the 2,000 sentence-pairs Test Set (Attic & Koine Hellenistic dialects).
If you use this model, please cite our LREC 2026 paper:
Mavromatis, S., Sofianopoulos, S., Prokopidis, P., & Giagkou, M. (2026).
Ancient Greek to Modern Greek Machine Translation: A Novel Benchmark and
Fine-Tuning Experiments on LLMs and NMT Models.
In Proceedings of the
Fifteenth Language Resources and Evaluation Conference (LREC 2026)
(pp. 8685–8698). European Language Resources Association (ELRA).
https://doi.org/10.63317/4cdk64dgm2w9
@inproceedings{mavromatis-etal-2026-ancient,
title = {Ancient Greek to Modern Greek Machine Translation: A Novel Benchmark and Fine-Tuning Experiments on LLMs and NMT Models},
author = {Mavromatis, Spyridon and Sofianopoulos, Sokratis and Prokopidis, Prokopis and Giagkou, Maria},
booktitle = {Proceedings of the Fifteenth Language Resources and Evaluation Conference (LREC 2026)},
month = {May},
year = {2026},
pages = {8685--8698},
address = {Palma, Mallorca, Spain},
publisher = {European Language Resources Association (ELRA)},
editor = {Piperidis, Stelios and Bel, Núria and van den Heuvel, Henk and Ide, Nancy and Krek, Simon and Toral, Antonio},
doi = {10.63317/4cdk64dgm2w9}
}
You may also cite the related M.Sc. thesis:
@mastersthesis{mavromatis2026thesis,
author = {Spyridon Mavromatis},
title = {Ancient Greek to Modern Greek Machine Translation: A Novel Benchmark and Fine-Tuning Experiments on LLMs and NMT Models},
school = {National and Kapodistrian University of Athens and Institute for Language and Speech Processing, "Athena" Research Center},
year = {2026},
address = {Athens, Greece},
url = {https://pergamos.lib.uoa.gr/uoa/dl/object/5320989},
note = {The fine-tuned models are publicly released; the accompanying AG-MG Parallel Corpus is not publicly distributed due to the complex and uncertain copyright status of the source materials.}
}
Runs of ilsp m2m100-1.2B-ag-mg-full-ft on huggingface.co
11
Total runs
0
24-hour runs
-2
3-day runs
-1
7-day runs
-16
30-day runs
More Information About m2m100-1.2B-ag-mg-full-ft huggingface.co Model
More m2m100-1.2B-ag-mg-full-ft license Visit here:
m2m100-1.2B-ag-mg-full-ft huggingface.co is an AI model on huggingface.co that provides m2m100-1.2B-ag-mg-full-ft's model effect (), which can be used instantly with this ilsp m2m100-1.2B-ag-mg-full-ft model. huggingface.co supports a free trial of the m2m100-1.2B-ag-mg-full-ft model, and also provides paid use of the m2m100-1.2B-ag-mg-full-ft. Support call m2m100-1.2B-ag-mg-full-ft model through api, including Node.js, Python, http.
m2m100-1.2B-ag-mg-full-ft huggingface.co is an online trial and call api platform, which integrates m2m100-1.2B-ag-mg-full-ft's modeling effects, including api services, and provides a free online trial of m2m100-1.2B-ag-mg-full-ft, you can try m2m100-1.2B-ag-mg-full-ft online for free by clicking the link below.
ilsp m2m100-1.2B-ag-mg-full-ft online free url in huggingface.co:
m2m100-1.2B-ag-mg-full-ft is an open source model from GitHub that offers a free installation service, and any user can find m2m100-1.2B-ag-mg-full-ft on GitHub to install. At the same time, huggingface.co provides the effect of m2m100-1.2B-ag-mg-full-ft install, users can directly use m2m100-1.2B-ag-mg-full-ft installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
m2m100-1.2B-ag-mg-full-ft install url in huggingface.co: