awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
OpenNMT avatar

OpenNMT/OpenNMT-py

0
View on GitHub↗
7,001 stars·2,246 forks·Python·MIT·22 viewsopennmt.net↗

OpenNMT Py

OpenNMT-py is a PyTorch neural machine translation framework used for training and deploying neural machine translation and large language models. It functions as a distributed model training system, an inference engine, and a toolkit for fine-tuning large language models.

The framework distinguishes itself with a dedicated toolkit for adapting large language models through low-rank adaptation, quantization, and instruction tuning. It also includes a neural machine translation server that allows trained models to be hosted and exposed via REST API endpoints.

The project covers a broad range of capabilities, including data preprocessing and augmentation, model architecture configuration, and performance optimization through tensor parallelism and weight quantization. It also provides tools for model execution, such as beam search decoding and word alignment extraction, alongside performance evaluation for translation quality and model accuracy.

Features

  • Neural Machine Translation Frameworks - Provides a comprehensive PyTorch-based framework for training and deploying neural machine translation and large language models.
  • PyTorch Training Frameworks - Provides a high-level framework built on PyTorch for organizing and executing neural machine translation training.
  • Distributed Training - Provides frameworks for scaling model training across multiple processors, GPUs, and compute nodes.
  • Multi-Node Inference Scaling - Distributes model processing across multiple GPUs and nodes using tensor parallelism to increase throughput.
  • Inference Execution - Executes model inference to generate text predictions from trained models using direct or optimized implementations.
  • Language Model Fine-Tuning - Implements memory-efficient training methods like LoRA to adapt pre-trained language models to specific tasks.
  • Large Scale Training - Scales model training across multiple graphics cards and compute nodes to handle massive datasets and large models.
  • LLM Fine-Tuning Toolsets - Provides a dedicated toolkit for adapting large language models using LoRA, quantization, and instruction tuning.
  • Data Preprocessing - Cleans and transforms datasets using normalization and subword learning to prepare them for model training.
  • Low-Rank Adaptation - Adapts large models using low-rank adaptation (LoRA) to reduce trainable parameters and hardware requirements.
  • Neural Machine Translation - Trains neural machine translation models for converting text, speech, or images between languages.
  • Text Translation Inference - Performs text translation by converting source text into a target language using configurable beam search decoding.
  • Transformer Inference Engines - Includes a high-performance inference engine for generating text using beam search, nucleus sampling, and tensor parallelism.
  • Translation Memory Augmentations - Integrates similar examples from translation memories into the training set to improve neural translation repair.
  • Denoising Pre-training Augmentations - Applies token masking, deletion, and sentence permutation to pre-train generative models.
  • Gradient Checkpointing - Reduces memory consumption by skipping intermediate activations during the forward pass and recalculating them during the backward pass.
  • Inference Latency Optimizers - Accelerates text generation and reduces latency through specialized attention and caching mechanisms.
  • LLM Evaluation Frameworks - Evaluates large language model accuracy on benchmark datasets by decoding tokens for multiple-choice answers.
  • Weight Merging Utilities - Combines learned low-rank adaptation weights back into the base model checkpoint to eliminate inference latency.
  • Beam Search Implementations - Implements beam search algorithms to optimize the trade-off between decoding speed and translation accuracy.
  • Quantized Fine-Tuning - Employs quantized fine-tuning and trainable layers to reduce memory usage during model adaptation.
  • Model Checkpointing - Manages the saving and loading of model states for updating vocabularies and resuming training.
  • Model Performance Optimization - Transforms model checkpoints into optimized formats and applies quantization to enhance inference speed and reduce memory.
  • Pretrained Embedding Loaders - Initializes model token representations using external pretrained word embedding datasets.
  • Translation Servers - Ships a neural machine translation server that exposes trained models through REST API endpoints.
  • On-the-Fly Training Transformations - Executes sequences of functions, such as tokenization or regularization, on examples dynamically as they are read from disk.
  • Weight Quantization - Lowers memory usage by compressing model weights into lower-precision formats for training and inference.
  • Subword Tokenization - Breaks text into subword units to effectively handle out-of-vocabulary words.
  • Supervised Instruction Learning - Improves model alignment quality by utilizing reference files and multi-task learning during supervised training.
  • Tensor Parallelism - Implements tensor parallelism to split large model weights across multiple GPUs for efficient memory usage.
  • Translation Quality Evaluation - Computes translation quality using standard benchmarks during the training and validation phases.
  • Terminology Placeholder Augmentations - Inserts paired placeholders into training segments using a dictionary to guide the model on specific terminology.
  • Terminology-Aware Translation - Augments training segments with target lemmas and special tokens to ensure adherence to specific terminology.
  • Training Node Orchestration - Orchestrates training jobs across multiple compute nodes and GPUs to handle massive datasets.
  • Configuration-Driven Pipelines - Uses external configuration files to define model architecture, data transforms, and hyperparameters for reproducible pipelines.
  • Custom Text Normalizers - Standardizes punctuation and case normalization to reduce noise in the training dataset.
  • REST APIs - Exposes trained translation models as web services utilizing REST APIs for HTTP requests.
  • Inference Pipeline Hosting - Hosts translation models via a web server that supports custom pre-processing and post-processing functions.
  • Translation API Hosting - Deploys translation models as web services with specific endpoints for model listing and text translation.
  • Natural Language Processing - Open-source neural machine translation implementation.
  • Speech Generation and Recognition - Listed in the “Speech Generation and Recognition” section of the The Incredible Pytorch awesome list.
  • Translation - Listed in the “Translation” section of the The Incredible Pytorch awesome list.

