facebookresearch/recipes
Recipes are a standard, well supported set of blueprints for machine learning engineers to rapidly train models using the latest research techniques without significant engineering overhead.Specifically, recipes aims to provide- Consistent access to pre-trained SOTA models ready for production- Reference implementations for SOTA research reproducibility, and infrastructure to guarantee correctness, efficiency, and interoperability.
解决的问题
消除了训练深度学习模型时编写重复性「胶水代码」的需要。用户无需从零开始构建训练循环、配置解析器和数据加载器,而是可以直接从常见机器学习任务的生产就绪、可复现的基线开始。
工作原理
该库提供「配方」——即开即用的 Python 应用程序,将模型架构、训练器和配置打包在一起。这些配方是模块化的,用户可以通过配置文件或直接修改代码,轻松替换组件(例如将模型从 ResNet18 更换为 ResNet52),以实现更深层次的定制。
适用人群
希望快速尝试高质量基线,或需要一个可靠起点来扩展到自己特定项目的机器学习研究人员和开发者。
主要亮点
- 支持视觉(图像分类)和文本(文档分类)的即开即用配方。
- 可从本地笔记本电脑扩展到大型集群。
- 使用 Hydra 实现灵活的配置和超参数管理。
- 专注于准确复现研究论文中的基线。
相关
- 项目
- 项目
- 项目
- 项目
- 项目