Datasets:
Publish exact DistillationProject training split and provenance
Browse files- README.md +28 -0
- data/test-500.parquet +3 -0
- data/train-10000.parquet +3 -0
- provenance/countdown_new/manifest.json +67 -0
- provenance/countdown_new/selection_config.json +48 -0
- provenance/countdown_new/training_loader.py +89 -0
- provenance/countdown_previous/manifest.json +51 -0
- provenance/countdown_previous/selection_config.json +101 -0
- provenance/countdown_previous/training_loader.py +90 -0
- provenance/loader-order.json +0 -0
- provenance/phase1-prepared-5000.parquet +3 -0
- provenance/phase2-prepared-5000.parquet +3 -0
- publication.json +55 -0
README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
task_categories:
|
| 5 |
+
- text-generation
|
| 6 |
+
tags:
|
| 7 |
+
- math
|
| 8 |
+
- sft
|
| 9 |
+
- distillation-project
|
| 10 |
+
source_datasets:
|
| 11 |
+
- jasonrqh/Countdown-CoT-20k
|
| 12 |
+
configs:
|
| 13 |
+
- config_name: default
|
| 14 |
+
data_files:
|
| 15 |
+
- split: train
|
| 16 |
+
path: data/train-10000.parquet
|
| 17 |
+
- split: test
|
| 18 |
+
path: data/test-500.parquet
|
| 19 |
+
license: mit
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# DistillationProject: Countdown 10K training set
|
| 23 |
+
|
| 24 |
+
The exact two-phase Countdown curriculum shared by the nine Numina5K through Numina45K → Countdown10K models. The first 5,000 train rows reproduce the first Countdown phase in its actual loader order; the next 5,000 reproduce the continuation phase. The continuation used a fresh optimizer and schedule, so this dataset does not imply a single uninterrupted 10K-epoch optimizer schedule. The 500-puzzle test split is the unchanged separate Countdown benchmark and is disjoint from both train phases. Byte-identical copies of both original prepared 5K parquets are included under provenance. Training puzzle final expressions were checked with the original safe arithmetic verifier and input multiplicity rules; explanatory reasoning was not formally verified.
|
| 25 |
+
|
| 26 |
+
Exact original question and response text is preserved. No resampling, solution rewriting or truncation is performed for publication. Source revisions, row counts, order and file SHA256 values are recorded in `publication.json` and `provenance/`. Prepared tables retain their original columns. Source validity labels do not establish independently verified mathematical correctness.
|
| 27 |
+
|
| 28 |
+
Collection: https://huggingface.co/collections/zbeeb/disstillation-project-6ace05e5f40dbe715407516c
|
data/test-500.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:327c034439b7eabbb690ea9ca346cfa5f118d27685b59de68d21b98b46955f45
|
| 3 |
+
size 1002048
|
data/train-10000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39a5e9d2af63b42ad0f1937e4f0e69f5d6e23baab00f57231c8bafaf1b6fec6d
|
| 3 |
+
size 13838358
|
provenance/countdown_new/manifest.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"at": "2026-10-14T13:51:39.630987+00:00",
|
| 3 |
+
"data_config_sha256": "57fcf454387826aa44cb173399a6f2372e5f464a88dc4a869947b1a95ad12574",
|
| 4 |
+
"dataset": {
|
| 5 |
+
"id": "jasonrqh/Countdown-CoT-20k",
|
| 6 |
+
"revision": "f5464c1062e8f90cf8103f9016bdde39d91e3bb4",
|
| 7 |
+
"split": "train",
|
| 8 |
+
"available_rows": 20480,
|
| 9 |
+
"files": [
|
| 10 |
+
"Countdown-CoT-20k.parquet"
|
| 11 |
+
],
|
| 12 |
+
"local_source_files": {
|
| 13 |
+
"Countdown-CoT-20k.parquet": {
|
| 14 |
+
"path": "/mnt/nfs/home/mohamadzbib/projects/CountdownSFT/data/raw/Countdown-CoT-20k.parquet",
|
| 15 |
+
"sha256": "98c4144be7b327ee835e62c91127f869ed72f342651150fce42b01e2042643cf"
|
| 16 |
+
}
|
| 17 |
+
}
|
| 18 |
+
},
|
| 19 |
+
"examples": 5000,
|
| 20 |
+
"test_examples": 500,
|
| 21 |
+
"previous_examples": 5000,
|
| 22 |
+
"cumulative_examples": 10000,
|
| 23 |
+
"files_sha256": {
|
| 24 |
+
"data/sft-5000.parquet": "a89fc5f71ebc1ab02da937b7331e3123967fdaacb5e290e86b42dc6da024e643",
|
| 25 |
+
"data/train.arrow": "18c22002d0ce02570cae7ce2d73ad76c8b95e981eed2f352f4683e74f4974597",
|
| 26 |
+
"data/test-500.parquet": "327c034439b7eabbb690ea9ca346cfa5f118d27685b59de68d21b98b46955f45",
|
| 27 |
+
"data/prompt-order.json": "a875bb0a59c856c9a18a5bb6ac52c9e1dec14c7168551e0f078b3e3bcaf92887"
|
| 28 |
+
},
|
| 29 |
+
"external_sources_sha256": {
|
| 30 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina5K/data/sft-5000.parquet": "ac3ca0e3f2d8cfd2b0d4f6eb219c7bac94502bce9be16ded8bb7e5284d7cabb5",
|
| 31 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina5K/data/test-500.parquet": "327c034439b7eabbb690ea9ca346cfa5f118d27685b59de68d21b98b46955f45",
|
| 32 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina5K/data/manifest.json": "bcf8476f5ff500d1e768582283c7d114efec6ccbaaf34f0100d2f728b6347a75",
|
| 33 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina10K/data/sft-5000.parquet": "ac3ca0e3f2d8cfd2b0d4f6eb219c7bac94502bce9be16ded8bb7e5284d7cabb5",
|
| 34 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina10K/data/test-500.parquet": "327c034439b7eabbb690ea9ca346cfa5f118d27685b59de68d21b98b46955f45",
|
| 35 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina10K/data/manifest.json": "b58ce20bddbdbd8e53b259cd4497611662e2cfb79d681763c0cb41a03ee176a9",
|
| 36 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina15K/data/sft-5000.parquet": "ac3ca0e3f2d8cfd2b0d4f6eb219c7bac94502bce9be16ded8bb7e5284d7cabb5",
|
| 37 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina15K/data/test-500.parquet": "327c034439b7eabbb690ea9ca346cfa5f118d27685b59de68d21b98b46955f45",
|
| 38 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina15K/data/manifest.json": "cf0335c5d7c7161706d7e4cb291f1dda88613d45e4293b278ff395adcb878789",
|
| 39 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina20K/data/sft-5000.parquet": "ac3ca0e3f2d8cfd2b0d4f6eb219c7bac94502bce9be16ded8bb7e5284d7cabb5",
|
| 40 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina20K/data/test-500.parquet": "327c034439b7eabbb690ea9ca346cfa5f118d27685b59de68d21b98b46955f45",
|
| 41 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina20K/data/manifest.json": "0dcbc1d0f26c4d6e3dce187dc339f32fab7b5fa37e54618afbde46faa4cf5079",
|
| 42 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina25K/data/sft-5000.parquet": "ac3ca0e3f2d8cfd2b0d4f6eb219c7bac94502bce9be16ded8bb7e5284d7cabb5",
|
| 43 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina25K/data/test-500.parquet": "327c034439b7eabbb690ea9ca346cfa5f118d27685b59de68d21b98b46955f45",
|
| 44 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina25K/data/manifest.json": "5e9503e1aba6888afcb7b4f99c3c8fe5a9b8cf4a37565f9abe7b882ee6efd93b",
|
| 45 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina30K/data/sft-5000.parquet": "ac3ca0e3f2d8cfd2b0d4f6eb219c7bac94502bce9be16ded8bb7e5284d7cabb5",
|
| 46 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina30K/data/test-500.parquet": "327c034439b7eabbb690ea9ca346cfa5f118d27685b59de68d21b98b46955f45",
|
| 47 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina30K/data/manifest.json": "fd7e085c9b41bf6131bbf003fe6d806183a6c5db158cecc22d407e7b99e9f7a8",
|
| 48 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina35K/data/sft-5000.parquet": "ac3ca0e3f2d8cfd2b0d4f6eb219c7bac94502bce9be16ded8bb7e5284d7cabb5",
|
| 49 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina35K/data/test-500.parquet": "327c034439b7eabbb690ea9ca346cfa5f118d27685b59de68d21b98b46955f45",
|
| 50 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina35K/data/manifest.json": "6fdc393db5a624768ac8bd2fe4222d8fbd1711a4c55de5c8231d61d9820ed0c9",
|
| 51 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina40K-HP/data/sft-5000.parquet": "ac3ca0e3f2d8cfd2b0d4f6eb219c7bac94502bce9be16ded8bb7e5284d7cabb5",
|
| 52 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina40K-HP/data/test-500.parquet": "327c034439b7eabbb690ea9ca346cfa5f118d27685b59de68d21b98b46955f45",
|
| 53 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina40K-HP/data/manifest.json": "af801f597fa1cefc144375548259a7578cc478724cb4a3e0fb31c96f296c083b",
|
| 54 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina45K-HP/data/sft-5000.parquet": "ac3ca0e3f2d8cfd2b0d4f6eb219c7bac94502bce9be16ded8bb7e5284d7cabb5",
|
| 55 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina45K-HP/data/test-500.parquet": "327c034439b7eabbb690ea9ca346cfa5f118d27685b59de68d21b98b46955f45",
|
| 56 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina45K-HP/data/manifest.json": "b8de7d17c1d9d2e49642e80038e2718c7700970acf88b814373213d6de3f0f64",
|
| 57 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT/data/raw/Countdown-CoT-20k.parquet": "98c4144be7b327ee835e62c91127f869ed72f342651150fce42b01e2042643cf"
|
| 58 |
+
},
|
| 59 |
+
"ordered_train_prompt_ids_sha256": "0744f5ee618b45003fa89bcf4793397ff83536aeb87815644272f5d23cfec753",
|
| 60 |
+
"original_train_prompt_ids_sha256": "087e6c4bd559d1b121e159b0416b2bf17ecb6715a5672de98da3b7f33343c1c5",
|
| 61 |
+
"test_prompt_ids_sha256": "02e34f8bee60377a7dc3af0ad2398803fdc82aeb91cafe657887f86733a793a7",
|
| 62 |
+
"source_question_response_text": "unchanged",
|
| 63 |
+
"selection": "seed42_hash_priority_then_shared_seed42_shuffle",
|
| 64 |
+
"truncated_examples": 0,
|
| 65 |
+
"overlap_previous5000": 0,
|
| 66 |
+
"overlap_test500": 0
|
| 67 |
+
}
|
provenance/countdown_new/selection_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset": {
|
| 3 |
+
"id": "jasonrqh/Countdown-CoT-20k",
|
| 4 |
+
"revision": "f5464c1062e8f90cf8103f9016bdde39d91e3bb4",
|
| 5 |
+
"split": "train",
|
| 6 |
+
"available_rows": 20480,
|
| 7 |
+
"files": [
|
| 8 |
+
"Countdown-CoT-20k.parquet"
|
| 9 |
+
],
|
| 10 |
+
"local_source_files": {
|
| 11 |
+
"Countdown-CoT-20k.parquet": {
|
| 12 |
+
"path": "/mnt/nfs/home/mohamadzbib/projects/CountdownSFT/data/raw/Countdown-CoT-20k.parquet",
|
| 13 |
+
"sha256": "98c4144be7b327ee835e62c91127f869ed72f342651150fce42b01e2042643cf"
|
| 14 |
+
}
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
"selection": {
|
| 18 |
+
"examples": 5000,
|
| 19 |
+
"test_examples": 500,
|
| 20 |
+
"seed": 42,
|
| 21 |
+
"maximum_prompt_tokens": 1024,
|
| 22 |
+
"overlength_policy": "reject",
|
| 23 |
+
"preserve_raw_text": true,
|
| 24 |
+
"deduplication": "target and sorted multiset of input numbers",
|
| 25 |
+
"test_split": "separate seeded puzzle split before training selection",
|
| 26 |
+
"previous_examples": 5000
|
| 27 |
+
},
|
| 28 |
+
"training": {
|
| 29 |
+
"maximum_sequence_tokens": 4096,
|
| 30 |
+
"system_prompt": "Solve the mathematical problem and explain your reasoning."
|
| 31 |
+
},
|
| 32 |
+
"original_projects": [
|
| 33 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina5K",
|
| 34 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina10K",
|
| 35 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina15K",
|
| 36 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina20K",
|
| 37 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina25K",
|
| 38 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina30K",
|
| 39 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina35K",
|
| 40 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina40K-HP",
|
| 41 |
+
"/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina45K-HP"
|
| 42 |
+
],
|
| 43 |
+
"canonical_project": "/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina10K",
|
| 44 |
+
"expected_test_sha256": "327c034439b7eabbb690ea9ca346cfa5f118d27685b59de68d21b98b46955f45",
|
| 45 |
+
"tokenizer_source": "/mnt/nfs/home/mohamadzbib/projects/DistillationProject/models/base",
|
| 46 |
+
"order": "seed42_hash_priority_then_shared_seed42_shuffle",
|
| 47 |
+
"disjoint_policy": "target_and_sorted_input_multiset"
|
| 48 |
+
}
|
provenance/countdown_new/training_loader.py
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import random
|
| 3 |
+
from collections import defaultdict
|
| 4 |
+
|
| 5 |
+
from core import ROOT, Plan, completion_mask, config, digest, world_size
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
class PreparedLoader:
|
| 9 |
+
def __init__(self):
|
| 10 |
+
import pyarrow as pa
|
| 11 |
+
|
| 12 |
+
self.cfg = config()
|
| 13 |
+
self.rank = int(os.environ["RANK"])
|
| 14 |
+
self.world = int(os.environ["WORLD_SIZE"])
|
| 15 |
+
expected = world_size(self.cfg)
|
| 16 |
+
if self.world != expected:
|
| 17 |
+
raise ValueError("Actual distributed world differs from the prepared topology")
|
| 18 |
+
training = self.cfg["training"]
|
| 19 |
+
self.plan = Plan(self.cfg["selection"]["examples"], training["snapshot_examples"], training["global_batch_size"], self.world)
|
| 20 |
+
self.mapping = pa.memory_map(str(ROOT / "data/train.arrow"), "r")
|
| 21 |
+
self.table = pa.ipc.open_file(self.mapping).read_all()
|
| 22 |
+
if len(self.table) != self.plan.examples:
|
| 23 |
+
raise ValueError("Prepared example count differs")
|
| 24 |
+
self.order = list(range(len(self.table)))
|
| 25 |
+
self.cursor = 0
|
| 26 |
+
self.num_samples, self.num_tokens = defaultdict(int), defaultdict(int)
|
| 27 |
+
self.input_tokens = 0
|
| 28 |
+
self.dataset = self
|
| 29 |
+
self.manifest_hash = digest(ROOT / "data/manifest.json")
|
| 30 |
+
|
| 31 |
+
@property
|
| 32 |
+
def step(self):
|
| 33 |
+
return self.plan.processed(self.cursor)
|
| 34 |
+
|
| 35 |
+
@property
|
| 36 |
+
def epoch(self):
|
| 37 |
+
return self.step / self.plan.examples
|
| 38 |
+
|
| 39 |
+
def __iter__(self):
|
| 40 |
+
return self
|
| 41 |
+
|
| 42 |
+
def __next__(self):
|
| 43 |
+
import torch
|
| 44 |
+
|
| 45 |
+
if self.cursor == self.plan.total_steps * self.plan.accumulation:
|
| 46 |
+
raise StopIteration
|
| 47 |
+
index = self.plan.index(self.cursor, self.rank)
|
| 48 |
+
dummy = index is None
|
| 49 |
+
row = self.table.slice(self.order[0 if dummy else index], 1).to_pylist()[0]
|
| 50 |
+
tokens, prefix = row["input_ids"], row["prompt_length"]
|
| 51 |
+
if not 0 < prefix < len(tokens) <= self.cfg["training"]["maximum_sequence_tokens"]:
|
| 52 |
+
raise ValueError("Prepared completion boundary or sequence length is invalid")
|
| 53 |
+
length = len(tokens) - 1
|
| 54 |
+
mask = torch.tensor(completion_mask(tokens, prefix, dummy), dtype=torch.bool)
|
| 55 |
+
if not dummy:
|
| 56 |
+
self.num_samples["countdown"] += 1
|
| 57 |
+
self.num_tokens["countdown"] += int(mask.sum())
|
| 58 |
+
self.input_tokens += length
|
| 59 |
+
self.cursor += 1
|
| 60 |
+
return {"input_ids": torch.tensor(tokens[:-1], dtype=torch.long).unsqueeze(0),
|
| 61 |
+
"target_ids": torch.tensor(tokens[1:], dtype=torch.long).unsqueeze(0),
|
| 62 |
+
"position_ids": torch.arange(length, dtype=torch.long).unsqueeze(0),
|
| 63 |
+
"loss_mask": mask.unsqueeze(0), "seq_lens": torch.tensor([length], dtype=torch.long)}
|
| 64 |
+
|
| 65 |
+
def state_dict(self):
|
| 66 |
+
import numpy as np
|
| 67 |
+
import torch
|
| 68 |
+
|
| 69 |
+
return {"cursor": self.cursor, "rank": self.rank, "world": self.world, "manifest_sha256": self.manifest_hash,
|
| 70 |
+
"cpu_rng": torch.get_rng_state(), "cuda_rng": torch.cuda.get_rng_state(),
|
| 71 |
+
"python_rng": random.getstate(), "numpy_rng": np.random.get_state(),
|
| 72 |
+
"num_samples": dict(self.num_samples), "num_tokens": dict(self.num_tokens), "input_tokens": self.input_tokens}
|
| 73 |
+
|
| 74 |
+
def load_state_dict(self, state):
|
| 75 |
+
import numpy as np
|
| 76 |
+
import torch
|
| 77 |
+
|
| 78 |
+
if (state["rank"], state["world"], state["manifest_sha256"]) != (self.rank, self.world, self.manifest_hash):
|
| 79 |
+
raise ValueError("Resume rank, topology or dataset contract differs; no fallback to rank zero")
|
| 80 |
+
if not 0 <= state["cursor"] <= self.plan.total_steps * self.plan.accumulation or state["cursor"] % self.plan.accumulation:
|
| 81 |
+
raise ValueError("Saved cursor is not at an optimizer boundary")
|
| 82 |
+
self.cursor = state["cursor"]
|
| 83 |
+
self.num_samples.update(state["num_samples"])
|
| 84 |
+
self.num_tokens.update(state["num_tokens"])
|
| 85 |
+
self.input_tokens = state["input_tokens"]
|
| 86 |
+
torch.set_rng_state(state["cpu_rng"])
|
| 87 |
+
torch.cuda.set_rng_state(state["cuda_rng"])
|
| 88 |
+
random.setstate(state["python_rng"])
|
| 89 |
+
np.random.set_state(state["numpy_rng"])
|
provenance/countdown_previous/manifest.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"at": "2026-10-13T16:03:09.259536+00:00",
|
| 3 |
+
"experiment_sha256": "8d7185002f088f425ca0b684b6cf02f745460daaf55fc578421eb6f6cc2854bc",
|
| 4 |
+
"files_sha256": {
|
| 5 |
+
"data/sft-5000.parquet": "ac3ca0e3f2d8cfd2b0d4f6eb219c7bac94502bce9be16ded8bb7e5284d7cabb5",
|
| 6 |
+
"data/test-500.parquet": "327c034439b7eabbb690ea9ca346cfa5f118d27685b59de68d21b98b46955f45",
|
| 7 |
+
"data/train.arrow": "5a84490fccbf2a5fb03bcfbe1d4dfaac1f144f07ffaedda9b93712a1d2739442",
|
| 8 |
+
"data/raw/Countdown-CoT-20k.parquet": "98c4144be7b327ee835e62c91127f869ed72f342651150fce42b01e2042643cf",
|
| 9 |
+
"models/base/README.md": "79a4bd77728fd3a3d26d6fc976f8f99f404b7991c3a1e78c8e983f686d4d72c3",
|
| 10 |
+
"models/base/export.json": "ac5abf7907f7e6e515b3021eceaa518185ceaf9cb736e2b558bbaf6b15c8d39a",
|
| 11 |
+
"models/base/model-00002-of-00002.safetensors": "244d89a2a1d713642c72cb92cb4810d3c684f5c76414f2ef779991193d89c87f",
|
| 12 |
+
"models/base/model.safetensors.index.json": "933e30035b9c3ef2b1bfc488c644f8124f0b54695e246ce7af74390de64217a0",
|
| 13 |
+
"models/base/config.json": "40581758f4416a4efb80079aebdb2aff7bd9abda5bbfc95aae383830a7d570e6",
|
| 14 |
+
"models/base/model-00001-of-00002.safetensors": "0b1c37560c85d4e48f06ef40984f1e39a37f78a089a642859fd7183fd5f8e162",
|
| 15 |
+
"models/base/tokenizer_config.json": "cbea7bca9904d56693d2226b00fd564e3be053609d1e50f8f1885510f0f6e790",
|
| 16 |
+
"models/base/chat_template.jinja": "44d5f08f3f72b837eaad09f13a54c1f9f4eb58d75240334548b7fd52a5437fa5",
|
| 17 |
+
"models/base/generation_config.json": "7553c0106ada1290d2d9501159b74d9381312eeb8dfa14414c0466d6420f2eaf",
|
| 18 |
+
"models/base/tokenizer.json": "3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8"
|
| 19 |
+
},
|
| 20 |
+
"examples": 5000,
|
| 21 |
+
"test_examples": 500,
|
| 22 |
+
"optimizer_steps": 80,
|
| 23 |
+
"snapshots": [
|
| 24 |
+
{
|
| 25 |
+
"optimizer_step": 16,
|
| 26 |
+
"examples_processed": 1000
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"optimizer_step": 32,
|
| 30 |
+
"examples_processed": 2000
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"optimizer_step": 48,
|
| 34 |
+
"examples_processed": 3000
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"optimizer_step": 64,
|
| 38 |
+
"examples_processed": 4000
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"optimizer_step": 80,
|
| 42 |
+
"examples_processed": 5000
|
| 43 |
+
}
|
| 44 |
+
],
|
| 45 |
+
"raw_dataset_sha256": {
|
| 46 |
+
"data/raw/Countdown-CoT-20k.parquet": "98c4144be7b327ee835e62c91127f869ed72f342651150fce42b01e2042643cf"
|
| 47 |
+
},
|
| 48 |
+
"selected_prompt_ids_sha256": "087e6c4bd559d1b121e159b0416b2bf17ecb6715a5672de98da3b7f33343c1c5",
|
| 49 |
+
"test_prompt_ids_sha256": "02e34f8bee60377a7dc3af0ad2398803fdc82aeb91cafe657887f86733a793a7",
|
| 50 |
+
"selection_method": "seeded hash priority over verified unique puzzles; reserve first 500 for test, then select complete train responses fitting context"
|
| 51 |
+
}
|
provenance/countdown_previous/selection_config.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": {
|
| 3 |
+
"id": "local:Qwen2.5-1.5B-NuminaMath-SFT-10k",
|
| 4 |
+
"revision": "483643b2336275849a0849bc970bcd1c05503b93bd57eb76e8869aadd6de7885",
|
| 5 |
+
"local_source": "/mnt/nfs/home/mohamadzbib/projects/DistillationProject/models/snapshots/samples_010000",
|
| 6 |
+
"source_optimizer_step": 158,
|
| 7 |
+
"source_examples": 10000,
|
| 8 |
+
"source_contract": "eeb34a30b8666f32f58755d2ad3f1d969f79cbd0d90ed7d4ecbf13b100d0ac14",
|
| 9 |
+
"revision_type": "native_export_metadata_sha256"
|
| 10 |
+
},
|
| 11 |
+
"dataset": {
|
| 12 |
+
"id": "jasonrqh/Countdown-CoT-20k",
|
| 13 |
+
"revision": "f5464c1062e8f90cf8103f9016bdde39d91e3bb4",
|
| 14 |
+
"split": "train",
|
| 15 |
+
"available_rows": 20480,
|
| 16 |
+
"files": [
|
| 17 |
+
"Countdown-CoT-20k.parquet"
|
| 18 |
+
],
|
| 19 |
+
"local_source_files": {
|
| 20 |
+
"Countdown-CoT-20k.parquet": {
|
| 21 |
+
"path": "/mnt/nfs/home/mohamadzbib/projects/CountdownSFT/data/raw/Countdown-CoT-20k.parquet",
|
| 22 |
+
"sha256": "98c4144be7b327ee835e62c91127f869ed72f342651150fce42b01e2042643cf"
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"selection": {
|
| 27 |
+
"examples": 5000,
|
| 28 |
+
"test_examples": 500,
|
| 29 |
+
"seed": 42,
|
| 30 |
+
"maximum_prompt_tokens": 1024,
|
| 31 |
+
"overlength_policy": "reject",
|
| 32 |
+
"preserve_raw_text": true,
|
| 33 |
+
"deduplication": "target and sorted multiset of input numbers",
|
| 34 |
+
"test_split": "separate seeded puzzle split before training selection"
|
| 35 |
+
},
|
| 36 |
+
"training": {
|
| 37 |
+
"epochs": 1,
|
| 38 |
+
"learning_rate": 5e-06,
|
| 39 |
+
"global_batch_size": 64,
|
| 40 |
+
"micro_batch_size": 1,
|
| 41 |
+
"maximum_sequence_tokens": 4096,
|
| 42 |
+
"warmup_ratio": 0.03,
|
| 43 |
+
"scheduler": "cosine",
|
| 44 |
+
"weight_decay": 0.01,
|
| 45 |
+
"gradient_clip": 1.0,
|
| 46 |
+
"packing": false,
|
| 47 |
+
"snapshot_examples": 1000,
|
| 48 |
+
"keep_all_checkpoints": true,
|
| 49 |
+
"system_prompt": "Solve the mathematical problem and explain your reasoning.",
|
| 50 |
+
"loss": "completion_only_token_mean",
|
| 51 |
+
"finetuning": "full_parameters"
|
| 52 |
+
},
|
| 53 |
+
"topology": {
|
| 54 |
+
"nodes": 1,
|
| 55 |
+
"gpus_per_node": 8,
|
| 56 |
+
"minimum_gpu_memory_gib": 79,
|
| 57 |
+
"maximum_hp_gpus": 18,
|
| 58 |
+
"master_port": 29631,
|
| 59 |
+
"timeout_seconds": 600,
|
| 60 |
+
"node_gpu_counts": [
|
| 61 |
+
8
|
| 62 |
+
],
|
| 63 |
+
"minimum_gpu_memory_gib_by_node": [
|
| 64 |
+
79
|
| 65 |
+
],
|
| 66 |
+
"secondary_nodes": []
|
| 67 |
+
},
|
| 68 |
+
"runtime": {
|
| 69 |
+
"profile": "prime-rl",
|
| 70 |
+
"source_hashes": {
|
| 71 |
+
"prime_rl.trainer.sft.train": "ac5f90594634bf3c57d1770ba6a169ae45fc9f541e25222a27c2e1b0c818e298",
|
| 72 |
+
"prime_rl.trainer.ckpt": "c7488f3ded3b56bb0633b75b361054d9df135b723bf4d9dd0909672a39a9d7ee"
|
| 73 |
+
},
|
| 74 |
+
"expected_packages": {
|
| 75 |
+
"torch": "2.11.0+cu128",
|
| 76 |
+
"transformers": "5.6.2"
|
| 77 |
+
}
|
| 78 |
+
},
|
| 79 |
+
"benchmark_exclusions": [],
|
| 80 |
+
"launch_status": "additional separate 5000-example Countdown run authorized on 2026-10-13",
|
| 81 |
+
"scheduling": {
|
| 82 |
+
"account": "grad-students",
|
| 83 |
+
"partition": "low-priority",
|
| 84 |
+
"qos": "normal",
|
| 85 |
+
"nodes": [
|
| 86 |
+
"deep-chungus-9"
|
| 87 |
+
],
|
| 88 |
+
"gpus_per_node": 8,
|
| 89 |
+
"exclusive": true,
|
| 90 |
+
"after_job": "2153058"
|
| 91 |
+
},
|
| 92 |
+
"comparison": {
|
| 93 |
+
"expected_data_sha256": {
|
| 94 |
+
"data/test-500.parquet": "327c034439b7eabbb690ea9ca346cfa5f118d27685b59de68d21b98b46955f45"
|
| 95 |
+
},
|
| 96 |
+
"test_prompt_ids_sha256": "02e34f8bee60377a7dc3af0ad2398803fdc82aeb91cafe657887f86733a793a7",
|
| 97 |
+
"prefix_examples": 2000,
|
| 98 |
+
"prefix_prompt_ids_sha256": "ed29c54a8c64201c9d639cbb6af94321b802213a2ad69832abadacb52b340c8b",
|
| 99 |
+
"same_size_reference_project": "/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina5K"
|
| 100 |
+
}
|
| 101 |
+
}
|
provenance/countdown_previous/training_loader.py
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import random
|
| 3 |
+
from collections import defaultdict
|
| 4 |
+
|
| 5 |
+
from core import ROOT, Plan, completion_mask, config, digest, world_size
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
class PreparedLoader:
|
| 9 |
+
def __init__(self):
|
| 10 |
+
import pyarrow as pa
|
| 11 |
+
|
| 12 |
+
self.cfg = config()
|
| 13 |
+
self.rank = int(os.environ["RANK"])
|
| 14 |
+
self.world = int(os.environ["WORLD_SIZE"])
|
| 15 |
+
expected = world_size(self.cfg)
|
| 16 |
+
if self.world != expected:
|
| 17 |
+
raise ValueError("Actual distributed world differs from the prepared topology")
|
| 18 |
+
training = self.cfg["training"]
|
| 19 |
+
self.plan = Plan(self.cfg["selection"]["examples"], training["snapshot_examples"], training["global_batch_size"], self.world)
|
| 20 |
+
self.mapping = pa.memory_map(str(ROOT / "data/train.arrow"), "r")
|
| 21 |
+
self.table = pa.ipc.open_file(self.mapping).read_all()
|
| 22 |
+
if len(self.table) != self.plan.examples:
|
| 23 |
+
raise ValueError("Prepared example count differs")
|
| 24 |
+
self.order = list(range(len(self.table)))
|
| 25 |
+
random.Random(self.cfg["selection"]["seed"]).shuffle(self.order)
|
| 26 |
+
self.cursor = 0
|
| 27 |
+
self.num_samples, self.num_tokens = defaultdict(int), defaultdict(int)
|
| 28 |
+
self.input_tokens = 0
|
| 29 |
+
self.dataset = self
|
| 30 |
+
self.manifest_hash = digest(ROOT / "data/manifest.json")
|
| 31 |
+
|
| 32 |
+
@property
|
| 33 |
+
def step(self):
|
| 34 |
+
return self.plan.processed(self.cursor)
|
| 35 |
+
|
| 36 |
+
@property
|
| 37 |
+
def epoch(self):
|
| 38 |
+
return self.step / self.plan.examples
|
| 39 |
+
|
| 40 |
+
def __iter__(self):
|
| 41 |
+
return self
|
| 42 |
+
|
| 43 |
+
def __next__(self):
|
| 44 |
+
import torch
|
| 45 |
+
|
| 46 |
+
if self.cursor == self.plan.total_steps * self.plan.accumulation:
|
| 47 |
+
raise StopIteration
|
| 48 |
+
index = self.plan.index(self.cursor, self.rank)
|
| 49 |
+
dummy = index is None
|
| 50 |
+
row = self.table.slice(self.order[0 if dummy else index], 1).to_pylist()[0]
|
| 51 |
+
tokens, prefix = row["input_ids"], row["prompt_length"]
|
| 52 |
+
if not 0 < prefix < len(tokens) <= self.cfg["training"]["maximum_sequence_tokens"]:
|
| 53 |
+
raise ValueError("Prepared completion boundary or sequence length is invalid")
|
| 54 |
+
length = len(tokens) - 1
|
| 55 |
+
mask = torch.tensor(completion_mask(tokens, prefix, dummy), dtype=torch.bool)
|
| 56 |
+
if not dummy:
|
| 57 |
+
self.num_samples["countdown"] += 1
|
| 58 |
+
self.num_tokens["countdown"] += int(mask.sum())
|
| 59 |
+
self.input_tokens += length
|
| 60 |
+
self.cursor += 1
|
| 61 |
+
return {"input_ids": torch.tensor(tokens[:-1], dtype=torch.long).unsqueeze(0),
|
| 62 |
+
"target_ids": torch.tensor(tokens[1:], dtype=torch.long).unsqueeze(0),
|
| 63 |
+
"position_ids": torch.arange(length, dtype=torch.long).unsqueeze(0),
|
| 64 |
+
"loss_mask": mask.unsqueeze(0), "seq_lens": torch.tensor([length], dtype=torch.long)}
|
| 65 |
+
|
| 66 |
+
def state_dict(self):
|
| 67 |
+
import numpy as np
|
| 68 |
+
import torch
|
| 69 |
+
|
| 70 |
+
return {"cursor": self.cursor, "rank": self.rank, "world": self.world, "manifest_sha256": self.manifest_hash,
|
| 71 |
+
"cpu_rng": torch.get_rng_state(), "cuda_rng": torch.cuda.get_rng_state(),
|
| 72 |
+
"python_rng": random.getstate(), "numpy_rng": np.random.get_state(),
|
| 73 |
+
"num_samples": dict(self.num_samples), "num_tokens": dict(self.num_tokens), "input_tokens": self.input_tokens}
|
| 74 |
+
|
| 75 |
+
def load_state_dict(self, state):
|
| 76 |
+
import numpy as np
|
| 77 |
+
import torch
|
| 78 |
+
|
| 79 |
+
if (state["rank"], state["world"], state["manifest_sha256"]) != (self.rank, self.world, self.manifest_hash):
|
| 80 |
+
raise ValueError("Resume rank, topology or dataset contract differs; no fallback to rank zero")
|
| 81 |
+
if not 0 <= state["cursor"] <= self.plan.total_steps * self.plan.accumulation or state["cursor"] % self.plan.accumulation:
|
| 82 |
+
raise ValueError("Saved cursor is not at an optimizer boundary")
|
| 83 |
+
self.cursor = state["cursor"]
|
| 84 |
+
self.num_samples.update(state["num_samples"])
|
| 85 |
+
self.num_tokens.update(state["num_tokens"])
|
| 86 |
+
self.input_tokens = state["input_tokens"]
|
| 87 |
+
torch.set_rng_state(state["cpu_rng"])
|
| 88 |
+
torch.cuda.set_rng_state(state["cuda_rng"])
|
| 89 |
+
random.setstate(state["python_rng"])
|
| 90 |
+
np.random.set_state(state["numpy_rng"])
|
provenance/loader-order.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
provenance/phase1-prepared-5000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac3ca0e3f2d8cfd2b0d4f6eb219c7bac94502bce9be16ded8bb7e5284d7cabb5
|
| 3 |
+
size 7025077
|
provenance/phase2-prepared-5000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a89fc5f71ebc1ab02da937b7331e3123967fdaacb5e290e86b42dc6da024e643
|
| 3 |
+
size 6833588
|
publication.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"publication_version": 1,
|
| 3 |
+
"raw_question_response_text": "unchanged",
|
| 4 |
+
"seed": 42,
|
| 5 |
+
"sources": {
|
| 6 |
+
"countdown_previous": {
|
| 7 |
+
"root": "/mnt/nfs/home/mohamadzbib/projects/CountdownSFT-5K-Numina10K",
|
| 8 |
+
"config": "configs/experiment.json",
|
| 9 |
+
"config_sha256": "8d7185002f088f425ca0b684b6cf02f745460daaf55fc578421eb6f6cc2854bc",
|
| 10 |
+
"manifest_sha256": "b58ce20bddbdbd8e53b259cd4497611662e2cfb79d681763c0cb41a03ee176a9",
|
| 11 |
+
"loader_sha256": "328ac1dc74339e30c6524912914c2fa13089f15888280596439bcddc9fa11add"
|
| 12 |
+
},
|
| 13 |
+
"countdown_new": {
|
| 14 |
+
"root": "/mnt/nfs/home/mohamadzbib/projects/DistillationProject/countdown-extension-20261014",
|
| 15 |
+
"config": "configs/data.json",
|
| 16 |
+
"config_sha256": "57fcf454387826aa44cb173399a6f2372e5f464a88dc4a869947b1a95ad12574",
|
| 17 |
+
"manifest_sha256": "35bd78d1fe50ae3f3f37cea14be9b42bb2d4712d01edc93d11d33a6a9daf2700",
|
| 18 |
+
"loader_sha256": "1ea26149570cb58eefb5d017c7bac0a72fd9920b021d00cd8103535f9522e5d6"
|
| 19 |
+
}
|
| 20 |
+
},
|
| 21 |
+
"details": {
|
| 22 |
+
"training_examples": 10000,
|
| 23 |
+
"phase1_examples": 5000,
|
| 24 |
+
"phase2_examples": 5000,
|
| 25 |
+
"test_examples": 500,
|
| 26 |
+
"phase_train_overlap": 0,
|
| 27 |
+
"train_test_overlap": 0,
|
| 28 |
+
"maximum_sequence_tokens": 4096,
|
| 29 |
+
"overlength_policy": "reject",
|
| 30 |
+
"training_order": "actual phase1 shuffled loader order, followed by phase2 identity loader order",
|
| 31 |
+
"continuation_optimizer": "fresh optimizer and cosine schedule for the second 5K phase"
|
| 32 |
+
},
|
| 33 |
+
"files": {
|
| 34 |
+
"data/train-10000.parquet": {
|
| 35 |
+
"sha256": "39a5e9d2af63b42ad0f1937e4f0e69f5d6e23baab00f57231c8bafaf1b6fec6d",
|
| 36 |
+
"bytes": 13838358,
|
| 37 |
+
"rows": 10000
|
| 38 |
+
},
|
| 39 |
+
"data/test-500.parquet": {
|
| 40 |
+
"sha256": "327c034439b7eabbb690ea9ca346cfa5f118d27685b59de68d21b98b46955f45",
|
| 41 |
+
"bytes": 1002048,
|
| 42 |
+
"rows": 500
|
| 43 |
+
},
|
| 44 |
+
"provenance/phase1-prepared-5000.parquet": {
|
| 45 |
+
"sha256": "ac3ca0e3f2d8cfd2b0d4f6eb219c7bac94502bce9be16ded8bb7e5284d7cabb5",
|
| 46 |
+
"bytes": 7025077,
|
| 47 |
+
"rows": 5000
|
| 48 |
+
},
|
| 49 |
+
"provenance/phase2-prepared-5000.parquet": {
|
| 50 |
+
"sha256": "a89fc5f71ebc1ab02da937b7331e3123967fdaacb5e290e86b42dc6da024e643",
|
| 51 |
+
"bytes": 6833588,
|
| 52 |
+
"rows": 5000
|
| 53 |
+
}
|
| 54 |
+
}
|
| 55 |
+
}
|