Pinned Repositories
char-rnn
Multi-layer Recurrent Neural Networks (LSTM, GRU, RNN) for character-level language models in Torch
convnetjs
Deep Learning in Javascript. Train Convolutional Neural Networks (or ordinary ones) in your browser.
cryptos
Pure Python from-scratch zero-dependency implementation of Bitcoin for educational purposes
llama2.c
Inference Llama 2 in one file of pure C
llm.c
LLM training in simple, raw C/CUDA
micrograd
A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API
minbpe
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
minGPT
A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training
nanoGPT
The simplest, fastest repository for training/finetuning medium-sized GPTs.
nn-zero-to-hero
Neural Networks: Zero to Hero
karpathy's Repositories
karpathy/neuraltalk2
Efficient Image Captioning code in Torch, runs on GPU
karpathy/reinforcejs
Reinforcement Learning Agents in Javascript (Dynamic Programming, Temporal Difference, Deep Q-Learning, Stochastic/Deterministic Policy Gradients)
karpathy/recurrentjs
Deep Recurrent Neural Networks and LSTMs in Javascript. More generally also arbitrary expression graphs with automatic differentiation.
karpathy/tsnejs
Implementation of t-SNE visualization algorithm in Javascript.
karpathy/pytorch-normalizing-flows
Normalizing flows in PyTorch. Current intended use is education not production.
karpathy/paper-notes
Random notes on papers, likely a short-term repo.
karpathy/svmjs
Support Vector Machine in Javascript (SMO algorithm, supports arbitrary kernels) + GUI demo
karpathy/pytorch-made
MADE (Masked Autoencoder Density Estimation) implementation in PyTorch
karpathy/find-birds
Find people you should follow on Twitter based on who the people you follow follow
karpathy/forestjs
Random Forest implementation for JavaScript. Supports arbitrary weak learners. Includes interactive demo.
karpathy/researchlei
An Academic Papers Management and Discovery System
karpathy/Random-Forest-Matlab
A Random Forest implementation for MATLAB. Supports arbitrary weak learners that you can define.
karpathy/nipspreview
Scripts that generate .html to more easily see NIPS papers
karpathy/scriptsbots
ScriptBots is an Open Source Evolutionary Artificial Life Simulation of Predator-Prey dynamics, written by Andrej Karpathy.
karpathy/tf-agent
tensorflow reinforcement learning agents for OpenAI gym environments
karpathy/examples
A set of examples around pytorch in Vision, Text, Reinforcement Learning, etc.
karpathy/EigenLibSVM
A wrapper for LibSVM that lets you train SVM's directly on Eigen library matrices in C++
karpathy/lifejs
Artificial Life simulator using canvas. Based on https://github.com/karpathy/scriptsbots
karpathy/MatlabWrapper
C++ convenience class to communicate with a Matlab instance. Send matrices back and forth, execute arbitrary Matlab commands, or drop into interactive Matlab session right in the middle of your C++ code.
karpathy/twoolpy
useful scripts to work with Twitter + Python. Requires the tweepy library.
karpathy/scholaroctopus
A set of tools/pages that help explore academic literature
karpathy/nn
karpathy/sqlitedict
Persistent dict, backed by sqlite3 and pickle, multithread-safe.
karpathy/simple-amt
A microframework for working with Amazon's Mechanical Turk