PyMarian: Fast Neural Machine Translation and Evaluation in Python
Not on the map. Why?
Abstract (arXiv)
The deep learning language of choice these days is Python; measured by factors such as available libraries and technical support, it is hard to beat. At the same time, software written in lower-level programming languages like C++ retain advantages in speed. We describe a Python interface to Marian NMT, a C++-based training and inference toolkit for sequence-to-sequence models, focusing on machine translation. This interface enables models trained with Marian to be connected to the rich, wide range of tools available in Python. A highlight of the interface is the ability to compute state-of-the-art COMET metrics from Python but using Marian's inference engine, with a speedup factor of up to 7.8× the existing implementations. We also briefly spotlight a number of other integrations, including Jupyter notebooks, connection with prebuilt models, and a web app interface provided with the package. PyMarian is available in PyPI via textttpip install pymarian.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 11 of its 16 references that are in the map. First posted on arXiv 15 Aug 2024.
Builds on
11 of 16 references.
References · 11
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,799
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
- 2020BLEURT: Learning Robust Metrics for Text Generationcited by 1,203
- 2018Marian: Fast Neural Machine Translation in C++cited by 203
- 2023Scaling up COMETKIWI: Unbabel-IST 2023 Submission for the Quality Estimation Shared Taskcited by 88
- 2022Democratizing Neural Machine Translation with OPUS-MTcited by 58
- 2020Unbabel's Participation in the WMT20 Metrics Shared Taskcited by 56
- 2018Marian: Cost-effective High-Quality Neural Machine Translation in C++cited by 22
- 2021TranslateLocally: Blazing-fast translation running on the local CPUcited by 3
Built on by
Citing papers per year: 2025: 2.
2 papers.