|
Download README.md from Logic-z/srs-benchmark: direct link, hf CLI and curl.
- Browser
- Download file 3.46 kB
-
https://huggingface.co/Logic-z/srs-benchmark/resolve/main/README.md
- Command line
-
hf download hf://Logic-z/srs-benchmark/README.md
-
curl -L -o README.md https://huggingface.co/Logic-z/srs-benchmark/resolve/main/README.md
3.46 kB
| # SRS Benchmark — Leak-Free Pretrained Neural Weights | |
| Pretrained checkpoints for the four neural spaced-repetition memory models evaluated in [Logiquo/srs-benchmark](https://github.com/Logiquo/srs-benchmark), adapted from [open-spaced-repetition/srs-benchmark](https://github.com/open-spaced-repetition/srs-benchmark). | |
| ## Attribution & Retraining Notice | |
| All model architectures and original implementations belong to their respective upstream authors from `open-spaced-repetition/srs-benchmark`: | |
| - **Transformer** (`transformer_day(jarrett)`, `transformer_sec(jarrett)`): **Jarrett Ye (`jarrett`)** | |
| - **NN-17** (`nn_17_day(jarrett)`, `nn_17_sec(jarrett)`): **Jarrett Ye (`jarrett`)** | |
| - **GRU** (`gru_day(expertium)`, `gru_sec(expertium)`): **Expertium (`expertium`)** | |
| - **LSTM** (`lstm_day(jarrett)`, `lstm_sec(jarrett)`): **Jarrett Ye (`jarrett`)** | |
| To eliminate pretraining-to-evaluation leakage, **all 8 checkpoints in this repository were retrained from scratch on user splits strictly disjoint from the benchmark's 1,000-user `eval` split and 10-user `dev` split** (`user_id >= 5000` intersected with the `anki-rwkv` 8k training pool; zero overlap with `eval.txt` and `dev.txt`): | |
| - **Transformer & NN-17**: retrained on `pretrain_500_50` (500 train / 50 val users, 32 epochs), matching upstream's 500-user pretraining scale. | |
| - **GRU & LSTM (Reptile meta-learning)**: retrained on `pretrain_100_30` (100 train / 30 val users, 100 epochs), matching upstream's 100-user pretraining scale. | |
| ## Repository Layout | |
| | Model | Variant | Original Author | Params | Pretrain Split | Files | | |
| | :--- | :---: | :--- | :---: | :---: | :--- | | |
| | **Transformer** | `day` | Jarrett Ye (`jarrett`) | 127 | `pretrain_500_50` (500/50) | `transformer/day/{weights.pt,config.toml,meta.json}` | | |
| | **Transformer** | `sec` | Jarrett Ye (`jarrett`) | 127 | `pretrain_500_50` (500/50) | `transformer/sec/{weights.pt,config.toml,meta.json}` | | |
| | **NN-17** | `day` | Jarrett Ye (`jarrett`) | 39 | `pretrain_500_50` (500/50) | `nn_17/day/{weights.pt,config.toml,meta.json}` | | |
| | **NN-17** | `sec` | Jarrett Ye (`jarrett`) | 39 | `pretrain_500_50` (500/50) | `nn_17/sec/{weights.pt,config.toml,meta.json}` | | |
| | **GRU** | `day` | Expertium (`expertium`) | 505 | `pretrain_100_30` (100/30) | `gru/day/{weights.pt,opt_weights.pt,config.toml,meta.json}` | | |
| | **GRU** | `sec` | Expertium (`expertium`) | 505 | `pretrain_100_30` (100/30) | `gru/sec/{weights.pt,opt_weights.pt,config.toml,meta.json}` | | |
| | **LSTM** | `day` | Jarrett Ye (`jarrett`) | 8,873 | `pretrain_100_30` (100/30) | `lstm/day/{weights.pt,opt_weights.pt,config.toml,meta.json}` | | |
| | **LSTM** | `sec` | Jarrett Ye (`jarrett`) | 8,873 | `pretrain_100_30` (100/30) | `lstm/sec/{weights.pt,opt_weights.pt,config.toml,meta.json}` | | |
| ## Quick Verification (`dev.txt`, 10 users, `fine_tune=True`) | |
| | Model | LogLoss ↓ | AUC ↑ | Scheduling@90% ↑ | Scheduling@80% ↑ | | |
| | :--- | :---: | :---: | :---: | :---: | | |
| | `transformer_day(jarrett)` | 0.4379 | 0.5234 | -0.1916 | +0.1658 | | |
| | `transformer_sec(jarrett)` | 0.6099 | 0.5275 | -0.4334 | +0.0210 | | |
| | `nn_17_day(jarrett)` | 0.3156 | 0.6862 | +0.0836 | +0.2516 | | |
| | `nn_17_sec(jarrett)` | 0.3156 | 0.6653 | -0.0000 | +0.0707 | | |
| | `gru_day(expertium)` | 0.2932 | 0.7508 | +0.2942 | +0.4158 | | |
| | `gru_sec(expertium)` | 0.2872 | 0.7585 | +0.2951 | +0.3897 | | |
| | `lstm_day(jarrett)` | 0.2910 | 0.7541 | +0.2654 | +0.3887 | | |
| | `lstm_sec(jarrett)` | 0.2833 | 0.7651 | +0.2746 | +0.3728 | | |