Overview

Translate-15L is a lightweight multilingual translation model trained on OPUS100.

Rather than maximizing parameter count, the model focuses on providing practical multilingual translation with fast inference and a compact footprint.

It supports translation between English and 14 additional languages in both directions.


Quick Start

from transformers import AutoTokenizer, T5ForConditionalGeneration

model = T5ForConditionalGeneration.from_pretrained(
    "WhirlwindAI/Translate-15L"
)

tokenizer = AutoTokenizer.from_pretrained(
    "WhirlwindAI/Translate-15L"
)

text = "Hello, how are you?"

prompt = f"translate en to fr: {text}"

inputs = tokenizer(prompt, return_tensors="pt")

outputs = model.generate(
    **inputs,
    max_new_tokens=50,
    num_beams=4
)

print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Supported Languages

Code Language
๐Ÿ‡ฌ๐Ÿ‡ง en English
๐Ÿ‡ช๐Ÿ‡ธ es Spanish
๐Ÿ‡ซ๐Ÿ‡ท fr French
๐Ÿ‡ฉ๐Ÿ‡ช de German
๐Ÿ‡ฎ๐Ÿ‡น it Italian
๐Ÿ‡ต๐Ÿ‡น pt Portuguese
๐Ÿ‡ณ๐Ÿ‡ฑ nl Dutch
๐Ÿ‡ท๐Ÿ‡บ ru Russian
๐Ÿ‡จ๐Ÿ‡ณ zh Chinese
๐Ÿ‡ฏ๐Ÿ‡ต ja Japanese
๐Ÿ‡ฐ๐Ÿ‡ท ko Korean
๐Ÿ‡ธ๐Ÿ‡ฆ ar Arabic
๐Ÿ‡ฎ๐Ÿ‡ณ hi Hindi
๐Ÿ‡น๐Ÿ‡ท tr Turkish
๐Ÿ‡ป๐Ÿ‡ณ vi Vietnamese

Performance

BLEU Evaluation



Language Overview


Highlights

Direction BLEU
๐Ÿ‡ฌ๐Ÿ‡ง โ†’ ๐Ÿ‡ซ๐Ÿ‡ท 32.43
๐Ÿ‡ฉ๐Ÿ‡ช โ†’ ๐Ÿ‡ฌ๐Ÿ‡ง 16.93
๐Ÿ‡ฌ๐Ÿ‡ง โ†’ ๐Ÿ‡ช๐Ÿ‡ธ 6.51
๐Ÿ‡ซ๐Ÿ‡ท โ†’ ๐Ÿ‡ฌ๐Ÿ‡ง 5.13
๐Ÿ‡ฌ๐Ÿ‡ง โ†’ ๐Ÿ‡ต๐Ÿ‡น 5.05
๐Ÿ‡ฌ๐Ÿ‡ง โ†’ ๐Ÿ‡ฎ๐Ÿ‡น 4.15

Speed

โšก ~8,151 Tokens / Second

Fast enough for lightweight multilingual applications while remaining compact.

See speed.txt for the complete benchmark.


Examples


Notes

  • English โ†” 14 Languages
  • Optimized for compact deployment
  • Trained on OPUS100
  • Best performance on high-resource European languages
  • Performance on low-resource languages remains limited

WhirlwindAI

Efficient AI โ€ข Practical Research โ€ข Open Models

Downloads last month
-
Safetensors
Model size
60.5M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support