AIAny
AI Train2017
Icon for item

fairseq

Sequence modeling toolkit for training custom models for translation, summarization, and language modeling. Reference implementation behind RoBERTa, BART, mBART, XLM-R, and wav2vec 2.0, with multi-GPU and mixed-precision training.

Introduction

For a stretch of the late 2010s, if you read a landmark sequence-modeling paper from Facebook AI Research and wanted the actual training code, the trail usually ended here. Fairseq was never a polished product — it was the lab's internal research harness that happened to be open-sourced, which is exactly why it doubles as the reference implementation behind RoBERTa, BART, mBART, XLM-R, and wav2vec 2.0.

What Sets It Apart
  • A registration system for models, criterions, tasks, optimizers, and LR schedulers. In practice, reproducing a paper often comes down to swapping one registered component rather than rewriting a training loop.
  • Serious distributed-training plumbing for its era: data and model parallelism across machines, gradient accumulation for large effective batch sizes on few GPUs, mixed-precision training, and optimizer/parameter state sharding with CPU offload.
  • Unusual architectural breadth in a single toolkit — CNN, LSTM, standard and non-autoregressive Transformers, plus LightConv and DynamicConv — spanning machine translation, summarization, language modeling, and self-supervised speech.
Great Fit / Look Elsewhere

Great fit if you're reproducing or fine-tuning a model whose official weights and configs shipped through fairseq, or studying how a generation of self-supervised text and speech models were actually trained. Look elsewhere if you're starting fresh in 2026: the repository was archived in March 2026 and is read-only, the Hydra-based config layering carries a steep learning curve, and Hugging Face Transformers (or the successor fairseq2) are the more actively maintained paths for new work.

Information

  • Websitegithub.com
  • OrganizationsMeta AI (formerly Facebook AI Research)
  • AuthorsFacebook AI Research (FAIR)
  • Published date2017/08/29

More Items

GitHub
AI Infra2025

Defines a vendor-neutral JSON/YAML semantic model specification and tooling to exchange metrics, dimensions, lineage and other business semantics across analytics, AI and BI platforms; includes a core spec, validators, converters (dbt, GoodData, Salesforce) and example models.

GitHub
AI Train2025

An asynchronous, high-throughput framework for large-scale reinforcement learning and agentic training that scales to 1T+ MoE models and 1000+ GPUs, with native verifiers integration, end-to-end SFT/RL/evals, and Slurm/Kubernetes deployment; requires NVIDIA GPUs.

GitHub

Runs a self-hosted meeting bot and transcription API that joins Google Meet, Teams and Zoom and streams speaker-attributed transcripts in real time. Compiles meetings into a git-backed Markdown workspace and runs sandboxed agents on your infrastructure; Apache-2.0 and air-gap capable.