The actual network from network.py/layer.py, ported line-for-line to JavaScript. Type 8 letters/digits/spaces and train — it learns to copy your text exactly, entirely in this page.
Python source: HRVSTNeural on GitHub ↗ · architecture [296, 64, 32, 16, 8, 16, 32, 64, 296], He init, ReLU, MSE.
Small-text training can take a few thousand steps (seconds). Big generic pretraining like train.py stays Python-only.
git clone https://github.com/jio32-af/HRVSTCollection.git cd HRVSTCollection/HRVSTNeural python3 demo.py # letter-mirror demo, opens in your browser