The supervised-reptile repository contains code associated with the paper “On First-Order Meta-Learning Algorithms”, which introduces Reptile, a meta-learning algorithm for learning model parameter initializations that adapt quickly to new tasks. The implementation here is aimed at supervised few-shot learning settings (e.g. Omniglot, Mini-ImageNet), not reinforcement learning, and includes scripts to run training and evaluation for few-shot classification. The fundamental idea is: sample a task, train on that task (inner loop), and then move the initialization parameters toward the adapted parameters (outer loop). Because Reptile is a first-order algorithm, it avoids computing second derivatives or full meta-gradients, making it computationally simpler while retaining good performance. The repo includes training scripts, dataset fetchers (Omniglot, Mini-ImageNet), and modules for defining the Reptile update logic, variables, and hyperparameters.

Features

  • Implementation of the Reptile algorithm for few-shot supervised meta-learning
  • Support scripts for Omniglot and Mini-ImageNet experiment setups
  • First-order meta-learning (no second derivatives) for computational simplicity
  • Command-line interface for hyperparameter control (shots, inner/outer loops, meta steps)
  • Dataset download / preprocessing utilities (e.g. fetch_data.sh)
  • Modular structure: reptile.py, variables.py, dataset modules, experiment drivers

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Supervised Reptile

Supervised Reptile 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 Supervised Reptile!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Algorithms, JavaScript Artificial Intelligence Software

Registered

2025-10-03