domofon commited on
Commit
4f5dacb
·
verified ·
1 Parent(s): 6bc07a5

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - text-generation
7
+ tags:
8
+ - pretrain
9
+ - continued-pretraining
10
+ - structured
11
+ - sql
12
+ - json
13
+ - smollm2
14
+ - domofon
15
+ pretty_name: Structured CPT (JSON + SQL)
16
+ size_categories:
17
+ - 1B<n<10B
18
+ configs:
19
+ - config_name: default
20
+ data_files:
21
+ - split: train
22
+ path: data/*.parquet
23
+ ---
24
+
25
+ # Structured CPT - JSON + SQL pretrain documents
26
+
27
+ SmolLM2-1.7B continued-pretraining shard of structured documents. Each document
28
+ is a `<task>` / `<input>` / `<output>` block whose `<output>` is a canonical
29
+ JSON object, terminated by the SmolLM2 end-of-text token ``.
30
+
31
+ Sources:
32
+
33
+ | source | description | rows | shards | repeat |
34
+ |---|---|---:|---:|---:|
35
+ | `sql_bmc2` | b-mc2 sql-create-context -> JSON (4 keys, stub explanation) | 392,885 | 1 | 5 |
36
+ | `sql_gretelai` | gretelai synthetic_text_to_sql -> JSON (4 keys) | 529,255 | 1 | 5 |
37
+ | `sql_hardikch` | hardikch05 100000_text_to_sql -> JSON (question/schema_ddl/sql) | 5,500,000 | 28 | 1 |
38
+ | `stackexchange_json` | Stack Exchange -> JSON (title/body/tags) | 836,000 | 5 | 1 |
39
+
40
+ **Totals:** 7,258,140 rows.
41
+
42
+ ```python
43
+ from datasets import load_dataset
44
+ ds = load_dataset("domofon/structured-cpt", split="train")
45
+ print(ds[0]["text"])
46
+ ```
47
+
48
+ ## Document shape
49
+
50
+ ```
51
+ <task>
52
+ ...
53
+ </task>
54
+
55
+ <input>
56
+ ...
57
+ </input>
58
+
59
+ <output>
60
+ {...canonical json...}
61
+ </output>
62
+
63
+ ```
64
+
65
+ The JSON inside `<output>` keeps the documented key order and exact
66
+ (JSON-escaped) source values. SQL values are copied verbatim from the input.
67
+
68
+ ## Columns
69
+
70
+ | column | description |
71
+ |---|---|
72
+ | `id` | unique id `{source}-{index}` |
73
+ | `text` | full structured document, trailing `` |
74
+ | `text_preview` | first 800 characters of `text` |
75
+ | `n_chars` | length of `text` |
76
+ | `source` | one of stackexchange_json / sql_gretelai / sql_bmc2 / sql_hardikch |
77
+
78
+ ## Shards
79
+
80
+ 35 parquet files under `data/` (zstd-compressed).
81
+
82
+ ## Identity
83
+
84
+ Built for the Domofon CPT stack; see sibling datasets `domofon/worldsim-domofon-cpt`
85
+ and `domofon/domofon-identity-anchor`.
data/sql_bmc2-00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:260710bef72e26f55358b8758c30158aafe8c7d619ced9be66baa2fc7b7278d9
3
+ size 58339879
data/sql_gretelai-00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee9ac44365c5e4562f7e268a94740210932870bdc199e12df7ec6003856aded3
3
+ size 184011757
data/sql_hardikch-00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cdaa1bb4cc224aad5af66dc2de2b19d14dcdc82b1e1e3248b1c04699e0fe1e1b
3
+ size 43248448
data/sql_hardikch-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7a79d245e2a7eeae89cd35909fab37cf6f9a2c493ef4b1eaabecfe3866e17b9
3
+ size 69570351
data/sql_hardikch-00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:689ade553d4f48d563a2f4d204cea657997f7927d33a9c8d5975c8e5dc42534c
3
+ size 69988034
data/sql_hardikch-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54d4c33c2c08c3047dc96eeea455720b8c9a952911ceda0e3978421854c2a3ff
3
+ size 70212153
data/sql_hardikch-00004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f46b8178752d4257eb0ec22a9e3ea9095bf6f1cb55fbc229b5591bf1fd8ef495
3
+ size 84734546
data/sql_hardikch-00005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b54a9881aa24e05affc5a3f12ae9b2b8998a34d1f6189685f836a626466f976
3
+ size 91173349
data/sql_hardikch-00006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbb65398ca3c9e1bfbb5ed0d44591d3384df6453f3b96309e4f38bc9c19cf085
3
+ size 91464930
data/sql_hardikch-00007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da0453996c6882038d175b12e66909c4b0dc4d65e547c3a3f4d5a449e87b6f12
3
+ size 91489926
data/sql_hardikch-00008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9ffc3a2560667cd5c086af59d2d0b348cc74ab9b5fe60250617735ac4ac16d6
3
+ size 91869449
data/sql_hardikch-00009.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea63e51092272e20344d897994380783622d99237875136bccdaa99735180ea1
3
+ size 91778769
data/sql_hardikch-00010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79b9e7b47a9c85f7cdf78f4b60d714692b51873517af587f42e04a88a2561c19
3
+ size 91907199
data/sql_hardikch-00011.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cfeca823223038c06b84b61056bf413b7ed09b25d3726e067b104a341bdce25
3
+ size 92089361
data/sql_hardikch-00012.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae5127f91aff365fb662deb71765981707f503c467e070fa171c7bc3eb4757b9
3
+ size 92070332
data/sql_hardikch-00013.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50f7ec1ee6da9bf0c692e736888ec1522f966a3516a849d9ba5191704dea46f1
3
+ size 91868253
data/sql_hardikch-00014.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56dc0655191c78542892504f06a9e0f3b1cc6fb57c6a42c3b9a562fc5741fac2
3
+ size 92041151
data/sql_hardikch-00015.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e77ad3a86f4b1ea9572865c84abcfa706662074559817fcda9eb03a66d793231
3
+ size 91879005
data/sql_hardikch-00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5819f6f94d5ea1dd3c66050271ebb458922506bcbae29599000c70b60f0db55c
3
+ size 91995983
data/sql_hardikch-00017.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f13d512bd8d8ad733639a7fc0d71284f44bd0915896b54890402e9f21d94a11
3
+ size 92003157
data/sql_hardikch-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:956f3c2ecd56c611c6832b9df551d599e1f139577f4316e2ac1cc425b81f0b41
3
+ size 92063836
data/sql_hardikch-00019.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef56b21702e38b81171440a86cafb7dc78b05f7f3b389733d7e6182ec334b995
3
+ size 92172927
data/sql_hardikch-00020.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3034b6f57128c06b52b10acdf6ce87fd2332c464011da77e574be69f138a4f7b
3
+ size 92452035
data/sql_hardikch-00021.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16ed521ce44fe87d1df66962e4486785ee81503868bec92ca19ed0442439866c
3
+ size 92656103
data/sql_hardikch-00022.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39265ab3dbb153f3d8007c5bb85fd937db849debbf76806b976892fc4cc0e721
3
+ size 92642438
data/sql_hardikch-00023.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b8c6136a1d64c583335c95f73034e1b0288d20f5bbede5c5bf980c4aeac470e
3
+ size 92669947
data/sql_hardikch-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb69a4118db8bf2d9601df2daa5fb834f5c20c31aeeb2a651ade97698ef42f05
3
+ size 92681896
data/sql_hardikch-00025.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0fe7736610c4d6ee25460c28c24342b3f06db061942bfafc652ca667a721ce3
3
+ size 92795868
data/sql_hardikch-00026.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f98fe2ec0eaf08a0723d3ce6161a6fbdf295332d8e9eef310c0f4470f1eee9c
3
+ size 92719462
data/sql_hardikch-00027.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11b5ae0885dcb74e92b547fde7d367a679005ade5bacab9c79e9445e3525201d
3
+ size 46461440
data/stackexchange_json-00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4bb7c833a53aafe6d8f521c0357e653919b139476ce6ce1cbed037d3e6771bf
3
+ size 114086402
data/stackexchange_json-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c69d084f1b3e08feec32678e807a50572e0cbf0a4faa2a232905b6f04e0e6397
3
+ size 131522386
data/stackexchange_json-00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17ca57e743fa04a27222f8515f3792df13083a7001ac915793d30d8305ab1bf5
3
+ size 125500687
data/stackexchange_json-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:445659cf7813e97dffc9d1656f8c3733dce721ad1c85f765960e7ff3078ea5f8
3
+ size 106411392
data/stackexchange_json-00004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f676f9f371f43f7c4e48dfd1ee8133b11ffe52e688cd6afa005da320a39767c
3
+ size 30013419