slavaGanzin / NLLB-Translator

Repository from Github https://github.comslavaGanzin/NLLB-TranslatorRepository from Github https://github.comslavaGanzin/NLLB-Translator

NLLB-Translator

Install

pip install git+https://github.com/huggingface/transformers
pip install torch transformers

Run

python inference.py

Output:

Source text:
well i shared what my friend got (i dont need imaginary, i have real, if you know what that means)

---

Destination text:
Ну, я поділився тим, що отримав мій друг ( мені не потрібно уявного, у мене є реальний, якщо ви знаєте, що це означає)

server

pip install python-multipart transformers torch uvicorn fastapi
./server.py

Server will listen on http://127.0.0.1:8080/docs

About


Languages

Language:Python 96.5%Language:Dockerfile 3.5%