Mo7art commited on
Commit
0e8332b
·
verified ·
1 Parent(s): 8e239a8

Clean StackOverflow vector language dataset before upload: css

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 - CSS
10
- license: cc-by-sa-4.0
11
- size_categories:
12
- - 1M<n<10M
13
- ---
14
-
15
- # CSS StackOverflow Vector Dataset Datasheet
16
-
17
- ## 1. What This Dataset Is
18
-
19
- This dataset is the CSS-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 CSS 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 CSS 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_css_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:1642c5609523f1a5456433e5b70be28bf56d5dd43a517f31162fdf8aa81b35d1
3
- size 29529856
 
 
 
 
chunk_records/r0_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5aa18bfae1a5ee7a860c21f78c89efc42ffa31a7a5630d4e034da23bd6c541be
3
- size 30189936
 
 
 
 
chunk_records/r0_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:bff73880eb68f1e3af08fac01df35f40d8a9a75e119f45865f5aac48118ec4c4
3
- size 30576793
 
 
 
 
chunk_records/r0_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:eda4c1c79dff760fa2a96be20e696da0d8b39d8ebca1ab5fc9b8ed187d3c0470
3
- size 30845525
 
 
 
 
chunk_records/r0_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:71431693d6261cff53243f78e576bc37d9b1eeb985c2ccdcbecac37e4a8a05b7
3
- size 31035406
 
 
 
 
chunk_records/r0_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f85673b4e6a51f198ae81d47bd003eaf029fc1ade89f44f8467ba17e05430983
3
- size 31366771
 
 
 
 
chunk_records/r0_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:97be560e4f4b18796b32724ad3be6e6c6e4a2e88db0b0bc808406cf1b07394c6
3
- size 31552509
 
 
 
 
chunk_records/r0_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0c3efbe06dbca024ce03dc8917e3c0e08b8b8ad1e6b89437e29b693d0e8375d2
3
- size 31770716
 
 
 
 
chunk_records/r0_00008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9813c60215153ff67c83f13246651e440e18bd3e3e802bade45c672bb1760d7c
3
- size 31968567
 
 
 
 
chunk_records/r0_00009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e5c90da9802843e404335dfcfd3a304f74fce21937a3c4ec11a41119f7ae75ed
3
- size 32220063
 
 
 
 
chunk_records/r0_00010.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ba11d374b011f2274ace3cb5b0ab3a3157c98b4dcd13e4b6dca1f44306a0f342
3
- size 32449241
 
 
 
 
chunk_records/r0_00011.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:71c23249c2e23385aae6611a29a44620b7202b12d1318cb3356c075ec6cc856b
3
- size 32666298
 
 
 
 
chunk_records/r0_00012.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e7173290494beabc9b4b61bf3b628b5aed9f43f567c8bea6ff3405e1c858ba6c
3
- size 33001930
 
 
 
 
chunk_records/r0_00013.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d53bdf906e92271da65b5e430f38a083829e54c07f87da509f320e873cd445e5
3
- size 33255549
 
 
 
 
chunk_records/r0_00014.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f592b2ade1d5ad69da7ed4d27d763956f2ab1cf2daf6bdf5225eabb4d6be6ef3
3
- size 33609497
 
 
 
 
chunk_records/r0_00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:34cf9a05ac88f7d2fe2bc27e6b4686211120094e1f80541e6eb7849bbddf1d94
3
- size 34031699
 
 
 
 
chunk_records/r0_00016.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b8d56021b4857e4b2b75d0567b8d191c916a3320ec85f76ee021653efede4fc0
3
- size 34374635
 
 
 
 
chunk_records/r0_00017.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:10736170fb20254a22a395a24c14ff7119d82fe5673f2a0f2cf958a0dda75a4b
3
- size 34727624
 
 
 
 
chunk_records/r0_00018.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d37902a02189ce48614332a66d97594c8a4af69d71c1aa10b048510d92943ac3
3
- size 35043319
 
 
 
 
chunk_records/r0_00019.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a6f48bbcbd7d0a5573441ecb473553e1e73819e4fa78ab683d0e41af3120c846
3
- size 35178284
 
 
 
 
chunk_records/r0_00020.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:af2f188026377341397ad14daaabc4888f49f235c8304347aef0460e2de2527d
3
- size 35302836
 
 
 
 
chunk_records/r0_00021.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:860956d9cf2f3339fc582a7fb83961ecc4cd419a67646a79061aec8622f75685
3
- size 35371287
 
 
 
 
chunk_records/r0_00022.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:74998ef5d1f3a8a91ab3e7ae648559f6ff457fc5d4f2bc5e2aad4b92a970ef00
3
- size 35617743
 
 
 
 
chunk_records/r0_00023.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:789eb70dcf246b01d7c4ec063a229062d52cf3a671bbb7d1d316beaf525e9a14
3
- size 35931621
 
 
 
 
chunk_records/r0_00024.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ffd01b43c5db2be6e7f0caefe64dc9e743636fe8d7a19410d38e093261ae7be7
3
- size 36388923
 
 
 
 
chunk_records/r0_00025.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5699fcf5344be67b22a8eccc93a3c087e470a7c2a5e1e99caa39c06bab7fed17
3
- size 37129938
 
 
 
 
chunk_records/r0_00026.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fd0d0376bc22081bd918ba97795269a2eea302a79a39178ca3e6b31474e61d66
3
- size 16639352
 
 
 
 
chunk_records/r1_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4300b0ff85d77f5436645c901b3f957fda6922592d851625d05c39237a385de7
3
- size 29538576
 
 
 
 
chunk_records/r1_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:72e2b9a010bce3e211404a858ff6541fa4af88305be5173363c694d02112bbce
3
- size 30198829
 
 
 
 
chunk_records/r1_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a5696e156cf740945ecce2d50dfb1befc1566bd865d1ac7e618c56971975e734
3
- size 30580588
 
 
 
 
chunk_records/r1_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6ccf128cbd689a5112c7c8598cf031f06c8090ebc6d33a4d051a5098fc060be5
3
- size 30818601
 
 
 
 
chunk_records/r1_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9ad79c25fa2d8a67056b3ded20b866824784c17f8891ec28288f0f676c31839b
3
- size 31050283
 
 
 
 
chunk_records/r1_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9afe0f6371945a0353d9d5f8a337dbf6c1cf56148575e720e785361dde6a5ac9
3
- size 31397281
 
 
 
 
chunk_records/r1_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4b8fa21626c558f7c2c8410b73080313e5fed114c622322ce578d2f7e598abf5
3
- size 31559999
 
 
 
 
chunk_records/r1_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4ed4672482c908333fcd81a45466d0336d73184096d2daf8ab986c23e7c2d4a1
3
- size 31728207
 
 
 
 
chunk_records/r1_00008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ed2d418518ad831daac156a2610a31d8c31fb636df1d010f6e35c6e45a2b6419
3
- size 31951536
 
 
 
 
chunk_records/r1_00009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:946f27b8a6ea41b279fb103115bded740d532285909951f4701bf50e9a4e9abd
3
- size 32182714
 
 
 
 
chunk_records/r1_00010.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ddc40eb98cb75ebe92e0336bc84ad11e4be47debaa640677130d083bceebe5ac
3
- size 32434340
 
 
 
 
chunk_records/r1_00011.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ecefa6e8af27d64a650222c330b555c792f39567acb7a021394ca0a5708b057b
3
- size 32691294
 
 
 
 
chunk_records/r1_00012.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:76f47ce92904bb34ee963df6a845c231b264545404d2cb2b2dea87b036356070
3
- size 32963232
 
 
 
 
chunk_records/r1_00013.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:545aae94d6d532fafbbdc762f3b2b1cc4d17040b2d4b8e822f4af75e88ab5a59
3
- size 33299824
 
 
 
 
chunk_records/r1_00014.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ab156b1a945ce521ea8f20f44c2832d042c569ecaafe055eabf55dccdac852d3
3
- size 33564897
 
 
 
 
chunk_records/r1_00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:92e26714061894e0d5e21582eda8e6ea831fd0cc86a651eb63effc533c8808bb
3
- size 34004206
 
 
 
 
chunk_records/r1_00016.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:18ad1da48cc082b1c60c616b9902d7e8fdf305a255237f54f7ff9ce2d238303c
3
- size 34440022
 
 
 
 
chunk_records/r1_00017.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2dd18e8251602411d9c5431b4b70462e5d5def5d2cb66857c63af89cf3bef8d9
3
- size 34756496
 
 
 
 
chunk_records/r1_00018.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4055bcefbfd3670bce28857e1eedfa1f9bda22878dff1aec30ed7fc04e508b72
3
- size 35021830
 
 
 
 
chunk_records/r1_00019.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:345695619f379476b0ef62c60aa8a3699e6f583657d9a09adeb26ec00abeea81
3
- size 35174800
 
 
 
 
chunk_records/r1_00020.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:029fbb227621a2cb795a1ac804ac590c1c47729ca2f8e1398534580a8c39a62c
3
- size 35295840
 
 
 
 
chunk_records/r1_00021.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8cfe2b148381aafffc7683ce59cf68a6737d57a9e2263580ee8f139e1832c7db
3
- size 35345025