Text Generation
PEFT
PyTorch
English
codi
latent-reasoning
chain-of-thought
continuous-cot
interpretability
lora
conversational
Instructions to use cds-jb/codi_qwen3-8b-answer_only with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use cds-jb/codi_qwen3-8b-answer_only with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Training curves: add epoch axis on top
Browse files- README.md +2 -2
- plot_training_curves.png +2 -2
- training_logs/plot_training_curves.py +2 -0
README.md
CHANGED
|
@@ -94,8 +94,8 @@ Llama-1B model additionally warm-started from a prior CODI checkpoint; this one
|
|
| 94 |
|
| 95 |
Blue: training loss of each component (log scale). Orange, right axis: GSM8k test accuracy of
|
| 96 |
the head that loss trains, measured on each epoch checkpoint (mean ± std over 3 samples):
|
| 97 |
-
`ans_ce` → direct answer, `ref_ce` → verbalized CoT, `ce` → latent CoT.
|
| 98 |
-
epoch ends. The dashed line marks where the run was resumed from the step-6064 checkpoint after
|
| 99 |
a crash; the curves continue without a jump.
|
| 100 |
|
| 101 |
- All losses fall sharply in the first ~200 steps (learning-rate warm-up).
|
|
|
|
| 94 |
|
| 95 |
Blue: training loss of each component (log scale). Orange, right axis: GSM8k test accuracy of
|
| 96 |
the head that loss trains, measured on each epoch checkpoint (mean ± std over 3 samples):
|
| 97 |
+
`ans_ce` → direct answer, `ref_ce` → verbalized CoT, `ce` → latent CoT. The bottom axis is
|
| 98 |
+
the optimizer step, the top axis the epoch (1516 steps each); grey lines mark epoch ends. The dashed line marks where the run was resumed from the step-6064 checkpoint after
|
| 99 |
a crash; the curves continue without a jump.
|
| 100 |
|
| 101 |
- All losses fall sharply in the first ~200 steps (learning-rate warm-up).
|
plot_training_curves.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
training_logs/plot_training_curves.py
CHANGED
|
@@ -23,6 +23,8 @@ for ax, (k, title, mode) in zip(axes.flat, panels):
|
|
| 23 |
for e in range(1, 5): ax.axvline(e * STEPS_PER_EPOCH, color='0.85', lw=1, zorder=0)
|
| 24 |
ax.axvline(RESUME, color='0.4', lw=1, ls='--', zorder=0)
|
| 25 |
ax.set_title(title); ax.grid(alpha=0.3, which='both')
|
|
|
|
|
|
|
| 26 |
if mode:
|
| 27 |
e = ev[ev['mode'] == mode]
|
| 28 |
tx = ax.twinx()
|
|
|
|
| 23 |
for e in range(1, 5): ax.axvline(e * STEPS_PER_EPOCH, color='0.85', lw=1, zorder=0)
|
| 24 |
ax.axvline(RESUME, color='0.4', lw=1, ls='--', zorder=0)
|
| 25 |
ax.set_title(title); ax.grid(alpha=0.3, which='both')
|
| 26 |
+
top = ax.secondary_xaxis('top', functions=(lambda s: s / STEPS_PER_EPOCH, lambda e: e * STEPS_PER_EPOCH))
|
| 27 |
+
top.set_xticks(range(6)); top.set_xlabel('epoch')
|
| 28 |
if mode:
|
| 29 |
e = ev[ev['mode'] == mode]
|
| 30 |
tx = ax.twinx()
|