Spaces:
Sleeping
Sleeping
Commit History
-
Fix default temp=0.8, top_k=20, fix fallback tokenizer to 38 chars
DavinciDreams443b747 -
Switch to Python/FastAPI server (RandyGPT pattern)
DavinciDreams +1: Claude Opus 4.6Replace Julia HTTP.jl server with FastAPI/uvicorn for reliable HF Spaces streaming. Loads Flux JLD2 weights via h5py into PyTorch. - server.py: FastAPI + StreamingResponse, JLD2→PyTorch weight loader - GPT-2 architecture: LayerNorm, GELU, combined QKV, 6L×384D, 10.7M params - Downloads best_model.jld2 + vocab.json from HF Hub at startup - Dockerfile: python:3.11-slim + uvicorn - Remove Julia files Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>492f84f