Machine Learning in Linux: LibreTranslate is Self-hosted Machine Translation

Our Machine Learning in Linux series focuses on apps that make it easy to experiment with machine learning.

We recently explored Argos Translate, state of the art neural machine translation software. That software provides a Python library, command-line interface, and a GUI.

LibreTranslate is a machine translation API which is entirely self-hosted. This software lets you use open source machine translation in your projects. It uses Argos Translate for its translation engine.

Installation

We tested LibreTranslate with the Arch distro. As we recommended in our review of Argos Translate, use a virtual environment to install LibreTranslate. We’ll use conda, but you may prefer to run the software with Docker.