nn-template  by grok-ai

PyTorch project template for fast AI research prototyping

Created 4 years ago
646 stars

Top 51.5% on SourcePulse

GitHubView on GitHub
Project Summary

This repository provides a generic template for bootstrapping PyTorch projects, aimed at researchers and developers seeking a structured and reproducible environment. It streamlines project setup, reduces boilerplate code, and integrates essential tools for machine learning workflows, accelerating prototyping and ensuring experiment reproducibility.

How It Works

The template leverages Cookiecutter for guided project generation, allowing users to customize their project structure and configurations. It integrates key libraries like PyTorch Lightning, Hydra, Hugging Face Datasets, Weights and Biases, Streamlit, MkDocs, DVC, and GitHub Actions to provide a comprehensive, production-ready foundation for ML research and development.

Quick Start & Requirements

  • Install Cookiecutter: pip install cookiecutter
  • Generate project: cookiecutter https://github.com/grok-ai/nn-template
  • Prerequisites: Python, Cookiecutter. Integrations may require additional setup (e.g., API keys for Weights and Biases).
  • Documentation: https://github.com/grok-ai/nn-template

Highlighted Details

  • Guided setup for project bootstrapping.
  • Integrates PyTorch Lightning, Hydra, Hugging Face Datasets, Weights and Biases, Streamlit, MkDocs, DVC, and GitHub Actions.
  • Enforces Python best practices and automates CI/CD.
  • Aims to ensure experiment reproducibility.

Maintenance & Community

  • Maintainers: Valentino Maiorca, Luca Moschella.
  • No community links (Discord/Slack) or roadmap are provided in the README.

Licensing & Compatibility

  • License: Not explicitly stated in the README.
  • Compatibility: Designed for PyTorch projects; commercial use compatibility depends on the unstated license.

Limitations & Caveats

The README does not specify the project's license, which is crucial for determining commercial use compatibility. Community support channels and a roadmap are also not detailed, potentially impacting long-term project health and user support.

Health Check
Last Commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
0 stars in the last 30 days

Explore Similar Projects

Starred by Jiayi Pan Jiayi Pan(Author of SWE-Gym; MTS at xAI), Christian Laforte Christian Laforte(Distinguished Engineer at NVIDIA; Former CTO at Stability AI), and
3 more.

lightning-hydra-template by ashleve

0.1%
5k
ML experimentation template using PyTorch Lightning + Hydra
Created 4 years ago
Updated 1 year ago
Starred by Aravind Srinivas Aravind Srinivas(Cofounder of Perplexity), Stas Bekman Stas Bekman(Author of "Machine Learning Engineering Open Book"; Research Engineer at Snowflake), and
4 more.

Awesome-pytorch-list by bharathgs

0.1%
16k
Curated list of PyTorch content on GitHub
Created 8 years ago
Updated 1 year ago
Feedback? Help us improve.