Star history

Star history chart for opennmt/opennmt-pyStar history chart for opennmt/opennmt-py

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to OpenNMT Py

Similar open-source projects, ranked by how many features they share with OpenNMT Py.
  • openbmb/minicpmOpenBMB avatar

    OpenBMB/MiniCPM

    9,464View on GitHub↗

    MiniCPM is a collection of small language models designed for local, on-device deployment in resource-constrained environments. The project focuses on running dense Transformer models on consumer hardware, including GPUs, CPUs, and Apple Silicon, without requiring custom code forks. The project distinguishes itself through heavy optimization for edge hardware, utilizing quantized weight compression in GGUF and MLX formats to reduce memory overhead. It implements advanced inference techniques such as speculative sampling and radix-tree prefix caching to accelerate generation speed and throughp

    Jupyter Notebook
    View on GitHub↗9,464
  • meta-llama/llama-modelsmeta-llama avatar

    meta-llama/llama-models

    7,643View on GitHub↗

    This project provides a foundational framework and reference implementation for executing causal language modeling and multimodal reasoning on local systems. It includes a set of core components for managing model assets, a fine-tuning framework, and structural definitions required to instantiate transformer-based architectures. The system is distinguished by its ability to process combined text and image inputs through multimodal transformer models for visual reasoning and document analysis. It also supports the deployment of quantized models, reducing memory footprints through low-precision

    Python
    View on GitHub↗7,643
  • dusty-nv/jetson-inferencedusty-nv avatar

    dusty-nv/jetson-inference

    8,734View on GitHub↗

    jetson-inference is a set of libraries and tools for executing optimized deep learning models on embedded GPU hardware. Its primary purpose is to enable real-time computer vision and AI inference at the edge with low latency and high throughput. The project distinguishes itself through high-performance streaming analytics and the ability to execute concurrent AI pipelines on auto-grade silicon. It provides specialized support for multi-sensor stream processing, utilizing zero-copy data transport to load camera frames directly into GPU memory. The codebase covers a broad surface of capabiliti

    C++caffecomputer-visiondeep-learning
    View on GitHub↗8,734
  • tingsongyu/pytorch_tutorialTingsongYu avatar

    TingsongYu/PyTorch_Tutorial

    8,018View on GitHub↗

    This project is a comprehensive collection of educational examples and reference implementations for building vision and language models using PyTorch. It serves as a deep learning tutorial covering the end-to-end process of developing neural networks, from initial architecture definition to final production deployment. The repository provides detailed guides on implementing a wide range of domain-specific models, including convolutional neural networks for object detection and segmentation, as well as transformer and recurrent architectures for natural language processing. It emphasizes gene

    Python
    View on GitHub↗8,018
See all 30 alternatives to OpenNMT Py→

Frequently asked questions

What does opennmt/opennmt-py do?

OpenNMT-py is a PyTorch neural machine translation framework used for training and deploying neural machine translation and large language models. It functions as a distributed model training system, an inference engine, and a toolkit for fine-tuning large language models.

What are the main features of opennmt/opennmt-py?

The main features of opennmt/opennmt-py are: Neural Machine Translation Frameworks, PyTorch Training Frameworks, Distributed Training, Multi-Node Inference Scaling, Inference Execution, Language Model Fine-Tuning, Large Scale Training, LLM Fine-Tuning Toolsets.

What are some open-source alternatives to opennmt/opennmt-py?

Open-source alternatives to opennmt/opennmt-py include: openbmb/minicpm — MiniCPM is a collection of small language models designed for local, on-device deployment in resource-constrained… meta-llama/llama-models — This project provides a foundational framework and reference implementation for executing causal language modeling and… dusty-nv/jetson-inference — jetson-inference is a set of libraries and tools for executing optimized deep learning models on embedded GPU… tingsongyu/pytorch_tutorial — This project is a comprehensive collection of educational examples and reference implementations for building vision… opennmt/ctranslate2 — CTranslate2 is a C++ inference engine and runtime for Transformer models, designed to execute models on both CPU and… pytorch/torchtune — Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a…