learn2learn
by Community
A PyTorch Library for Meta-learning Research
OSS
learn2learn
Added 1 June 2026
Overview
learn2learn is a PyTorch library that provides building blocks and algorithms for meta-learning research. It offers implementations of popular meta-learning methods such as MAML, Reptile, and ProtoNets, along with utilities for few-shot learning and hyperparameter optimization. The library is designed to help researchers quickly prototype and benchmark meta-learning models.
Best for
Best for
Researchers and students exploring meta-learning techniques in PyTorch
Use cases
- Implementing few-shot classification and regression tasks
- Benchmarking meta-learning algorithms on standard datasets
- Prototyping custom meta-learning approaches with PyTorch
Notes
learn2learn is a PyTorch library that provides building blocks and algorithms for meta-learning research. It offers implementations of popular meta-learning methods such as MAML, Reptile, and ProtoNets, along with utilities for few-shot learning and hyperparameter optimization. The library is designed to help researchers quickly prototype and benchmark meta-learning models.
2,883 stars on GitHub. Last updated 2025-12-16. Licensed MIT.
Use cases
- Implementing few-shot classification and regression tasks
- Benchmarking meta-learning algorithms on standard datasets
- Prototyping custom meta-learning approaches with PyTorch
Pros
- Well-documented and actively maintained with over 2,800 GitHub stars
- Provides a unified interface for multiple meta-learning algorithms
- Seamlessly integrates with the PyTorch ecosystem
Cons
- Limited to PyTorch, not compatible with other deep learning frameworks
- Steep learning curve for users unfamiliar with meta-learning concepts
- Not designed for production deployment; focused on research and experimentation
Indexed from awesome-llmops and enriched against its public facts.
Pros
- Well-documented and actively maintained with over 2,800 GitHub stars
- Provides a unified interface for multiple meta-learning algorithms
- Seamlessly integrates with the PyTorch ecosystem
Cons
- Limited to PyTorch, not compatible with other deep learning frameworks
- Steep learning curve for users unfamiliar with meta-learning concepts
- Not designed for production deployment; focused on research and experimentation
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.