awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
karpathy avatar

karpathy/nn-zero-to-hero

0
View on GitHub↗
20,351 stars·2,898 forks·Jupyter Notebook·mit·10 views

Nn Zero To Hero

This project is an educational resource and pedagogical framework designed to teach the fundamental mechanics of neural networks and gradient-based optimization. It provides a series of tutorials and code examples that guide users through building deep learning models from scratch, focusing on the implementation of core mathematical primitives and the underlying logic of backpropagation.

The project distinguishes itself by providing a custom automatic differentiation engine that tracks mathematical operations in a dynamic computational graph. By implementing reverse-mode automatic differentiation and topological sort execution, it allows users to compute gradients for complex expressions without manual derivation, providing a transparent view into how neural network architectures are structured and trained.

The repository covers the foundational aspects of machine learning, including the construction of layers and activation functions using scalar-based primitive operations. These tools enable the manual assembly of neural networks, facilitating a conceptual understanding of how systems learn patterns and perform predictions. The content is delivered through a series of Jupyter Notebooks that serve as a structured course on deep learning mechanics.

Features

  • Automatic Differentiation Engines - Ships a pedagogical automatic differentiation engine for training neural networks.
  • Deep Learning Courses - Delivers a structured course on deep learning mechanics through tutorials and code examples.
  • Deep Learning Platforms - Serves as a structured educational platform for building neural networks from scratch.
  • Neural Network Implementations - Provides educational code examples for building and optimizing neural networks from scratch.
  • Gradient Computation - Calculates gradients automatically to facilitate efficient model optimization.
  • Neural Network Implementations - Guides the manual implementation of neural network architectures, layers, and activation functions.
  • Reverse-Mode Differentiation - Implements reverse-mode automatic differentiation to propagate error signals and update model parameters.
  • Neural Network Layers - Enables the construction of custom neural network layers and architectures using basic primitives.
  • Deep Learning Foundations - Educational implementation of neural networks from first principles.
  • Machine Learning Fundamentals - Teaches machine learning fundamentals through hands-on implementation of core algorithms.
  • Dynamic Graph Builders - Constructs computational graphs dynamically at runtime to support flexible model architectures.
  • Computational Graphs - Provides a mechanism for traversing computational graphs to calculate gradients during the backpropagation process.

Star history

Star history chart for karpathy/nn-zero-to-heroStar history chart for karpathy/nn-zero-to-hero

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Nn Zero To Hero

Similar open-source projects, ranked by how many features they share with Nn Zero To Hero.
  • accumulatemore/cvAccumulateMore avatar

    AccumulateMore/CV

    21,907View on GitHub↗

    This project is a comprehensive deep learning framework and educational platform designed for constructing, training, and evaluating neural network architectures. It provides a modular environment for building models through tensor operations and automatic differentiation, supporting a wide range of tasks from image classification and object detection to sequential data processing. Beyond its core technical capabilities, the project distinguishes itself by integrating professional career development resources directly into its learning ecosystem. It offers structured guidance, resume reviews,

    Jupyter Notebookagentagentsbook
    View on GitHub↗21,907
  • d2l-ai/d2l-end2l-ai avatar

    d2l-ai/d2l-en

    29,001View on GitHub↗

    This project is an educational platform and research toolkit designed to teach deep learning through a combination of mathematical theory, visual diagrams, and executable code. It provides a comprehensive environment for building, training, and evaluating neural networks, grounding complex concepts in interactive computational notebooks that allow for hands-on experimentation. The framework distinguishes itself by interleaving theoretical foundations—including linear algebra, calculus, and probability—with practical implementations across multiple industry-standard libraries. It supports flex

    Pythonbookcomputer-visiondata-science
    View on GitHub↗29,001
  • glouppe/info8010-deep-learningglouppe avatar

    glouppe/info8010-deep-learning

    1,291View on GitHub↗

    This project provides a comprehensive educational curriculum and research resource for deep learning, focusing on the theoretical and technical foundations of neural network implementation. It serves as a structured academic guide for building and training complex models from scratch, covering the essential mathematical primitives, computational graph construction, and automatic differentiation mechanisms required for modern machine learning. The repository distinguishes itself through its extensive coverage of generative modeling and specialized neural architectures. It includes practical im

    Jupyter Notebook
    View on GitHub↗1,291
  • tingsongyu/pytorch-tutorial-2ndTingsongYu avatar

    TingsongYu/PyTorch-Tutorial-2nd

    4,555View on GitHub↗

    This project is a comprehensive instructional resource and course for building neural networks using PyTorch. It covers the fundamental building blocks of deep learning, including tensor manipulation, automatic differentiation, and the construction of modular neural network components. The repository serves as a technical guide for several specialized domains. It provides implementation details for computer vision tasks such as image classification, object detection, and semantic segmentation, as well as natural language processing workflows involving transformers, recurrent networks, and gen

    Jupyter Notebookcomputer-visiondeepsortdiffusion-models
    View on GitHub↗4,555
See all 30 alternatives to Nn Zero To Hero→

Frequently asked questions

What does karpathy/nn-zero-to-hero do?

This project is an educational resource and pedagogical framework designed to teach the fundamental mechanics of neural networks and gradient-based optimization. It provides a series of tutorials and code examples that guide users through building deep learning models from scratch, focusing on the implementation of core mathematical primitives and the underlying logic of backpropagation.

What are the main features of karpathy/nn-zero-to-hero?

The main features of karpathy/nn-zero-to-hero are: Automatic Differentiation Engines, Deep Learning Courses, Deep Learning Platforms, Neural Network Implementations, Gradient Computation, Reverse-Mode Differentiation, Neural Network Layers, Deep Learning Foundations.

What are some open-source alternatives to karpathy/nn-zero-to-hero?

Open-source alternatives to karpathy/nn-zero-to-hero include: accumulatemore/cv — This project is a comprehensive deep learning framework and educational platform designed for constructing, training,… d2l-ai/d2l-en — This project is an educational platform and research toolkit designed to teach deep learning through a combination of… glouppe/info8010-deep-learning — This project provides a comprehensive educational curriculum and research resource for deep learning, focusing on the… tingsongyu/pytorch-tutorial-2nd — This project is a comprehensive instructional resource and course for building neural networks using PyTorch. It… hips/autograd — Autograd is an automatic differentiation library and numerical gradient engine for Python. Its primary purpose is to… morvanzhou/tensorflow-tutorial — This project is a collection of educational resources and reference implementations for neural network development…