Mo7art commited on
Commit
c12f2bd
·
verified ·
1 Parent(s): ed1386a

Clean StackOverflow vector language dataset before upload: c++

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/r0_00021.parquet +0 -3
  24. chunk_records/r0_00022.parquet +0 -3
  25. chunk_records/r0_00023.parquet +0 -3
  26. chunk_records/r0_00024.parquet +0 -3
  27. chunk_records/r0_00025.parquet +0 -3
  28. chunk_records/r0_00026.parquet +0 -3
  29. chunk_records/r1_00000.parquet +0 -3
  30. chunk_records/r1_00001.parquet +0 -3
  31. chunk_records/r1_00002.parquet +0 -3
  32. chunk_records/r1_00003.parquet +0 -3
  33. chunk_records/r1_00004.parquet +0 -3
  34. chunk_records/r1_00005.parquet +0 -3
  35. chunk_records/r1_00006.parquet +0 -3
  36. chunk_records/r1_00007.parquet +0 -3
  37. chunk_records/r1_00008.parquet +0 -3
  38. chunk_records/r1_00009.parquet +0 -3
  39. chunk_records/r1_00010.parquet +0 -3
  40. chunk_records/r1_00011.parquet +0 -3
  41. chunk_records/r1_00012.parquet +0 -3
  42. chunk_records/r1_00013.parquet +0 -3
  43. chunk_records/r1_00014.parquet +0 -3
  44. chunk_records/r1_00015.parquet +0 -3
  45. chunk_records/r1_00016.parquet +0 -3
  46. chunk_records/r1_00017.parquet +0 -3
  47. chunk_records/r1_00018.parquet +0 -3
  48. chunk_records/r1_00019.parquet +0 -3
  49. chunk_records/r1_00020.parquet +0 -3
  50. chunk_records/r1_00021.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 - C++
