RWKV training and compression research for Anki, with a reproducible SRS benchmark baseline
// momentum
// why it's here
- Created 7 weeks ago and already shipping
- Built almost entirely by one person
- Health 80/100 with only 27 stars
- 8 releases in the last 90 days
// how to help
// readme
anki-rwkv
Training and compression research for the RWKV spaced-repetition model used in Anki. This repository contains the RWKV model, preprocessing, CUDA training kernel, trainer, evaluation, and recurrent inference code from srs-benchmark, with the small supporting subset needed to run that pipeline independently.
The starting point is the original 2,762,884-parameter architecture. Expertium’s historical 192,800-parameter iter36 architecture is included separately for matched CPU and CUDA trials. The default baseline remains unchanged; compressed-state deployment is documented as research and is not enabled in these trials.
Today most of the work happens in “the factory” described below: a daily loop that designs, trains, scores and packages families of RWKV memory models for the Anki fork. The sections after it are the project’s earlier history (the R01 speed campaign and the first trials) and the reference procedures.