eoinf commited on
Commit
3aa6cdc
·
verified ·
1 Parent(s): 3fac078

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ # Exact experiment data archive
2
+
3
+ Archive of exact NumPy caches, split metadata and available generator/source files. No re-sampling or train/test relabeling is performed. Split metadata records seeds, tokenizer/source revisions and packing. A training-data evaluation remains a training-data evaluation; independently sampled synthetic tests are distinct from held-out natural-language documents. dataset_manifest.json records checksums; experiment_configs/ records the consuming experiments.
construction.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source_report_sha256": "d7f3a988eb899cb13ed596fcb74c397c594d85257250d40c85b3989ac298514a",
3
+ "tokens": 199999488,
4
+ "seed": 40,
5
+ "source_context_length": 1024,
6
+ "training_context_length": 256,
7
+ "generation_batch_size": 512,
8
+ "packing_version": "empirical-trigram-subwindows-v1"
9
+ }
dataset_audit.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tokens": 199999488,
3
+ "sequences": 781248,
4
+ "shape": [
5
+ 781248,
6
+ 257
7
+ ],
8
+ "train_sha256": "0fbe4a5af5102983aa7c5e1ec276db7fe34992c5f8c646a3e21cc81e088d8a09",
9
+ "train_metadata_sha256": "58fd29f4e293327604ecfb7d2093041a54ad6d31cd97353727a12ab5d6539a0d",
10
+ "source_report_sha256": "d7f3a988eb899cb13ed596fcb74c397c594d85257250d40c85b3989ac298514a",
11
+ "packing_verified_all_windows": true,
12
+ "source_sampling_audit": {
13
+ "trigram_predictions": 199804176,
14
+ "source_cross_entropy_nats": 3.5715664398945886,
15
+ "expected_trigram_entropy_nats": 3.5714021743012294,
16
+ "unsupported_triples": 0,
17
+ "support_check": "Each draw is indexed into an empirical-support row; no fallback",
18
+ "sample_sha256": "ef2c0a9645bcf5f758a97274b5b62473700a1f71b545a882fc7036bf1f831565",
19
+ "elapsed_seconds": 272.5424264149624
20
+ },
21
+ "evaluation_kind": "training_sample",
22
+ "note": "Exact training cache and source provenance; full fitted sparse probability tables remain in the original source directory."
23
+ }
experiment_configs/trigram_components_001_2b_schedule_200m_dmodel256.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_dir": "outputs/research/natural_language_scaling/trigram_components_001_200m_data",
3
+ "output_dir": "outputs/research/natural_language_scaling/trigram_components_001_2b_schedule_200m_dmodel256",
4
+ "tokenizer": "eoinf/pile_tokenizer_4096",
5
+ "tokenizer_revision": "155b268a49b69bac2543a3eb0acb635cef3dc4b0",
6
+ "train_tokens": 199999488,
7
+ "evaluate_on_training_data": true,
8
+ "vocab_size": 4096,
9
+ "context_length": 256,
10
+ "widths": [
11
+ 256
12
+ ],
13
+ "num_layers": 2,
14
+ "num_heads": 1,
15
+ "seeds": 1,
16
+ "training_tokens": 1999998976,
17
+ "micro_batch_size": 16,
18
+ "gradient_accumulation": 1,
19
+ "eval_batch_size": 1,
20
+ "evaluation_windows": 128,
21
+ "checkpoint_count": 20,
22
+ "learning_rate": 0.001,
23
+ "warmup_steps": 100,
24
+ "final_lr_ratio": 0.01,
25
+ "weight_decay": 0.0,
26
+ "grad_clip": 1.0,
27
+ "torch_threads": 1,
28
+ "device": "cuda",
29
+ "workers": 1,
30
+ "mlp_width_multiplier": 1,
31
+ "training_log_interval": 50,
32
+ "training_ewma_beta": 0.99,
33
+ "data_kind": "synthetic_trigram",
34
+ "plot_title": "Entropy-matched trigrams: components 001",
35
+ "stop_after_tokens": 199999488,
36
+ "source_generator": "power_decay_empirical_support_trigram",
37
+ "source_dir": "outputs/research/natural_language_scaling/trigram_components_001_source",
38
+ "dataset_public": true,
39
+ "source_rank": 1,
40
+ "source_alpha": 1.0,
41
+ "source_seed": 20261103,
42
+ "target_entropy_nats": 3.5714023607206284,
43
+ "reference_dir": "outputs/research/natural_language_scaling/trigram_reference_inputs",
44
+ "reference_git_branch": "paperspace-data-trigram-reference-v1",
45
+ "reference_git_revision": "3793aa8283d295997ef470fe288cc7806bbd9297",
46
+ "reference_manifest_sha256": "ad7a97d6ba5bac15151bd954513cc7f1d2941482ff9da13ca43b6f6ec1181d91",
47
+ "reference_complete_sha256": "535c57b1e3ef35730e26c68987d44cf48df8a5f383387061337dbc7f841ef765",
48
+ "preparation_code_sha256": {
49
+ "scripts/research/prepare_power_decay_trigram.py": "7ac59348d9c9765f62fab2d700fa88cdf1bab515795a6a8bde39b65ccb505dc1",
50
+ "scripts/research/sample_power_decay_trigram.py": "10cf767b6f07b9cd11589ac1a6f87284574ebed7280da92ecdb526db27cf7943",
51
+ "scripts/research/prepare_power_decay_trigram_training.py": "8470a67b6ec6424b231255fb1ab299294a77d8f9921f0f44ddcdc856dd76e842",
52
+ "src/synthetic_trigrams/empirical_trigram/power_decay.py": "857df64c53364c3deb9ae4efe15db3fe7176d0bf841cb6f508a327c8f0b12fa9",
53
+ "src/synthetic_trigrams/empirical_trigram/feature_variants.py": "0427f2ec5aae333fc14d04e910e4b7dda8c38ca8f05fda85f7c888e6ca15c14c",
54
+ "src/synthetic_trigrams/natural_language_scaling/prepare_hf_training_grid.py": "8f18165074dcffa1d7bdea2359f22a83e918597d8a9fe7a3e2479f19c008f7ea"
55
+ },
56
+ "source_report_sha256": "d7f3a988eb899cb13ed596fcb74c397c594d85257250d40c85b3989ac298514a",
57
+ "expected_data_metadata_sha256": {
58
+ "train": "58fd29f4e293327604ecfb7d2093041a54ad6d31cd97353727a12ab5d6539a0d"
59
+ }
60
+ }
source_report.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "beta": 5.521713056250135,
3
+ "blocks": 4096,
4
+ "occurrence_mass": 1.0,
5
+ "conditional_entropy_nats": 3.5714021743012294,
6
+ "pair_marginal_l1": 4.525853572072085e-09,
7
+ "reference": {
8
+ "vocab": 4096,
9
+ "original_source": {
10
+ "identity": {
11
+ "fit_report_sha256": "7dafa8fe382295e77ce4ed32683ebe56ce83f0b9d25beed2a4410ee7d73c258e",
12
+ "token_sha256": "f4ec26137d7487429f68a6e977d8386479f205001a6ec7c424bb90f21e6869c9",
13
+ "suffix_sha256": "b3487d310803cd504260137665a1db1361c0d5c0b24e747747a2673dc2e266f2",
14
+ "reconstruction": "merged fourgram prefix counts plus final triples; circular reverse histories v2"
15
+ },
16
+ "entropy": 3.5714023585974424,
17
+ "reference_entropy": 3.571402358583158,
18
+ "observed_pairs": 5910900,
19
+ "occurrences": 1999999998,
20
+ "history_boundary_triples": 2,
21
+ "source_token_count": 2000000000,
22
+ "entropy_difference_from_archive": 1.4284573524037114e-11,
23
+ "note": "Target counts reconstructed from the available 2B natural stream prefix. Matching supported-pair count and near-matching entropy are consistency checks, not proof of byte-identical original source counts. Reverse histories add two wraparound triples to make empirical pair weights exactly stationary."
24
+ },
25
+ "reference_sha256": "535c57b1e3ef35730e26c68987d44cf48df8a5f383387061337dbc7f841ef765",
26
+ "observed_trigrams": 132810622,
27
+ "observed_contexts": 5910900,
28
+ "occurrences": 2000000002,
29
+ "added_supported_triples": [
30
+ [
31
+ 480,
32
+ 2879,
33
+ 294
34
+ ],
35
+ [
36
+ 2879,
37
+ 294,
38
+ 2
39
+ ],
40
+ [
41
+ 294,
42
+ 2,
43
+ 1
44
+ ],
45
+ [
46
+ 2,
47
+ 1,
48
+ 1465
49
+ ]
50
+ ],
51
+ "support_matches_original_empirical": true,
52
+ "original_occurrences": 1999999998,
53
+ "pair_frequency_tvd_upper_bound": 1.999999998e-09,
54
+ "conditional_entropy_nats": 3.5714023607206284,
55
+ "bigram_conditional_entropy_nats": 4.87638457764605,
56
+ "additional_information_nats": 1.3049822169254215,
57
+ "deterministic_contexts": 1457930,
58
+ "deterministic_occurrence_mass": 0.0028618434971381564,
59
+ "pair_flow_count_error": 0,
60
+ "note": "Removed two artificial wrap edges, then added one count along an existing-support return path. Exact stationary reference; probabilities differ minutely from the finite-stream empirical source."
61
+ },
62
+ "identity": {
63
+ "reference": "/notebooks/synthetic_trigrams/outputs/research/natural_language_scaling/trigram_reference_inputs/original",
64
+ "reference_sha256": "535c57b1e3ef35730e26c68987d44cf48df8a5f383387061337dbc7f841ef765",
65
+ "rank": 1,
66
+ "alpha": 1.0,
67
+ "seed": 20261103,
68
+ "tolerance": 1e-08,
69
+ "implementation": "sparse-middle-blocks-v2",
70
+ "feature_bank_rank": 128,
71
+ "context_features": "independent",
72
+ "context_frequency_exponent": 0.0,
73
+ "frequency_pivot_count": 18063.0,
74
+ "frequency_multiplier_bounds": [
75
+ 0.5,
76
+ 2.0
77
+ ]
78
+ },
79
+ "target_entropy_nats": 3.5714023607206284,
80
+ "additional_information_nats": 1.3049824033448205,
81
+ "probabilities_directory": "outputs/research/natural_language_scaling/trigram_components_001_source/fits/beta_5.5217130563",
82
+ "note": "Exact empirical support; stationary pair marginals and total conditional information matched. Per-context information is not fitted. Coefficients follow power decay before masking and balancing; no exact final spectrum claim."
83
+ }
train.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source": "synthetic_empirical_support_power_decay_trigram",
3
+ "source_revision": "d7f3a988eb899cb13ed596fcb74c397c594d85257250d40c85b3989ac298514a",
4
+ "source_report_sha256": "d7f3a988eb899cb13ed596fcb74c397c594d85257250d40c85b3989ac298514a",
5
+ "source_rows_sha256": "ef2c0a9645bcf5f758a97274b5b62473700a1f71b545a882fc7036bf1f831565",
6
+ "tokenizer_name": "eoinf/pile_tokenizer_4096",
7
+ "tokenizer_revision": "155b268a49b69bac2543a3eb0acb635cef3dc4b0",
8
+ "eos_token_id": 2,
9
+ "seed": 40,
10
+ "generation_batch_size": 512,
11
+ "source_conditional_entropy_nats": 3.5714021743012294,
12
+ "training_window_entropy_nats": 3.576499761814295,
13
+ "evaluation_kind": "training_sample",
14
+ "note": "Same 1025-to-257 source-row packing as historical empirical trigrams; synthetic source changes. Training-sample evaluation is not held out.",
15
+ "tokens": 199999488,
16
+ "cache_entries": 781248,
17
+ "tokenizer_size": 4096,
18
+ "packing": "Subwindows of independent source rows; 257 tokens and 256 scored targets per window",
19
+ "row_length": 1025,
20
+ "windows_per_source_row": 4,
21
+ "context_length": 256
22
+ }
train.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fbe4a5af5102983aa7c5e1ec276db7fe34992c5f8c646a3e21cc81e088d8a09
3
+ size 401561600