Skip to content

Instantly share code, notes, and snippets.

View nephel's full-sized avatar
⌨️

Dimitri Koutsos nephel

⌨️
View GitHub Profile
@nephel
nephel / microgpt.py
Created February 12, 2026 08:13 — forked from karpathy/microgpt.py
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
@nephel
nephel / keybase.md
Last active June 25, 2020 17:19
keybase

Keybase proof

I hereby claim:

  • I am nephel on github.
  • I am nephel (https://keybase.io/nephel) on keybase.
  • I have a public key ASCg5hj-Cl-tZbwZeETqlRXJJm1-czhajLakRrISwAys7Ao

To claim this, I am signing this object: