Research Project Template#
Work-in-Progress
Please note: This is a work-in-progress and will get better over time! We want your feedback!π
This is a research project template. It is meant to be a starting point for ML researchers at Mila.
For more context, see this introduction to the project..
-
Set up in 5 minutes
Get started quickly with an interactive installation script and get up and running in minutes
-
Well-tested, robust codebase
Focus on your research! Let tests take care of detecting bugs and broken configs!
-
Support for both PyTorch and Jax
You can use both PyTorch and Jax for your algorithms! (Lightning handles the rest.)
-
Ready-to-use examples
Includes examples for Supervised learning(1) and NLP π€, with unsupervised learning and RL coming soon.
- The source code for the example is available here
Starting a new project#
Setting up your environment#
-
Install
uv
: -
Create your new project
Use this command to create a new project from this template: (Replace
research_project
with the path to the new project root folder.)This will ask you a few questions and help setup your project.
- Install WSL following this guide
- Follow the installation instructions for Linux
Navigate to this new project, open up your favorite IDE, and voila! You're all setup! π
Use this command to see all available options:
Usage#
To see all available options:
For a detailed list of examples, see the examples page.