Gradio Transformer Translator using Facebook's NLLB-200-distilled-600M model.
Model info : Hugging Face
Demo on Hugging Face Demo Space
This project provides an AI translator that supports 200 languages using the NLLB (No Language Left Behind) model by Meta, which contains 600 million parameters. The application features a user-friendly interface built with Gradio, allowing users to input text and receive translations seamlessly.
- Multi-language Support: Translate between 200 languages.
- Web Interface: Utilize Gradio for easy text translation via a web interface.
- External Access: Use Ngrok tunneling for accessing the translator from external URLs.
- Versatile Usage: Available as a Python script for various environments.
- Notebook Integration: Supports Jupyter Notebooks, making it compatible with Runpod and Google Colab.
- Clone the repository:
git clone https://github.com/sioaeko/NLLB_translator.git
- Install the required dependencies:
pip install -r requirements.txt
Run the translator using the Python script:
python app.py
Open and run the NLLB_translator.ipynb notebook in Jupyter or Colab for an interactive experience.
Feel free to submit issues and pull requests. Contributions are welcome!
NLLB_translator/
├── .github/
│ └── workflows/
│ └── python-app.yml # GitHub Actions Setting file
├── models/
│ └── nllb_model.py # Model file ( Example )
├── tests/
│ └── test_translator.py # 테스트 파일
├── .gitignore
├── LICENSE
├── README.md
├── main.py
├── requirements.txt # Python Dependency file
├── app.py # Main Application file
└── setup.sh # install script file
This project is licensed under the MIT License. For more information, see LICENSE file.