Helsinki-NLP based English-Spanish-French Machine Translation App
2
stars
6
commits
HTML
primary language
Oct 16, 2024
updated
This is a Python Flask application based on the Huggingface transformer library with the "Helsinki-NLP" model developed by the Language Technology Research Group of the University of Helsinki and CSS based on Materialize, a modern responsive CSS framework based on Material Design by Google.

git clone https://github.com/joakimvivas/machine-translation-service.git
cd machine-translation-service
python3 -m venv machine-translation
Inititate the Python virtual environment
source machine-translation/bin/activate
pip install -r requirements.txt
flask run
You can now access the app on your local browser by using
http://localhost:5000/
Pre-requirements: You need to have installed Docker (Guide to install it)
Run the Docker build
docker build -t machine-translation-service .
docker run --name translate -p 5000:5000 -d machine-translation-service
The front end should then become available at http://localhost:5000
Important: The first time, the time to load could be higher because the application will download the AI models from its original data source.
6 commits
HTML
77.4%
Python
21.4%
Dockerfile
1.2%
Helsinki-NLP based English-Spanish-French Machine Translation App
2
stars
6
commits
HTML
primary language
Oct 16, 2024
updated
This is a Python Flask application based on the Huggingface transformer library with the "Helsinki-NLP" model developed by the Language Technology Research Group of the University of Helsinki and CSS based on Materialize, a modern responsive CSS framework based on Material Design by Google.

git clone https://github.com/joakimvivas/machine-translation-service.git
cd machine-translation-service
python3 -m venv machine-translation
Inititate the Python virtual environment
source machine-translation/bin/activate
pip install -r requirements.txt
flask run
You can now access the app on your local browser by using
http://localhost:5000/
Pre-requirements: You need to have installed Docker (Guide to install it)
Run the Docker build
docker build -t machine-translation-service .
docker run --name translate -p 5000:5000 -d machine-translation-service
The front end should then become available at http://localhost:5000
Important: The first time, the time to load could be higher because the application will download the AI models from its original data source.
6 commits
HTML
77.4%
Python
21.4%
Dockerfile
1.2%