Downloads · 30 days
0
thefinalboss/kahnn-nano
kahnn-nano is a machine learning model from thefinalboss. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as mit.
Neuroscience-inspired non-Transformer model from AFKmoney/kahnn.
Downloads · 30 days
0
Access
Public
Updated Sep 10, 2026
Repo size
1.7 GB
Likes
0
Public
Click a slice to open those files.
.pt1.7 GB · 100%
From the Hugging Face model README
Neuroscience-inspired non-Transformer model from AFKmoney/kahnn.
| File | What |
|---|---|
ckpt_final.pt | Nano after ~37M tokens CPU pretrain (2026-09-09) |
ckpt_teach.pt | Same + taught fact « La capitale du Canada est Ottawa. » |
All training / teach / forget code lives in the GitHub repo (not duplicated here):
train_universal.py, teach.py, generate.pydocs/UNIVERSAL_TRAINING.md, docs/LIFELONG_LEARNING.md, docs/CPU_RUN_LOG.mdgit clone https://github.com/AFKmoney/kahnn
cd kahnn
pip install -r requirements.txt
# download weights from this Hub repo into ./runs/
python generate.py --checkpoint ./runs/nano_base/ckpt_final.pt --prompt "Once upon a time" --device cpu
python teach.py probe --text "capitale du Canada" --resume ./runs/teach/ckpt_teach.pt --config nano
See GitHub repo.