karpathy / micrograd
A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API
☆11,065Updated 6 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,750Updated 8 months ago
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆21,268Updated 5 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆39,060Updated last month
- Neural Networks: Zero to Hero☆13,101Updated 5 months ago
- LLM training in simple, raw C/CUDA☆25,227Updated 4 months ago
- ☆3,743Updated last year
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆9,366Updated 7 months ago
- Inference Llama 2 in one file of pure C☆17,974Updated 6 months ago
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆27,826Updated this week
- Train transformer language models with reinforcement learning.☆11,140Updated this week
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆11,453Updated this week
- Pure Python from-scratch zero-dependency implementation of Bitcoin for educational purposes☆1,666Updated 3 years ago
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆17,165Updated this week
- DSPy: The framework for programming—not prompting—language models☆21,675Updated this week
- Explanation to key concepts in ML☆7,443Updated this week
- LLM101n: Let's build a Storyteller☆31,414Updated 6 months ago
- MLX: An array framework for Apple silicon☆18,837Updated this week
- Flax is a neural network library for JAX that is designed for flexibility.☆6,313Updated this week
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆5,777Updated last month
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆13,255Updated 4 months ago
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,218Updated 7 months ago
- Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more☆31,165Updated this week
- Machine Learning Engineering Open Book☆12,671Updated this week
- A playbook for systematically maximizing the performance of deep learning models.☆27,940Updated 7 months ago
- Flexible and powerful tensor operations for readable and reliable code (for pytorch, jax, TF and others)☆8,697Updated this week
- NanoGPT (124M) in 3 minutes☆2,210Updated this week
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Ad…☆6,028Updated 5 months ago
- Video+code lecture on building nanoGPT from scratch☆3,842Updated 5 months ago
- The standard data-centric AI package for data quality and machine learning with messy, real-world data and labels.☆10,141Updated this week
- llama3 implementation one matrix multiplication at a time☆14,088Updated 8 months ago