OPUS-MT bundles Marian-NMT-based translation models with a Tornado web app and optional WebSocket services. Run local MT in the browser or integrate via configured language pairs.
Overview
OPUS-MT provides tools and pretrained neural machine translation models together with simple service setups for running translation on your own hardware. The project is tied to Marian-NMT for decoding and ships public models under open licenses that can be installed for specific language pairs.
The typical web setup uses a Tornado application and marian-server processes driven by a JSON services configuration. Each entry defines source and target languages, model files, and how the decoder is started or reached on a host and port. After models are placed and services.json is edited, starting the web server exposes a browser UI on port 8888 for the configured pairs.
Docker images support CPU and CUDA GPU deployments with the same localhost workflow. A separate WebSocket-based Linux service layout is documented for alternative deployments. Models are published for download and installation scripts can pull the latest pair-specific weights from the project’s model stores.
The maintainers note training scripts and some workflows are oriented toward their university computing environment, while inference and serving are aimed at wider use. Evaluation and quality vary by language pair and domain.
Key features
- Marian-NMT decoder integration
- Tornado web translation interface
- JSON-configured language pair services
- Public CC-licensed translation models
- Docker and CUDA Docker images
- WebSocket service option on Linux
- Remote or local marian-server backends
- Browser UI on port 8888
Use cases
- Self-hosted web translation for demos
- Internal MT API for fixed language pairs
- Research deployments of open NMT models
- GPU-accelerated translation containers
- Experimental websocket translation service