Skip to content

Instantly share code, notes, and snippets.

View AvikantSrivastava's full-sized avatar
:octocat:
Building Intelligent Systems

Avikant Srivastava AvikantSrivastava

:octocat:
Building Intelligent Systems
View GitHub Profile
@karpathy
karpathy / microgpt.py
Last active February 19, 2026 01:53
microgpt
"""
The most atomic way to train and run inference for 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
@tterb
tterb / README-badges.md
Last active February 13, 2026 03:44
A collection of README badges

Badges

License

MIT License GPLv3 License AGPL License

Version

Version GitHub Release