kartalol / README.md
taksa1990's picture
Upload 5 files
db87e0f verified

A newer version of the Gradio SDK is available: 6.14.0

Upgrade
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

  1. Enter English text in the input box
  2. Adjust quality settings if needed (optional)
  3. Click "Translate" to get Azerbaijani translation
  4. 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