Instructions to use WhirlwindAI/Translate-25T with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WhirlwindAI/Translate-25T with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="WhirlwindAI/Translate-25T")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("WhirlwindAI/Translate-25T") model = AutoModelForSeq2SeqLM.from_pretrained("WhirlwindAI/Translate-25T", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,15 +12,11 @@ tags:
|
|
| 12 |
- whirlwindai
|
| 13 |
---
|
| 14 |
<p align="center">
|
| 15 |
-
|
| 16 |
-
<img src="https://capsule-render.vercel.app/api?type=blur&height=240&text=Translate-25L&fontSize=55&fontColor=ffffff&animation=twinkling&color=gradient&customColorList=12,20,24,30"/>
|
| 17 |
-
|
| 18 |
</p>
|
| 19 |
|
| 20 |
<div align="center">
|
| 21 |
-
|
| 22 |
-
<img src="https://readme-typing-svg.demolab.com?font=Space+Grotesk&weight=700&size=28&duration=2500&pause=1000&color=06B6D4¢er=true&vCenter=true&width=850&lines=Translate-25L;Multilingual+Translation.+25%2B+Languages.;Built+for+Speed+and+Clarity." />
|
| 23 |
-
|
| 24 |
<br>
|
| 25 |
|
| 26 |
<img src="https://img.shields.io/badge/Parameters-300M-06B6D4?style=for-the-badge">
|
|
@@ -34,14 +30,11 @@ tags:
|
|
| 34 |
|
| 35 |
# The Idea
|
| 36 |
|
| 37 |
-
|
| 38 |
-
|
| 39 |
The focus is on **balance**: delivering solid translation quality while keeping inference fast and the model compact enough to run in resource‑constrained environments.
|
| 40 |
-
|
| 41 |
<p align="center">
|
| 42 |
-
|
| 43 |
<img src="https://capsule-render.vercel.app/api?type=rect&height=4&color=gradient&customColorList=12,20,24,30"/>
|
| 44 |
-
|
| 45 |
</p>
|
| 46 |
|
| 47 |
---
|
|
@@ -72,8 +65,8 @@ print(translate("Hello, how are you?", "en", "fr"))
|
|
| 72 |
|
| 73 |
# Supported Languages
|
| 74 |
|
| 75 |
-
|
| 76 |
-
|
| 77 |
| Code | Language | Code | Language |
|
| 78 |
|------|----------|------|----------|
|
| 79 |
| 🇬🇧 en | English | 🇩🇪 de | German |
|
|
@@ -85,8 +78,7 @@ Translate‑25L covers a diverse set of languages, including many high‑resourc
|
|
| 85 |
| 🇮🇳 hi | Hindi | 🇮🇩 id | Indonesian |
|
| 86 |
| 🇹🇷 tr | Turkish | 🇻🇳 vi | Vietnamese |
|
| 87 |
| 🇵🇱 pl | Polish | 🇺🇦 uk | Ukrainian |
|
| 88 |
-
| 🇷🇴 ro | Romanian |
|
| 89 |
-
| 🇸🇪 sv | Swedish | ...and more | |
|
| 90 |
<p align="center">
|
| 91 |
|
| 92 |
<img src="https://capsule-render.vercel.app/api?type=rect&height=4&color=gradient&customColorList=12,20,24,30"/>
|
|
@@ -97,7 +89,7 @@ Translate‑25L covers a diverse set of languages, including many high‑resourc
|
|
| 97 |
|
| 98 |
# Evaluation
|
| 99 |
|
| 100 |
-
We evaluated Translate‑
|
| 101 |
|
| 102 |
### BLEU Scores
|
| 103 |

|
|
@@ -137,7 +129,7 @@ We evaluated Translate‑25L on the **OPUS‑100 test set** using **50 samples p
|
|
| 137 |
| Parameters | 300 Million |
|
| 138 |
| Architecture | mT5 (Encoder‑Decoder) |
|
| 139 |
| Training Data | OPUS-100 |
|
| 140 |
-
| Languages |
|
| 141 |
| Framework | Hugging Face Transformers |
|
| 142 |
| License | Apache 2.0 |
|
| 143 |
<p align="center">
|
|
@@ -149,16 +141,13 @@ We evaluated Translate‑25L on the **OPUS‑100 test set** using **50 samples p
|
|
| 149 |
---
|
| 150 |
|
| 151 |
# Highlights
|
| 152 |
-
|
| 153 |
-
- **Multilingual**: translate between English and 25+ languages.
|
| 154 |
- **Efficient**: ~300M parameters – lightweight enough for many production scenarios.
|
| 155 |
- **Fast**: average inference speed of **52.2 tokens/second** on a T4 GPU.
|
| 156 |
- **Research‑friendly**: open weights and Apache 2.0 license.
|
| 157 |
- **Practical**: trained on a diverse set of parallel sentences from OPUS‑100.
|
| 158 |
<p align="center">
|
| 159 |
-
|
| 160 |
<img src="https://capsule-render.vercel.app/api?type=rect&height=4&color=gradient&customColorList=12,20,24,30"/>
|
| 161 |
-
|
| 162 |
</p>
|
| 163 |
|
| 164 |
---
|
|
|
|
| 12 |
- whirlwindai
|
| 13 |
---
|
| 14 |
<p align="center">
|
| 15 |
+
<img src="https://capsule-render.vercel.app/api?type=blur&height=240&text=Translate-25T&fontSize=55&fontColor=ffffff&animation=twinkling&color=gradient&customColorList=12,20,24,30"/>
|
|
|
|
|
|
|
| 16 |
</p>
|
| 17 |
|
| 18 |
<div align="center">
|
| 19 |
+
<img src="https://readme-typing-svg.demolab.com?font=Space+Grotesk&weight=700&size=28&duration=2500&pause=1000&color=06B6D4¢er=true&vCenter=true&width=850&lines=Translate-25T;Multilingual+Translation.+18%2B+Languages.;Built+for+Speed+and+Clarity." />
|
|
|
|
|
|
|
| 20 |
<br>
|
| 21 |
|
| 22 |
<img src="https://img.shields.io/badge/Parameters-300M-06B6D4?style=for-the-badge">
|
|
|
|
| 30 |
|
| 31 |
# The Idea
|
| 32 |
|
| 33 |
+
# The Idea
|
| 34 |
+
Translate‑25T is a multilingual translation model fine‑tuned from **google/mt5‑small** on the **OPUS‑100** dataset. It supports translation between **English and 18+ other languages** in both directions, making it a practical tool for research, education, and lightweight multilingual applications.
|
| 35 |
The focus is on **balance**: delivering solid translation quality while keeping inference fast and the model compact enough to run in resource‑constrained environments.
|
|
|
|
| 36 |
<p align="center">
|
|
|
|
| 37 |
<img src="https://capsule-render.vercel.app/api?type=rect&height=4&color=gradient&customColorList=12,20,24,30"/>
|
|
|
|
| 38 |
</p>
|
| 39 |
|
| 40 |
---
|
|
|
|
| 65 |
|
| 66 |
# Supported Languages
|
| 67 |
|
| 68 |
+
# Supported Languages
|
| 69 |
+
Translate‑25T covers a diverse set of languages, including many high‑resource European languages, as well as several Asian and Middle Eastern languages.
|
| 70 |
| Code | Language | Code | Language |
|
| 71 |
|------|----------|------|----------|
|
| 72 |
| 🇬🇧 en | English | 🇩🇪 de | German |
|
|
|
|
| 78 |
| 🇮🇳 hi | Hindi | 🇮🇩 id | Indonesian |
|
| 79 |
| 🇹🇷 tr | Turkish | 🇻🇳 vi | Vietnamese |
|
| 80 |
| 🇵🇱 pl | Polish | 🇺🇦 uk | Ukrainian |
|
| 81 |
+
| 🇷🇴 ro | Romanian | 🇸🇪 sv | Swedish |
|
|
|
|
| 82 |
<p align="center">
|
| 83 |
|
| 84 |
<img src="https://capsule-render.vercel.app/api?type=rect&height=4&color=gradient&customColorList=12,20,24,30"/>
|
|
|
|
| 89 |
|
| 90 |
# Evaluation
|
| 91 |
|
| 92 |
+
We evaluated Translate‑25T on the **OPUS‑100 test set** using **50 samples per language pair**. The results below show BLEU scores, inference speed, and a combined radar view.
|
| 93 |
|
| 94 |
### BLEU Scores
|
| 95 |

|
|
|
|
| 129 |
| Parameters | 300 Million |
|
| 130 |
| Architecture | mT5 (Encoder‑Decoder) |
|
| 131 |
| Training Data | OPUS-100 |
|
| 132 |
+
| Languages | 18+ |
|
| 133 |
| Framework | Hugging Face Transformers |
|
| 134 |
| License | Apache 2.0 |
|
| 135 |
<p align="center">
|
|
|
|
| 141 |
---
|
| 142 |
|
| 143 |
# Highlights
|
| 144 |
+
- **Multilingual**: translate between English and 18+ languages.
|
|
|
|
| 145 |
- **Efficient**: ~300M parameters – lightweight enough for many production scenarios.
|
| 146 |
- **Fast**: average inference speed of **52.2 tokens/second** on a T4 GPU.
|
| 147 |
- **Research‑friendly**: open weights and Apache 2.0 license.
|
| 148 |
- **Practical**: trained on a diverse set of parallel sentences from OPUS‑100.
|
| 149 |
<p align="center">
|
|
|
|
| 150 |
<img src="https://capsule-render.vercel.app/api?type=rect&height=4&color=gradient&customColorList=12,20,24,30"/>
|
|
|
|
| 151 |
</p>
|
| 152 |
|
| 153 |
---
|