RETRO (Retrieval-Enhanced Transformer) is a large language model architecture developed by OpenAI that augments transformer models with a retrieval mechanism. Instead of relying solely on learned parameters, RETRO retrieves relevant documents from a large external database during inference, allowing it to ground responses in external knowledge. This design improves factual accuracy, reduces hallucinations, and enables smaller models to perform comparably to much larger ones by leveraging retrieval. The repository provides code and resources for training and evaluating RETRO models, along with infrastructure for integrating retrieval into the transformer pipeline. It includes example configurations, datasets, and utilities for building retrieval-augmented generation systems. RETRO represents an important step toward combining large-scale language modeling with information retrieval, offering researchers a foundation to study hybrid approaches for scaling AI responsibly.

Features

  • Implements the Retrieval-Enhanced Transformer (RETRO) architecture
  • Integrates external document retrieval into model inference
  • Improves factual grounding and reduces hallucinations
  • Enables smaller models to match performance of larger ones
  • Provides code and configurations for training and evaluation
  • Supports research into retrieval-augmented generation systems

Project Activity

See All Activity >

Categories

Games

License

MIT License

Follow Retro

Retro Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Retro!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C, C++, Python

Related Categories

Python Games, C++ Games, C Games

Registered

2025-10-03