"""run point-1. usage: python3 generate.py ["prompt"] [--temp T] [--n N] [--seed S]""" import json, math, random, struct, sys BYTES_VOCAB = [10] + list(range(32, 127)) H = {b: max(-1.0, min(1.0, (b - 79) / 47.0)) for b in BYTES_VOCAB} def load_w(path="model.safetensors"): with open(path, "rb") as f: (hlen,) = struct.unpack("