Mo7art commited on
Commit
723cdaf
·
verified ·
1 Parent(s): 6b550ea

Clean StackOverflow vector language dataset before upload: sql

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +0 -115
  2. chunk_records/r0_00000.parquet +0 -3
  3. chunk_records/r0_00001.parquet +0 -3
  4. chunk_records/r0_00002.parquet +0 -3
  5. chunk_records/r0_00003.parquet +0 -3
  6. chunk_records/r0_00004.parquet +0 -3
  7. chunk_records/r0_00005.parquet +0 -3
  8. chunk_records/r0_00006.parquet +0 -3
  9. chunk_records/r0_00007.parquet +0 -3
  10. chunk_records/r0_00008.parquet +0 -3
  11. chunk_records/r0_00009.parquet +0 -3
  12. chunk_records/r0_00010.parquet +0 -3
  13. chunk_records/r0_00011.parquet +0 -3
  14. chunk_records/r0_00012.parquet +0 -3
  15. chunk_records/r0_00013.parquet +0 -3
  16. chunk_records/r0_00014.parquet +0 -3
  17. chunk_records/r0_00015.parquet +0 -3
  18. chunk_records/r0_00016.parquet +0 -3
  19. chunk_records/r0_00017.parquet +0 -3
  20. chunk_records/r0_00018.parquet +0 -3
  21. chunk_records/r0_00019.parquet +0 -3
  22. chunk_records/r0_00020.parquet +0 -3
  23. chunk_records/r1_00000.parquet +0 -3
  24. chunk_records/r1_00001.parquet +0 -3
  25. chunk_records/r1_00002.parquet +0 -3
  26. chunk_records/r1_00003.parquet +0 -3
  27. chunk_records/r1_00004.parquet +0 -3
  28. chunk_records/r1_00005.parquet +0 -3
  29. chunk_records/r1_00006.parquet +0 -3
  30. chunk_records/r1_00007.parquet +0 -3
  31. chunk_records/r1_00008.parquet +0 -3
  32. chunk_records/r1_00009.parquet +0 -3
  33. chunk_records/r1_00010.parquet +0 -3
  34. chunk_records/r1_00011.parquet +0 -3
  35. chunk_records/r1_00012.parquet +0 -3
  36. chunk_records/r1_00013.parquet +0 -3
  37. chunk_records/r1_00014.parquet +0 -3
  38. chunk_records/r1_00015.parquet +0 -3
  39. chunk_records/r1_00016.parquet +0 -3
  40. chunk_records/r1_00017.parquet +0 -3
  41. chunk_records/r1_00018.parquet +0 -3
  42. chunk_records/r1_00019.parquet +0 -3
  43. chunk_records/r1_00020.parquet +0 -3
  44. chunk_records/r2_00000.parquet +0 -3
  45. chunk_records/r2_00001.parquet +0 -3
  46. chunk_records/r2_00002.parquet +0 -3
  47. chunk_records/r2_00003.parquet +0 -3
  48. chunk_records/r2_00004.parquet +0 -3
  49. chunk_records/r2_00005.parquet +0 -3
  50. chunk_records/r2_00006.parquet +0 -3
