Watch your neural network forget in real time. Layer by layer. Neuron by neuron. Catastrophic forgetting visualized.
When you fine-tune a model on new data, it silently overwrites what it learned before. You don't see the damage until testing — and by then it's too late.
See exactly which layers degrade first. Pinpoint the forgetting bottleneck in your architecture.
Shareable artifacts that tell a story. Post your model's "death" on Twitter. That's viral content.
Wrap your training loop with viz.watch(). Works with any PyTorch model automatically.
Per-neuron activation retention. Know if your model is 90% alive or 10% alive. Quantify the damage.
Run your trained model on reference data. NeuroFade records per-neuron activation magnitudes as thehealthy state.
Train on new data inside viz.watch(). Forward hooks capture activations every step and compare against baseline.
Export as GIF, print a summary table, or pipe into your monitoring. Layer 7 at 0%? Now you know where to fix.
Post verifiable AI model health certificates to Base mainnet. One tx hash = one immutable proof your model hasn't forgotten.
SHA-256 report hash posted on-chain. Anyone can verify your model's health — no trust required.
Virtuals & ERC-8004 agents can post attestations before each update. Users verify before trusting.
Calldata-only tx. No contract deploy, no ABI. Just a verifiable record on Base, forever.
Anyone can query the NFRD prefix on Basescan and audit every attestation ever posted.
from neurofade import ForgettingVisualizer
from neurofade.chain.attestation import post_attestation
viz = ForgettingVisualizer(model)
viz.set_baseline(task_a_loader)
with viz.watch():
train(model, task_b_loader) # forgetting happens here
# Post health certificate to Base
cert = post_attestation(viz, private_key="0x...", model=model)
print(cert.tx_hash) # basescan.org/tx/0x...
Install with chain support: pip install neurofade[chain]
Requires Python ≥ 3.9 · PyTorch ≥ 2.0 · Pillow ≥ 9.0