CoolFace
Apppublic

TGPro1/NLLB200

sourceHugging Faceapache-2.0updated 9mo agoView on Hugging Face
0likes
App README

NLLB-200 Translation API

High-quality translation API powered by Meta's No Language Left Behind (NLLB-200) model.

Features

  • 200 Languages Supported - Direct translation between any language pair
  • 44% Better Quality - Compared to previous translation models
  • +70% for Complex Languages - Especially Arabic, Hindi, and other low-resource languages
  • No Pivot Translation - Direct translation without going through English
  • Cached Results - Faster repeated translations
  • API Access - Use via Gradio Client or HTTP

Supported Languages (Sample)

Arabic, English, French, Spanish, German, Italian, Portuguese, Russian, Japanese, Korean, Chinese, Hindi, Turkish, Dutch, Polish, Swedish, Indonesian, Vietnamese, Thai, Ukrainian, Romanian, Greek, Hebrew, and more!

Usage

Web Interface

Visit the Space and use the interactive interface to translate text between any supported languages.

API

python
from gradio_client import Client

client = Client("TGPro1/NLLB200")
result = client.predict(
    "Hello, world!",  # text
    "English",         # source language
    "Arabic",          # target language
    api_name="/predict"
)
print(result)  # مرحبا بالعالم!

Model

  • Model: facebook/nllb-200-distilled-600M
  • Parameters: 600M
  • Size: ~2.4GB
  • Languages: 200

Performance

  • Quality: State-of-the-art for low-resource languages
  • Speed: Fast inference with distilled model
  • Cache: LRU cache for frequently translated phrases

Credits

  • Model: Meta AI Research - NLLB Project
  • Benchmark: FLORES-200
  • License: Apache 2.0

Links