Lexicon_Translator / README.md
UnarineLeo's picture
Update README.md
9c42d8d verified

A newer version of the Gradio SDK is available: 5.44.1

Upgrade
metadata
title: English to Venda Translator
emoji: 🌍
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.35.0
app_file: app.py
pinned: false
license: apache-2.0

English to Venda Translator 🌍

A Gradio-based web application for translating English text to Venda (Tshivenda) using a fine-tuned NLLB model.

Features

  • Single Translation: Translate individual sentences or paragraphs
  • Batch Translation: Translate multiple sentences at once
  • Adjustable Parameters: Control translation quality and speed
  • Example Sentences: Try pre-loaded examples
  • User-friendly Interface: Clean, intuitive design

Model

This app uses the UnarineLeo/nllb_eng_ven_terms model, which is based on the NLLB (No Language Left Behind) architecture and fine-tuned specifically for English to Venda translation.

About Venda (Tshivenda)

Venda is a Bantu language spoken by approximately 1.2 million people, primarily in South Africa and Zimbabwe. It is one of the 11 official languages of South Africa.

Usage

  1. Single Translation: Enter English text in the input box and click "Translate"
  2. Batch Translation: Enter multiple sentences (one per line) for bulk translation
  3. Parameters: Adjust max length and beam search parameters for quality vs speed trade-offs

Technical Details

  • Model: UnarineLeo/nllb_eng_ven_terms
  • Framework: Transformers, PyTorch
  • Interface: Gradio
  • Language Codes: eng_Latn β†’ ven_Latn

Installation

To run locally:

pip install -r requirements.txt
python app.py

License

Apache 2.0