Skip to content

Instantly share code, notes, and snippets.

View ByteJoseph's full-sized avatar
:atom:
I will try my best

Joseph Joseph ByteJoseph

:atom:
I will try my best
  • India , Kerala
  • 19:53 (UTC +05:30)
  • Npm bytejoseph
View GitHub Profile
"""
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