Skip to content

Instantly share code, notes, and snippets.

View BriantAnthony's full-sized avatar

Briant Anthony BriantAnthony

  • Detroit, MI
View GitHub Profile
@karpathy
karpathy / microgpt.py
Last active February 14, 2026 00:29
microgpt
"""
The most atomic way to train and inference a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@ng-the-engineer
ng-the-engineer / README.md
Created September 21, 2020 09:33
Run redis official container
1. Redis

Redis is used to support the message queue. Run below command to run the offical Redis container

$ docker run --name my-redis-container -p 6379:6379 -d redis

(Optional) To access Redis, check this gist