Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sioaeko/nllb_translator
Gradio AI Transformer Translator used meta/nllb-200-distilled-600M
https://github.com/sioaeko/nllb_translator
ai gradio juypter-notebook meta nllb nllb200 python translate translator
Last synced: about 1 month ago
JSON representation
Gradio AI Transformer Translator used meta/nllb-200-distilled-600M
- Host: GitHub
- URL: https://github.com/sioaeko/nllb_translator
- Owner: sioaeko
- License: mit
- Created: 2024-04-16T13:44:51.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-11-15T14:24:41.000Z (2 months ago)
- Last Synced: 2024-11-15T15:31:02.801Z (2 months ago)
- Topics: ai, gradio, juypter-notebook, meta, nllb, nllb200, python, translate, translator
- Language: Python
- Homepage:
- Size: 68.4 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NLLB_translator
![캡처](https://github.com/sioaeko/NLLB_translator/assets/101755125/3ad10e58-a435-4f57-a730-408b6d3a0d61)
Gradio Transformer Translator using Facebook's NLLB-200-distilled-600M model.
Model info : [Hugging Face](https://huggingface.co/docs/transformers/model_doc/nllb)
Demo on [Hugging Face Demo Space](https://huggingface.co/spaces/Asanari/Linguify)
![GitHub](https://img.shields.io/github/license/sioaeko/NLLB_translator)
![GitHub stars](https://img.shields.io/github/stars/sioaeko/NLLB_translator)
![GitHub forks](https://img.shields.io/github/forks/sioaeko/NLLB_translator)## Overview
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.
## Features
- **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.## Installation
1. Clone the repository:
```bash
git clone https://github.com/sioaeko/NLLB_translator.git2. Install the required dependencies:
```bash
pip install -r requirements.txt
```
## Usage### Using Python Script
Run the translator using the Python script:
```bash
python app.py
```### Using Jupyter Notebook
Open and run the NLLB_translator.ipynb notebook in Jupyter or Colab for an interactive experience.
### Contributing
Feel free to submit issues and pull requests. Contributions are welcome!
### Project Tree
```text
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
```## License
This project is licensed under the MIT License. For more information, see [LICENSE](https://github.com/sioaeko/NLLB_translator/blob/main/LICENSE) file.