Metaseq is a flexible, high-performance framework for training and serving large-scale sequence models, such as language models, translation systems, and instruction-tuned LLMs. Built on top of PyTorch, it provides distributed training, model sharding, mixed-precision computation, and memory-efficient checkpointing to support models with hundreds of billions of parameters. The framework was used internally at Meta to train models like OPT (Open Pre-trained Transformer) and serves as a reference implementation for scaling transformer architectures efficiently across GPUs and nodes. It supports both pretraining and fine-tuning workflows with data pipelines for text, multilingual corpora, and custom tokenization schemes. Metaseq also includes APIs for evaluation, generation, and model serving, enabling seamless transitions from training to inference.

Features

  • Distributed training and inference for large-scale transformer models
  • Support for model, data, and pipeline parallelism across multiple GPUs and nodes
  • Mixed-precision training and memory-efficient checkpointing
  • Pretraining and fine-tuning workflows for text and multilingual data
  • APIs for text generation, evaluation, and serving large models
  • Reference implementation for Meta’s OPT and other large language models

Project Samples

Project Activity

See All Activity >

Categories

AI Models

License

MIT License

Follow Metaseq

Metaseq Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Metaseq!

Additional Project Details

Programming Language

Python

Related Categories

Python AI Models

Registered

5 days ago