Skip to content

Instantly share code, notes, and snippets.

@JawherKl
JawherKl / train_modal_standalone.py
Created June 27, 2025 10:31 — forked from tokenbender/train_modal_standalone.py
standalone serverless simple character level transformer
import os
import sys
import time
import math
import pickle
from contextlib import nullcontext
from pathlib import Path
import subprocess
from dataclasses import dataclass
import inspect