Skip to content

Paulie-Aditya/Text-to-Text-Translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text to Text Translator

Built a Text to Text Translator using NLTK and Transformers.

  • Supports Translation of English to Bengali, Tamil, Telugu, Gujarati, Marathi and Hindi.
  • Uses BanglaT5 which achieved an exceptional score of 25.2 on SacreBLEU metric while mt5 (Industry Standard) scored much lower at 22.5

Future Work:

  • Adding functionality of uploading Images and Files
  • OCR will run on these files and provide translation automatically

To Run Locally

  • Run python -m venv .venv
  • Run .venv/Scripts/Activate
  • Run pip install -r requirements.txt
  • Get your HuggingFace Token from https://huggingface.co/settings/tokens
  • Generate a Write Token and store this in a file named secret.py
  • Run python app.py

Output

Output 1 Output 2

About

Text to Text Translator, mainly built to translate English to Regional Languages

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published