A newer version of the Gradio SDK is available: 6.14.0
metadata
title: English to Azerbaijani Translator
emoji: π
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.45.0
app_file: app.py
pinned: false
license: apache-2.0
π English to Azerbaijani Translator
AI-Powered Translation using Fine-tuned NLLB-200 Model
Overview
This Space provides high-quality English to Azerbaijani translation using a fine-tuned NLLB-200 model. The model has been specifically trained on 14,000,000+ English-Azerbaijani translation pairs for optimal performance.
Features
- π Fast Translation: ~89+ translations per second
- π― High Quality: Professional-grade translations
- πΎ Smart Caching: Instant results for repeated translations
- π Performance Metrics: Real-time translation statistics
- βοΈ Customizable: Adjustable quality and length settings
- π€ Telegram Bot: Integrated bot support
Model Details
- Base Model: facebook/nllb-200-distilled-600M
- Fine-tuned Model: taksa1990/nllb-600m-azb-en-finetuned-2280k-14M (private)
- Training Data: taksa1990/azb-en-Clean-14M (14M+ pairs)
- Training Loss: ~0.177
- Evaluation Loss: ~0.423
Usage
Web Interface
- Enter English text in the input box
- Adjust quality settings if needed (optional)
- Click "Translate" to get Azerbaijani translation
- Copy the result using the copy button
API Usage
import requests
response = requests.post(
"https://tayden1990-en-azb-translator.hf.space/api/predict",
json={
"data": ["Hello, how are you?", 256, 4]
}
)
translation = response.json()["data"][0]
Telegram Bot
Access this translator through Telegram bot for convenient mobile usage.
Performance
- Speed: 89+ translations/second
- Memory: Optimized for CPU and GPU
- Cache: LRU cache for instant repeated translations
- Error Handling: Comprehensive error management
Links
Author
Created by @tayden1990
License
Apache 2.0