Skip to content

Instantly share code, notes, and snippets.

View plvo's full-sized avatar

pelavo plvo

View GitHub Profile
@karpathy
karpathy / microgpt.py
Last active February 17, 2026 19:04
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
@utxo-detective
utxo-detective / unisat-provider.ts
Created September 13, 2024 17:51
sCrypt Unisat Provider
import {
Provider,
Signer,
SignatureRequest,
SignatureResponse,
AddressOption
} from 'scrypt-ts'
import { bsv } from 'scryptlib'
import { Transaction } from '@scure/btc-signer'