README.md DELETED
@@ -1,115 +0,0 @@
1
- ---
2
- tags:
3
- - vector-database
4
- - embeddings
5
- - parquet
6
- - qdrant
7
- - stackoverflow
8
- - question-answering
9
- pretty_name: StackOverflow Vector Dataset - SQL
10
- license: cc-by-sa-4.0
11
- size_categories:
12
- - 1M<n<10M
13
- ---
14
-
15
- # SQL StackOverflow Vector Dataset Datasheet
16
-
17
- ## 1. What This Dataset Is
18
-
19
- This dataset is the SQL-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 SQL 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 SQL 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_sql_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 DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e417ce2344cc7f799b2493cfa5722a3c645d73b36fa2521db9c638ff424b0f47
3
- size 29582268
 
 
 
 
chunk_records/r0_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c43fad664ea402405af821663b29bdbfe6a5a3ba418bc8ff0b0264df68a94bf4
3
- size 30214622
 
 
 
 
chunk_records/r0_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:15c8c407fd3b0e0d118da045f9877eaf36248eda5f47a43d66baa52587ededca
3
- size 30587933
 
 
 
 
chunk_records/r0_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:12f7fb287b5cdbd3211ab199d31e41b31251e228f6ee6fcf41cce4502f228c8b
3
- size 30858741
 
 
 
 
chunk_records/r0_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:44d0e5dce3f6b97d6b7a57aeff9af82e221124b4d0004a23fc4a566757341102
3
- size 31159830
 
 
 
 
chunk_records/r0_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f45da6900867052fde0281f59b33964fb345e066cf4277b64889b0d82c4caf82
3
- size 31459696
 
 
 
 
chunk_records/r0_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fcd1ceafbae3e5871ebbcf9e8f225e31d3b4fa1ceee5a54faf639d5c4ed0b760
3
- size 31742645
 
 
 
 
chunk_records/r0_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:bdc793801254bf2fb33b2210320b55b59ed3a3e0b4fd0f127cb1c053ed980f29
3
- size 32050468
 
 
 
 
chunk_records/r0_00008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2d66af84a4ea5472565ce61e8d724f1f1c7c9d6a6d5c18789f295537d532232a
3
- size 32369492
 
 
 
 
chunk_records/r0_00009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fdcc4134c0a9e56bdf0167d25f86438af36423e3fca1fa42cdf742485988555b
3
- size 32679350
 
 
 
 
chunk_records/r0_00010.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1c48a28850ea26bd21bf7096e6d30e7b75c113fddf6a834c56433f19eca5d4ab
3
- size 33008960
 
 
 
 
chunk_records/r0_00011.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:efe88b22992fa185cd9cbe6083b6bedfe8889b84355cc666f6b9048e1d0ab9a5
3
- size 33402201
 
 
 
 
chunk_records/r0_00012.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6f1e971be7135a21112b6f84a199a893348fa0ce6f408383d66d9ad187dc0948
3
- size 33875109
 
 
 
 
chunk_records/r0_00013.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:94161f6789fcdfb2a25b3f293f54371c7f9ec988a065906915274e1604c0e612
3
- size 34292530
 
 
 
 
chunk_records/r0_00014.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f511afce3c292bade453a4c2fd3cb5844fbc60813cc1c89224b35b3b11ea6f41
3
- size 34803432
 
 
 
 
chunk_records/r0_00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2d2298a55417a9fa7491953b4910468f7e6132a45d8950a7db2408a0edb6c847
3
- size 35302350
 
 
 
 
chunk_records/r0_00016.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d9aa80d51808ce66f3f8e98ab62c6672bfac0c6951821f58e740a40f1d1b6739
3
- size 35791265
 
 
 
 
chunk_records/r0_00017.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1d48ece2605687fc57e89b8e0fd065a1eb6ec8ec0254b37550b39eaeb0d0efa8
3
- size 36328305
 
 
 
 
chunk_records/r0_00018.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4ee032011a7c396c51d85860552d1d08f0aa0c3ea66d2c96abf80f4c34befbc2
3
- size 36832289
 
 
 
 
chunk_records/r0_00019.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8e45c72fc200aa2d93b2c7ac023a05e094a75771cb3f557d0cd351cf831fd8f2
3
- size 37655380
 
 
 
 
chunk_records/r0_00020.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9fbc8f3622cd592b846b6e5ae4e7e0365cecca40f3e5ab6653ccd4d9a82d156a
3
- size 16559950
 
 
 
 
chunk_records/r1_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ba708e3af6c7d096433611ec37f1c437d87afa3ba2fea7a4efb2d24a86d93d2b
3
- size 29588236
 
 
 
 
chunk_records/r1_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:cfd19cfa3c73febf7ae30f59144a635b8bf358c0a382cacb7fa71847b533c26c
3
- size 30187630
 
 
 
 
chunk_records/r1_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6dd1a03de05c218e685b30ec30ea3bf6bc9840c1c7fc28f3d6c76f24249673ed
3
- size 30613355
 
 
 
 
chunk_records/r1_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7981bcaf86cc1cff0bec424522f14404328cb3d48e4e9f6a36a7e031fd2ed8c8
3
- size 30906521
 
 
 
 
chunk_records/r1_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8ca3fae235c5a0b7174c8edac90e08d523085acfcf0153254c14001ea8d1564f
3
- size 31181080
 
 
 
 
chunk_records/r1_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:90fd44d9332102f01ddd8a15bf490d00f7ba7897c1b79d072ae4c4754f96d053
3
- size 31478491
 
 
 
 
chunk_records/r1_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:68a01032e60e00a066977a09e964ed01442383fa9826d0123d9bd2aa46527252
3
- size 31787130
 
 
 
 
chunk_records/r1_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d3bfd303b29175ebf6abfa23a463077c4adda1a6712609adfaaa3d846d9581b3
3
- size 32059926
 
 
 
 
chunk_records/r1_00008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:39e5f2cc9a43702b329e26950af9b1da0b45fe3f102729dcc7cd0371e5aef95b
3
- size 32367256
 
 
 
 
chunk_records/r1_00009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a0a9f9b3dacb871f589639c745a6b380fe15a7f8a0153f27ef33fb2bf4c0efeb
3
- size 32694271
 
 
 
 
chunk_records/r1_00010.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5ea04f404bcccbb97415bc5a74c880af19d8719dbd24a3469b60fe961b157feb
3
- size 33044144
 
 
 
 
chunk_records/r1_00011.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4cca9cc9788b37dec5027bf60ca96e832120a945e33e39ccf0665770a9040f08
3
- size 33419717
 
 
 
 
chunk_records/r1_00012.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:523228c949e2cdaed42ad3c38471aa6c62861889f00fee5085ca81f4684288cc
3
- size 33873729
 
 
 
 
chunk_records/r1_00013.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7ddd02e62eeb7bcea77c104fcb747558b309fe9a59e22a9d0d60f5d53e6dc367
3
- size 34304365
 
 
 
 
chunk_records/r1_00014.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3e7e218d142fdcb13c575fe7fe50c9f1b04e7364ef94361534ebe607eb2e8973
3
- size 34817487
 
 
 
 
chunk_records/r1_00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b1f11dfd3e0e01f48560faca7097cb2af10d8552afb14c1b0ae3bb8f22fcc9d4
3
- size 35307133
 
 
 
 
chunk_records/r1_00016.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1c2bc6e38fcd230b81428c75a6e8dc4b08732338a3b39273621060bf8b2494bd
3
- size 35825951
 
 
 
 
chunk_records/r1_00017.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:58505e9cbf2ef741f1b8ef6893d3aaa0a7a22bd85f0438302a5f97428c232097
3
- size 36330046
 
 
 
 
chunk_records/r1_00018.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f1c773b88b998cd0b07d6320c84b274438ba99705c64b5ee93da0c81662a0c6b
3
- size 36861994
 
 
 
 
chunk_records/r1_00019.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:44083414fe64cded1ebe7e0b9027506297f64e82e6e31f50c6c131ddabc2d992
3
- size 37673296
 
 
 
 
chunk_records/r1_00020.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:40c3c33b4773ea4fe8bb3b54c63f368230e260abb713ab9aaf9424d0bdff7974
3
- size 16560140
 
 
 
 
chunk_records/r2_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ff4c18ee1f430dab1e061c2aa032beb0a3648620189f603d1b84bd4bb6a75fc3
3
- size 29563365
 
 
 
 
chunk_records/r2_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:847df0cdaaf7a93e5629dad8854ae30f29038ce866618a38417a4e1646890064
3
- size 30181392
 
 
 
 
chunk_records/r2_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0f9c5715956cc2297d38d14826e8688035430c1988d3b0a5b10d585fed90bd9a
3
- size 30612064
 
 
 
 
chunk_records/r2_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:88bdc193a0a42a069d0a31b8a1301c96abb29fb0c829884fd74ca1d99c2df3b4
3
- size 30892531
 
 
 
 
chunk_records/r2_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a3ecd63d621c322cf77ba257d3ed94d8b698ba45848ee84c2d8fc37565b2ced9
3
- size 31161635
 
 
 
 
chunk_records/r2_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:95282c7915812ec6dd1071f99e3e33c11c0e472e3456b0906d2f183189cab7d3
3
- size 31448426
 
 
 
 
chunk_records/r2_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:bcfc88f36fea88f951a3015bcf84a20879db44180a9484f6cf036c0705d4d1e4
3
- size 31734128