Add the model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: pytorch
|
| 4 |
+
tags:
|
| 5 |
+
- speculative-decoding
|
| 6 |
+
- latent-feedback
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# Feedback Shortcut checkpoints
|
| 10 |
+
|
| 11 |
+
The trained models of *Feedback Shortcut: Speculative Decoding for Latent Feedback Transformers*: 36 runs, six
|
| 12 |
+
settings at 135M and 780M parameters with three seeds each. Code, configs and the measurements that read these folders:
|
| 13 |
+
[ifm-ai/LoRM](https://github.com/ifm-ai/LoRM/tree/main/works/feedback_shortcut).
|
| 14 |
+
|
| 15 |
+
| Setting | Model | Runs |
|
| 16 |
+
| --- | --- | --- |
|
| 17 |
+
| `transformer-mtp` | Transformer with MTP heads | `transformer-mtp-135m`, `transformer-mtp-780m` (+ `-s1`, `-s2`) |
|
| 18 |
+
| `feedback` | Latent feedback Transformer with MTP heads (zeros and MTP-state stand-ins) | `feedback-135m`, `feedback-780m` (+ `-s1`, `-s2`) |
|
| 19 |
+
| `state-alignment` | State alignment | `state-alignment-135m`, `state-alignment-780m` (+ `-s1`, `-s2`) |
|
| 20 |
+
| `in-place` | In-place substitution | `in-place-135m`, `in-place-780m` (+ `-s1`, `-s2`) |
|
| 21 |
+
| `in-place-half` | In-place substitution in half the sequences | `in-place-half-135m`, `in-place-half-780m` (+ `-s1`, `-s2`) |
|
| 22 |
+
| `in-place-decay` | In-place substitution only during the learning-rate decay | `in-place-decay-135m`, `in-place-decay-780m` (+ `-s1`, `-s2`) |
|
| 23 |
+
|
| 24 |
+
Each folder holds:
|
| 25 |
+
|
| 26 |
+
- `checkpoint.pt`: the fp32 model weights (`{"model": state_dict}`), loaded by `lorm.eval.run.load_run`.
|
| 27 |
+
- `config.yaml`: the run's resolved config, as `works/feedback_shortcut/make_config.py` writes it.
|
| 28 |
+
- `metrics.jsonl`: its training and validation log.
|
| 29 |
+
|
| 30 |
+
```bash
|
| 31 |
+
hf download IFM/feedback-shortcut-checkpoints --local-dir runs # or --include 'state-alignment-135m/*'
|
| 32 |
+
```
|