A FastAPI application that translate text from English, French, German and Romanian. It works by taking a user input and translating it to any of the 4 languages specified by the user.
- Summarize data.
- Compute stsb sentence.
- Find cola sentence.
- Transalte languages.
- Model type: Language Model.
- Supported Languages: English, German, Romanian and French
- License: Apache 2.0
- Pre-trained on Supervised and Unsupervised data.
Model was trained on Google Cloud TPU Pods
- CPU: 8GB
- GPU: 4GB
2GB
git clone https://github.com/Daquiver1/t5_base_api.git
cd t5_base_api
pip install poetry
poetry install
uvicorn main:app --port 80
After cloning and changing directory
docker build -t t5baseapi -f Dockerfile .
docker run --name t5baseapi -p 8080:8080 t5baseapi