bentrevett/multi30k
Viewer • Updated • 31k • 3.72k • 19
| Model | Params | BLEU ↑ |
|---|---|---|
| En2de without Attention | 19.7M | 16.82 |
| En2de-A + Attention | 20.4M | 25.14 |
Attention adds <1M params and gives +8.3 BLEU. (sacreBLEU, Multi30k test, greedy decoding)
EN: A man in an orange hat starring at something.
DE: Ein Mann mit einem orangefarbenen Hut starrt nach etwas .
model.load_state_dict(torch.load("En2de-A.pt", map_location="cpu"))
print(translate("A man is riding a bike.")) # Ein Mann fährt auf einem Fahrrad .
Model on HF: Masharyy/En2de-A
If you use En2de-A in your work, please cite:
@misc{mashary2026en2dea,
author = {Mashary},
title = {En2de-A: A 20M-parameter LSTM Seq2Seq Model with Attention for English-German Translation},
year = {2026},
howpublished = {\url{https://github.com/Meshojs/En2de-A}}
}