Mo7art commited on
Commit
fe9bd07
·
verified ·
1 Parent(s): 8313e03

Add files using upload-large-folder tool

Browse files
README.md ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - vector-database
4
+ - embeddings
5
+ - parquet
6
+ - qdrant
7
+ - stackoverflow
8
+ - question-answering
9
+ pretty_name: StackOverflow Vector Dataset - Assembly
10
+ license: cc-by-sa-4.0
11
+ size_categories:
12
+ - 1M<n<10M
13
+ ---
14
+
15
+ # Assembly StackOverflow Vector Dataset Datasheet
16
+
17
+ ## 1. What This Dataset Is
18
+
19
+ This dataset is the Assembly-specific vector shard of the Stack2Graph StackOverflow retrieval corpus.
20
+ Each Hugging Face dataset repository contains exactly one language dataset.
21
+
22
+ It is optimized for dense+sparse retrieval, Qdrant restoration, and embedding-based RAG experiments.
23
+
24
+ It is used in the Stack2Graph project as the vector counterpart to the language-scoped RDF knowledge graph shards.
25
+
26
+ See the Stack2Graph repository for more details:
27
+ [https://github.com/tha-atlas/Stack2Graph](https://github.com/tha-atlas/Stack2Graph)
28
+
29
+ ## 2. Repository Layout
30
+
31
+ ```text
32
+ dataset_manifest.json
33
+ question_metadata_*.parquet
34
+ chunk_records_*.parquet
35
+ question_records_*.parquet
36
+ ```
37
+
38
+ - `dataset_manifest.json`: language-scoped manifest for this dataset shard.
39
+ - `question_metadata_*.parquet`: per-question metadata and retrieval bookkeeping.
40
+ - `chunk_records_*.parquet`: chunk-level vector rows when parent-child indexing is enabled.
41
+ - `question_records_*.parquet`: question-level vector rows when chunking is disabled or exported alongside chunk data.
42
+
43
+ ## 3. Data Model And Coverage
44
+
45
+ The dataset is derived from Stack Overflow questions selected for the Assembly programming language.
46
+ It contains the structured records needed to rebuild the Stack2Graph Qdrant collection for that language.
47
+
48
+ Coverage scope:
49
+
50
+ - records are retained when they match the Stack2Graph supported language-tag set
51
+ - this repository contains only the Assembly shard
52
+ - the archive may contain both metadata-only and retrieval-ready vector rows depending on the export mode
53
+
54
+ ## 4. Recommended Preprocessing
55
+
56
+ 1. Read `dataset_manifest.json` first and use it as the source of truth for included Parquet files.
57
+ 2. Load all Parquet shards for this repository into your vector indexing pipeline.
58
+ 3. Rebuild or restore the Qdrant collection `stackoverflow_assembly_vector`.
59
+ 4. Preserve attribution and license metadata during downstream export.
60
+
61
+ ## 5. Automatic Download And Vector DB Setup
62
+
63
+ You do not need to regenerate embeddings from GraphDB to use this dataset.
64
+
65
+ In the Stack2Graph repository, you can use the automation script
66
+ `python -m experiment.load_hf_datasets_into_services --skip-kg` to download dataset artifacts
67
+ and prepare the vector database service state automatically.
68
+
69
+ Typical workflow:
70
+
71
+ 1. Clone and configure Stack2Graph (`.env` with HF token and service paths).
72
+ 1. Clone and configure Stack2Graph (`.env` with HF token and service paths).
73
+ 1. Start required local services:
74
+
75
+ ```bash
76
+ docker compose up -d
77
+ ```
78
+
79
+ 1. Run the loader script:
80
+
81
+ ```bash
82
+ python -m experiment.load_hf_datasets_into_services --skip-kg
83
+ ```
84
+
85
+ For manual usage without automation, directly ingest the listed Parquet files into your vector database.
86
+
87
+ ## 6. Quality Notes And Caveats
88
+
89
+ - A Stack Overflow question may belong to multiple language shards when tagged with multiple languages.
90
+ - Embeddings and sparse representations depend on the configured export pipeline and model versions.
91
+ - As with community-generated data, content may include noise, bias, and temporal drift.
92
+
93
+ ## 7. Intended Use
94
+
95
+ - semantic retrieval and reranking
96
+ - RAG and hybrid retriever experiments
97
+ - vector database benchmarking and diagnostics
98
+ - language-scoped developer tooling research
99
+
100
+ ## 8. Limitations
101
+
102
+ - Not a complete mirror of all Stack Overflow content.
103
+ - Not all export modes include the same row types or chunk layouts.
104
+ - Best used together with the Stack2Graph retrieval pipeline and Qdrant-compatible tooling.
105
+
106
+ ## 9. Licensing And Attribution
107
+
108
+ This dataset inherits Stack Overflow source licensing and attribution requirements.
109
+ Ensure compliant attribution and redistribution practices in all derived artifacts.
110
+
111
+ ## 10. Suggested Citation
112
+
113
+ If you use this dataset, cite the Stack2Graph work:
114
+
115
+ - Stack2Graph: A Structured Knowledge Representation of Stack Overflow Data for Retrieval-based Question Answering
chunk_records/r0_00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0842ccc09c3e0c3301dedab9c5b68babb94c6b78f22b66ece7efa92fcc8c9a7
3
+ size 32077038
chunk_records/r0_00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:818071ee4deb37fdd8eca2d8dfb5698133b26db757cba488717e77dc263a6242
3
+ size 17176746
chunk_records/r1_00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0fac39d50d28759a4cee649c6a7b9e961d22b23fc467de4392704ab52019453
3
+ size 32105603
chunk_records/r1_00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08832d157746edd0eb18c40c2d665f23299b1cde47e45d68c133052478d330e9
3
+ size 17188749
chunk_records/r2_00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14ff6c408156b3ff543d2da33d9d4eaeadc04f2a03018324fb69f7bfb2a98d96
3
+ size 32091194
chunk_records/r2_00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7054aaa243639f89b0c08812bf02ae25e28097662fa1c203479b925f276f4878
3
+ size 17185205
chunk_records/r3_00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94b4910038242c1b353b7c08a6aba1391e4d340175984c1a3dafce3c75dd9d49
3
+ size 32137914
chunk_records/r3_00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:488d659dadc4185cdaf95fe0acf22e453fda3a08ad0f8811a95b38d4f7685d64
3
+ size 17177811
chunk_records/r4_00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2b71b8295ce1312f10b483a937deced4b636f07fda2d77606ad017673d7d5f8
3
+ size 32033392
chunk_records/r4_00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29d813974326b1fe2863aabc9338da61159f8a4a551dee9c5586599528adbf9b
3
+ size 17177891
chunk_records/r5_00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:291cb82f5cdad9518a437d2dae6265668f3d2b889d2213152183d7a936fbd743
3
+ size 32134511
chunk_records/r5_00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f2eb18f03ce96348a0a9ea5d6b03469e70b569b00a5a62657cd05dae9e81f23
3
+ size 17203760
chunk_records/r6_00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b384b807c4c3cf397786bf64b90c12f6f9041fd87521949febece21d1c369fe2
3
+ size 32111220
chunk_records/r6_00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5f54a46b459b3e6b57ef389c927f5e7c94e85aa8776699dc3eb2ba5e4f8ab1e
3
+ size 17184551
chunk_records/r7_00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06a096e109a2f8b010608ad938ba1f3fbc0dcad44aaa22a8ec8cc3eb96a4e3e1
3
+ size 32099614
chunk_records/r7_00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e20ecba7f3ca9054d6324532a0debf77ed48c60dbda2e4ea95f7e15e28f24de
3
+ size 17157028
dataset_manifest.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file_count": 26,
3
+ "files": [
4
+ {
5
+ "category": "chunk_records",
6
+ "language": "assembly",
7
+ "relative_path": "chunk_records/r0_00000.parquet",
8
+ "rows": 5000
9
+ },
10
+ {
11
+ "category": "chunk_records",
12
+ "language": "assembly",
13
+ "relative_path": "chunk_records/r0_00001.parquet",
14
+ "rows": 2360
15
+ },
16
+ {
17
+ "category": "chunk_records",
18
+ "language": "assembly",
19
+ "relative_path": "chunk_records/r1_00000.parquet",
20
+ "rows": 5000
21
+ },
22
+ {
23
+ "category": "chunk_records",
24
+ "language": "assembly",
25
+ "relative_path": "chunk_records/r1_00001.parquet",
26
+ "rows": 2359
27
+ },
28
+ {
29
+ "category": "chunk_records",
30
+ "language": "assembly",
31
+ "relative_path": "chunk_records/r2_00000.parquet",
32
+ "rows": 5000
33
+ },
34
+ {
35
+ "category": "chunk_records",
36
+ "language": "assembly",
37
+ "relative_path": "chunk_records/r2_00001.parquet",
38
+ "rows": 2359
39
+ },
40
+ {
41
+ "category": "chunk_records",
42
+ "language": "assembly",
43
+ "relative_path": "chunk_records/r3_00000.parquet",
44
+ "rows": 5000
45
+ },
46
+ {
47
+ "category": "chunk_records",
48
+ "language": "assembly",
49
+ "relative_path": "chunk_records/r3_00001.parquet",
50
+ "rows": 2359
51
+ },
52
+ {
53
+ "category": "chunk_records",
54
+ "language": "assembly",
55
+ "relative_path": "chunk_records/r4_00000.parquet",
56
+ "rows": 5000
57
+ },
58
+ {
59
+ "category": "chunk_records",
60
+ "language": "assembly",
61
+ "relative_path": "chunk_records/r4_00001.parquet",
62
+ "rows": 2359
63
+ },
64
+ {
65
+ "category": "chunk_records",
66
+ "language": "assembly",
67
+ "relative_path": "chunk_records/r5_00000.parquet",
68
+ "rows": 5000
69
+ },
70
+ {
71
+ "category": "chunk_records",
72
+ "language": "assembly",
73
+ "relative_path": "chunk_records/r5_00001.parquet",
74
+ "rows": 2359
75
+ },
76
+ {
77
+ "category": "chunk_records",
78
+ "language": "assembly",
79
+ "relative_path": "chunk_records/r6_00000.parquet",
80
+ "rows": 5000
81
+ },
82
+ {
83
+ "category": "chunk_records",
84
+ "language": "assembly",
85
+ "relative_path": "chunk_records/r6_00001.parquet",
86
+ "rows": 2359
87
+ },
88
+ {
89
+ "category": "chunk_records",
90
+ "language": "assembly",
91
+ "relative_path": "chunk_records/r7_00000.parquet",
92
+ "rows": 5000
93
+ },
94
+ {
95
+ "category": "chunk_records",
96
+ "language": "assembly",
97
+ "relative_path": "chunk_records/r7_00001.parquet",
98
+ "rows": 2359
99
+ },
100
+ {
101
+ "category": "question_metadata",
102
+ "language": "assembly",
103
+ "relative_path": "question_metadata/r0_00000.parquet",
104
+ "rows": 5000
105
+ },
106
+ {
107
+ "category": "question_metadata",
108
+ "language": "assembly",
109
+ "relative_path": "question_metadata/r0_00001.parquet",
110
+ "rows": 5000
111
+ },
112
+ {
113
+ "category": "question_metadata",
114
+ "language": "assembly",
115
+ "relative_path": "question_metadata/r0_00002.parquet",
116
+ "rows": 5000
117
+ },
118
+ {
119
+ "category": "question_metadata",
120
+ "language": "assembly",
121
+ "relative_path": "question_metadata/r0_00003.parquet",
122
+ "rows": 5000
123
+ },
124
+ {
125
+ "category": "question_metadata",
126
+ "language": "assembly",
127
+ "relative_path": "question_metadata/r0_00004.parquet",
128
+ "rows": 5000
129
+ },
130
+ {
131
+ "category": "question_metadata",
132
+ "language": "assembly",
133
+ "relative_path": "question_metadata/r0_00005.parquet",
134
+ "rows": 5000
135
+ },
136
+ {
137
+ "category": "question_metadata",
138
+ "language": "assembly",
139
+ "relative_path": "question_metadata/r0_00006.parquet",
140
+ "rows": 5000
141
+ },
142
+ {
143
+ "category": "question_metadata",
144
+ "language": "assembly",
145
+ "relative_path": "question_metadata/r0_00007.parquet",
146
+ "rows": 5000
147
+ },
148
+ {
149
+ "category": "question_metadata",
150
+ "language": "assembly",
151
+ "relative_path": "question_metadata/r0_00008.parquet",
152
+ "rows": 5000
153
+ },
154
+ {
155
+ "category": "question_metadata",
156
+ "language": "assembly",
157
+ "relative_path": "question_metadata/r0_00009.parquet",
158
+ "rows": 68
159
+ }
160
+ ],
161
+ "language": "assembly",
162
+ "source": "vector_dataset_language_folder",
163
+ "total_rows": 103941
164
+ }
question_metadata/r0_00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d18b4a247fc91fcd02f63df45a32ebd790fd61532bc500c98b11bcb22743053
3
+ size 7300953
question_metadata/r0_00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:322870235a961dc62037343d18ef19e815b81245964af904b455a07e9e3d6840
3
+ size 7520537
question_metadata/r0_00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:483daf6669053d10e5beecbf83b4441641537f7145ba680ddc8ffe1554160827
3
+ size 7567299
question_metadata/r0_00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c00655032d47d74056c89d9984a9ee3eb9d114eedb97cb370143c923fd54c06
3
+ size 7450342
question_metadata/r0_00004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b5bd7e5655010aef6ab685d5207ca833b2cddbac6c6f52def5fcaacf57fb44d
3
+ size 8315388
question_metadata/r0_00005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:393015899ea1275623b12976b7b21b7c27283edc7250388909e5956f85ba89cc
3
+ size 7149377
question_metadata/r0_00006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61dc9c2d834359f2c26b03b4a74915bfb0dd01cfa7b06eca3d333f961be5ae50
3
+ size 7723771
question_metadata/r0_00007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fcd988812ddc3c1187665060d1fe2a67a1cefd9d89dc4ae8594d4cc0a32ff1a
3
+ size 7783159
question_metadata/r0_00008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbc2edcdbdfbdc32233bb34b6cc3ad7558e83cd5d8a00da0cd16e29a3b928833
3
+ size 8291030
question_metadata/r0_00009.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c43880945d3ed628e5c971f37aa1431280a3ef5e170cca552f9b48df823d20fc
3
+ size 116709