karpathy / micrograd
A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API
☆11,453Updated 7 months ago
Alternatives and similar repositories for micrograd:
Users that are interested in micrograd are comparing it to the libraries listed below
- An autoregressive character-level language model for making more things☆2,948Updated 9 months ago
- Neural Networks: Zero to Hero☆13,455Updated 7 months ago
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆28,404Updated this week
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆40,237Updated 3 months ago
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆21,600Updated 7 months ago
- ☆3,879Updated last year
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆9,502Updated 8 months ago
- Machine Learning Engineering Open Book☆13,171Updated 2 weeks ago
- Video+code lecture on building nanoGPT from scratch☆4,001Updated 7 months ago
- LLM training in simple, raw C/CUDA☆26,079Updated 5 months ago
- Inference Llama 2 in one file of pure C☆18,196Updated 7 months ago
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆13,898Updated this week
- MLX: An array framework for Apple silicon☆19,742Updated this week
- Solve puzzles. Improve your pytorch.☆3,486Updated 8 months ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆11,841Updated this week
- Accessible large language models via k-bit quantization for PyTorch.☆6,818Updated this week
- Unsupervised text tokenizer for Neural Network-based text generation.☆10,707Updated 3 weeks ago
- Flexible and powerful tensor operations for readable and reliable code (for pytorch, jax, TF and others)☆8,805Updated last month
- DSPy: The framework for programming—not prompting—language models☆22,574Updated this week
- Pure Python from-scratch zero-dependency implementation of Bitcoin for educational purposes☆1,692Updated 3 years ago
- Fast and memory-efficient exact attention☆16,462Updated this week
- Train transformer language models with reinforcement learning.☆12,719Updated this week
- arxiv-sanity lite: tag arxiv papers of interest get recommendations of similar papers in a nice UI using SVMs over tfidf feature vectors …☆1,252Updated last year
- llama3 implementation one matrix multiplication at a time☆14,285Updated 10 months ago
- Notebooks and various random fun☆1,090Updated last year
- Structured Text Generation☆11,109Updated this week
- The n-gram Language Model☆1,402Updated 7 months ago
- Development repository for the Triton language and compiler☆14,931Updated this week
- Trax — Deep Learning with Clear Code and Speed☆8,177Updated last month
- An unnecessarily tiny implementation of GPT-2 in NumPy.☆3,330Updated last year