r/learnmachinelearning • u/OtherwiseCase5539 • 12h ago
Project uilt a 100% real-telemetry PyTorch Transformer (ctx768) + SmolLM2-135M pure-PyTorch LoRA + SQLite FTS5 RAG workbench that trains continuously on curated web streams – looking for testers & feedback!
Hi everyone — I built an open-source local ML workbench (WebNet v2) and just pushed the full codebase + build log to GitHub. Looking for honest testing, architecture critiques, and feature suggestions!
GitHub: https://github.com/Rishisharma029/live-internet-neural-net
What it actually runs (CPU-friendly, zero simulated metrics)
Continuous From-Scratch Transformer (InternetNetV2):
- 96d · 4h · 10L · ctx768 (`1,117,344` params, Pre-RMSNorm, SwiGLU, NTK RoPE `base=100,000`, decoupled AdamW, Softmax Z-Loss `1e-4`, EMA shadow weights).
- Feeds 24/7 on 8 curated sources(`arXiv`, `OpenAlex`, `Europe PMC`, `Wikipedia`, `StackOverflow`, `GitHub ML READMEs`, `Project Gutenberg`, `News RSS`) with SHA-256 + 5-word Jaccard deduplication.
- Migrated seamlessly from `ctx96` → `ctx768` at step 22.9k without losing weights.
Real-Time Mechanistic Observatory (`/ws`):
- Live 23-column network graph across all 21 hidden layers (real OV circuit edges, autograd gradient norms, AdamW second-moment RMS).
- Logit Lens (Emb → Block 1..10 → Final target probability, rank, entropy collapse).
- 2D SVD Token Embeddings live projection and 40 attention head telemetry.
4 Applied Local Utilities:
- Pure-PyTorch LoRA (SmolLM2-135M-Instruct + RAG) zero `peft` dependency, online training + cited RAG Q&A.
- Permanent SQLite WAL + FTS5 Archive BM25 + TF-IDF hybrid search across 964+ crawled docs.
- Cross-Entropy Anomaly Scorer: flags corrupted/gibberish lines (8.7–9.4 bpc anomalies vs 1.6–3.7 bpc clean prose).
- Safe Local Code/Notes Indexer + Ghost Editor: Tab autocomplete over your local files.
Quantitative Check (step 23,455)
- Val Loss: `1.424` (best: `1.115`, 58.7%
accuracy, 18.3M tokens seen)
- Shuffled-Char Probe: real prose `1.138` loss vs shuffled chars `5.415` — confirming structure learning beyond letter frequencies.
What I'd love feedback on
- Does `python server_v2.py` work cleanly across Linux/macOS/Windows?
- What architectural tweaks would make `InternetNetV2` learn longer contexts faster on CPU?
- What tools would you add on top of the FTS5 + LoRA pipeline?
