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

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Algorithms, JavaScript Artificial Intelligence Software

Registered

7 days ago