Titan AI LogoTitan AI

OpenNMT-py

6,980
2,256
Python

Project Description

Open Source Neural Machine Translation and (Large) Language Models in PyTorch

OpenNMT-py: Open Source Neural Machine Translation and (Large) Language Models in PyTorch

Project Title

OpenNMT-py — Open Source Neural Machine Translation and Large Language Models in PyTorch

Overview

OpenNMT-py is an open-source neural machine translation (NMT) framework based on PyTorch, designed for research and production use. It supports a wide range of NLP tasks, including translation, language modeling, and summarization. The project is no longer actively supported, with the team transitioning to a new project called Eole, which offers improved features and performance.

Key Features

  • Supports a variety of NLP tasks, including NMT, language modeling, and summarization
  • Built on PyTorch, a popular deep learning framework
  • Research-friendly, allowing for easy experimentation with new ideas
  • Production-ready code, used by some companies
  • Supports large language models (LLMs) with converters for various models
  • Offers 8bit and 4bit quantization, LoRA adapters, and checkpointing options
  • Tensor parallelism for models that don't fit on a single GPU's memory
  • Inference can be performed with OpenNMT-py or CTranslate2 for faster results
  • MMLU evaluation script for model performance assessment

Use Cases

  • Researchers and developers working on NMT and other NLP tasks
  • Companies looking for a production-ready NMT solution
  • Educators and students learning about neural machine translation and related technologies
  • Individuals interested in experimenting with large language models and advanced NLP techniques

Advantages

  • Open-source and MIT-licensed, allowing for flexible use and modification
  • Active community and contributions welcome, fostering innovation
  • Supports a wide range of NLP tasks, making it versatile for different applications
  • Built on PyTorch, which is widely used and well-supported in the machine learning community

Limitations / Considerations

  • The project is no longer actively supported, with development shifting to Eole
  • Users may need to migrate to Eole for continued support and updates
  • Some features may require a deep understanding of PyTorch and NLP concepts

Similar / Related Projects

  • Eole: The successor to OpenNMT-py, offering improved features and performance.
  • Hugging Face Transformers: A library of pre-trained models for NLP, including translation and summarization tasks.
  • MarianNMT: An efficient, free Neural Machine Translation framework.

Basic Information


📊 Project Information

  • Project Name: OpenNMT-py
  • GitHub URL: https://github.com/OpenNMT/OpenNMT-py
  • Programming Language: Python
  • ⭐ Stars: 6,968
  • 🍴 Forks: 2,259
  • 📅 Created: 2017-02-22
  • 🔄 Last Updated: 2025-11-17

🏷️ Project Topics

Topics: [, ", d, e, e, p, -, l, e, a, r, n, i, n, g, ", ,, , ", l, a, n, g, u, a, g, e, -, m, o, d, e, l, ", ,, , ", l, l, m, s, ", ,, , ", m, a, c, h, i, n, e, -, t, r, a, n, s, l, a, t, i, o, n, ", ,, , ", n, e, u, r, a, l, -, m, a, c, h, i, n, e, -, t, r, a, n, s, l, a, t, i, o, n, ", ,, , ", p, y, t, o, r, c, h, ", ]


📚 Documentation


This article is automatically generated by AI based on GitHub project information and README content analysis

Titan AI Explorehttps://www.titanaiexplore.com/projects/opennmt-py-82841862en-USTechnology

Project Information

Created on 2/22/2017
Updated on 1/2/2026