10
- license: cc-by-sa-4.0
11
- size_categories:
12
- - 1M<n<10M
13
- ---
14
-
15
- # C++ StackOverflow Vector Dataset Datasheet
16
-
17
- ## 1. What This Dataset Is
18
-
19
- This dataset is the C++-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 C++ 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 C++ 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_c++_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:eda91fc70130b5c8990f40c9845dd543303338fea40d6ff800bd8563dec44197
3
- size 29531573
 
 
 
 
chunk_records/r0_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e3b37ef13019054a98614b01b29b01278d7dc48ea3cc76beba83aa94337ad127
3
- size 30279887
 
 
 
 
chunk_records/r0_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d306de67aea650c439ce5f243e678a2625e350bd4a8137143b4499804470a39b
3
- size 30718014
 
 
 
 
chunk_records/r0_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a8ea471deea548997bc0bfd454b1531b2cb7d85b9f1ec8853ab78535401087b7
3
- size 30982925
 
 
 
 
chunk_records/r0_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:eaebef473ac83c6d4991da39d34f8f8c03e4b404e53ea7eedc02dec51e78cf30
3
- size 31231220
 
 
 
 
chunk_records/r0_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:eb138e97f151dc056fffd180811d5863ad662f5cf38b44231c353323c22b1097
3
- size 31529885
 
 
 
 
chunk_records/r0_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:439d4e0f479e01c6f0fd054a22fdbb83f973af559c6392c8ad1047344204a63d
3
- size 31734415
 
 
 
 
chunk_records/r0_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0d2d0e30048a42c1bd86b7b9bc28b618380b34d368c80424bb120f87be5a4fc4
3
- size 32040809
 
 
 
 
chunk_records/r0_00008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:61998b943bc07df66e677fc61f871b397efb01c3c208849bf8b1e1eca0db628c
3
- size 32313594
 
 
 
 
chunk_records/r0_00009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:85a75e738763a43381ccb6350984194ae9f2f758f364d4f020d67557ec2f8c66
3
- size 32575587
 
 
 
 
chunk_records/r0_00010.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4bb9210f21226dfccaf4ca178f7dc84ef04f7b4556009c8a8df9d5706085ae36
3
- size 32886771
 
 
 
 
chunk_records/r0_00011.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6eced4b4a3bc341a5b9c59c53989034127a387c7eb551aa5dd9bc56db72d41b0
3
- size 33201736
 
 
 
 
chunk_records/r0_00012.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:baefd5a89566ea7ba096f136d4a4dab12c29470655e63a2a86e6c81f7df79e37
3
- size 33573045
 
 
 
 
chunk_records/r0_00013.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:80ed75db65f59c4a7b1ce8b122bfb8028ad17af5144e71fda9ef8e658c9877d6
3
- size 33931308
 
 
 
 
chunk_records/r0_00014.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:babf5517d755af28a987fcd4b020ad421de94a41944dfafdfb919ae5ec8dec6d
3
- size 34285942
 
 
 
 
chunk_records/r0_00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:be86a31386cee9fa7ffee8d033d1c53b4336343b7dd4a80bac796934f3bad71d
3
- size 34672292
 
 
 
 
chunk_records/r0_00016.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0400b5ceec7d4934b48f0284ff77425f12010c7d6d87dd610054d99a7eee849a
3
- size 35089266
 
 
 
 
chunk_records/r0_00017.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:74cd680f629d2396e08a0fae966f700c04e2d7c236a019c2b7c44f2a489a3d02
3
- size 35470278
 
 
 
 
chunk_records/r0_00018.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e91dc4b1f60ff5612eba2b179f639b95045c367560e1edf87fadbf3e4164fe6d
3
- size 35932239
 
 
 
 
chunk_records/r0_00019.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1c3024aeb1d14c7019718982fa1ae3bb47fd7c75f370a52d4c7e6dd1a7dac00c
3
- size 36265310
 
 
 
 
chunk_records/r0_00020.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:243b1b98e3a54334e7bd6b6735b3ced5341cac1bfc1209797e3d8b47c20edd3b
3
- size 36634819
 
 
 
 
chunk_records/r0_00021.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dc3fc05ee1e63511787197411a7586f9fbd907465e878c0a05a0b4ce88f130e9
3
- size 36868546
 
 
 
 
chunk_records/r0_00022.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1a055a9cdaaf41e968dcc4897727da5118f76134ccdeab084780275ada3d4405
3
- size 37126443
 
 
 
 
chunk_records/r0_00023.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1f75fd10f81e7574c6d7fd4721a63d9be7c3c831aa7bfd819b578506721d9bc3
3
- size 37436985
 
 
 
 
chunk_records/r0_00024.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ab88a1f7dcaca4c77ff15f3bf3f20efb4f70f60a7facf9465f5e536604e36abe
3
- size 37802144
 
 
 
 
chunk_records/r0_00025.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3991f5b8b87efb7ae4d6e9f02aa0b8c037f683c14b08024c22fe2c262668b433
3
- size 38376632
 
 
 
 
chunk_records/r0_00026.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:46327af2ef72219baa17682d637f0f1436dcec518e7304840ef8353a3459eee8
3
- size 5426718
 
 
 
 
chunk_records/r1_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:03ccf94853f5d031487a3f8e288d136fb30bd4cd9b4dbec8cfc43499d0817e97
3
- size 29556239
 
 
 
 
chunk_records/r1_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ea7b2155123dff421b44fa25cc5fdaecc7054c95947eea8f995ff5a4b7421481
3
- size 30296128
 
 
 
 
chunk_records/r1_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a313a81a5548f0b047e1d23837ed1ce46ae9ab33cea18630a2af41981b71b28d
3
- size 30712870
 
 
 
 
chunk_records/r1_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d6c7ac29eb028762608d7cec8422f3c322314c184af119c2d3257d3c4d328c56
3
- size 31008705
 
 
 
 
chunk_records/r1_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b5e8ecac35174140d4b45ab87ae0d434bdd30e655f1cf57de4daf28792d48aa6
3
- size 31247557
 
 
 
 
chunk_records/r1_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9968da9f39edb0beec39869c237a9b3f223a898c87624a1b79f957afafde7432
3
- size 31530953
 
 
 
 
chunk_records/r1_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8bceee5ecd2702f073a77d65e2ddf5fd3daabc1bac5278875f218da982adb1f5
3
- size 31772437
 
 
 
 
chunk_records/r1_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f30f5c244b0e8473e1fdbc1d3c5bf1e37f43a462af9d96dc1fe382393a3ee332
3
- size 32025243
 
 
 
 
chunk_records/r1_00008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:85f782a683660d2b927c955e1377c83aac95460a6badee5d53ff53a1e0e99444
3
- size 32322912
 
 
 
 
chunk_records/r1_00009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8945eb183395be34e9cefb209e5b881d1772a48c6fd52dfed94d261fe8125187
3
- size 32596079
 
 
 
 
chunk_records/r1_00010.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:abc60a9e68af3699aa16a3fb71261c8e1aa19e1e0614c040d1b8caac615a5a66
3
- size 32859348
 
 
 
 
chunk_records/r1_00011.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b637716077f9e1702f1c18ac4b5a88069f47c936349d10df75a7bfae8f107ff9
3
- size 33209361
 
 
 
 
chunk_records/r1_00012.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0ea9952ef66495c3aa642888ea6e5e5fd1b27071d729001cd321022fd81ae8d2
3
- size 33527890
 
 
 
 
chunk_records/r1_00013.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c0e58024678d7d4d9153f555f5dc2ab25816ddf9286788e22aad1756f9ea00c5
3
- size 33897290
 
 
 
 
chunk_records/r1_00014.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:093abb138e6f20c8193f7510cb7c89aa2646029fdf0bf4819bbe56273d27a429
3
- size 34230202
 
 
 
 
chunk_records/r1_00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3a16eab04b7fad9b9597e94f70324154fcfd35f285e1d600358827164fa8cd88
3
- size 34650678
 
 
 
 
chunk_records/r1_00016.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:732b60e76d0a693f6433c311de7f113601678739f39f6e0f632dc0e99b6576dd
3
- size 35030228
 
 
 
 
chunk_records/r1_00017.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ce50ad77ff2dc6c4b86385ed7fdd5a1872f1c64d1a40c35ed65478e9d7417a99
3
- size 35425015
 
 
 
 
chunk_records/r1_00018.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b789404b9b7cd34ad90ddb9c7caeb379e599c0d6ebe7e7ebaa125f0809aee899
3
- size 35855687
 
 
 
 
chunk_records/r1_00019.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:271f86e09bc1c02b0b2cb7a402acefbe73953cf4af59ec4e416c49d72ef8d894
3
- size 36231390
 
 
 
 
chunk_records/r1_00020.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e18fa6623c21c37d4ee9fcabab92dcaba12fef066126a45fac4e1d491fb1175b
3
- size 36555089
 
 
 
 
chunk_records/r1_00021.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:aca604b8c84405d96245e4d1f7ddaa458faceade14ba1474c288242d5ae95827
3
- size 36889355