Skip to content

Instantly share code, notes, and snippets.

View ByteJoseph's full-sized avatar

Joseph Joseph ByteJoseph

View GitHub Profile
@karpathy
karpathy / microgpt.py
Last active August 22, 2026 14:10
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
@ByteJoseph
ByteJoseph / windows_virtual_env.md
Created June 12, 2024 02:43
Creating and activating a Python virtual environment on Windows

Creating and Activating a Python Virtual Environment on Windows

Windows Logo

Step-by-Step Guide

1. Open Command Prompt or PowerShell