Mo7art commited on
Commit
ba9cb7f
·
verified ·
1 Parent(s): d0c1ffc

Clean StackOverflow vector language dataset before upload: ruby

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/r1_00000.parquet +0 -3
  11. chunk_records/r1_00001.parquet +0 -3
  12. chunk_records/r1_00002.parquet +0 -3
  13. chunk_records/r1_00003.parquet +0 -3
  14. chunk_records/r1_00004.parquet +0 -3
  15. chunk_records/r1_00005.parquet +0 -3
  16. chunk_records/r1_00006.parquet +0 -3
  17. chunk_records/r1_00007.parquet +0 -3
  18. chunk_records/r2_00000.parquet +0 -3
  19. chunk_records/r2_00001.parquet +0 -3
  20. chunk_records/r2_00002.parquet +0 -3
  21. chunk_records/r2_00003.parquet +0 -3
  22. chunk_records/r2_00004.parquet +0 -3
  23. chunk_records/r2_00005.parquet +0 -3
  24. chunk_records/r2_00006.parquet +0 -3
  25. chunk_records/r2_00007.parquet +0 -3
  26. chunk_records/r3_00000.parquet +0 -3
  27. chunk_records/r3_00001.parquet +0 -3
  28. chunk_records/r3_00002.parquet +0 -3
  29. chunk_records/r3_00003.parquet +0 -3
  30. chunk_records/r3_00004.parquet +0 -3
  31. chunk_records/r3_00005.parquet +0 -3
  32. chunk_records/r3_00006.parquet +0 -3
  33. chunk_records/r3_00007.parquet +0 -3
  34. chunk_records/r4_00000.parquet +0 -3
  35. chunk_records/r4_00001.parquet +0 -3
  36. chunk_records/r4_00002.parquet +0 -3
  37. chunk_records/r4_00003.parquet +0 -3
  38. chunk_records/r4_00004.parquet +0 -3
  39. chunk_records/r4_00005.parquet +0 -3
  40. chunk_records/r4_00006.parquet +0 -3
  41. chunk_records/r4_00007.parquet +0 -3
  42. chunk_records/r5_00000.parquet +0 -3
  43. chunk_records/r5_00001.parquet +0 -3
  44. chunk_records/r5_00002.parquet +0 -3
  45. chunk_records/r5_00003.parquet +0 -3
  46. chunk_records/r5_00004.parquet +0 -3
  47. chunk_records/r5_00005.parquet +0 -3
  48. chunk_records/r5_00006.parquet +0 -3
  49. chunk_records/r5_00007.parquet +0 -3
  50. chunk_records/r6_00000.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 - Ruby
10
- license: cc-by-sa-4.0
11
- size_categories:
12
- - 1M<n<10M
13
- ---
14
-
15
- # Ruby StackOverflow Vector Dataset Datasheet
16
-
17
- ## 1. What This Dataset Is
18
-
19
- This dataset is the Ruby-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 Ruby 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 Ruby 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_ruby_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:1cc1ba12dbe08597e72fe7f0f6aaebe67f490a7b75d835c4237a5d52d47dc612
3
- size 29988015
 
 
 
 
chunk_records/r0_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e70a1559b93753a7593f6c6fa3e7668f52f5f42f114e81e7c6bcaeb81a940ff9
3
- size 31184740
 
 
 
 
chunk_records/r0_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e5b45c486445f3d6dc07b03726adf992330be9c3949d367106eb94d95eb38c58
3
- size 32100952
 
 
 
 
chunk_records/r0_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:643e76c01821c48f22d84f18827dde69d2d3b778eaf514e13e91a5053cc43f18
3
- size 33048021
 
 
 
 
chunk_records/r0_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:372e9be21d32f86d09e1f686cfe7258f34b6757a80ab21cc444952856f8c567c
3
- size 34235342
 
 
 
 
chunk_records/r0_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:46ef1cdc23962fe2622ae6fc45e44a937ef38750b8c13358e2eb8cccbaba0b80
3
- size 35789190
 
 
 
 
chunk_records/r0_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:32c2e32b58798773054de25755af965afa69b55cbb6ea14552de6291198bf362
3
- size 37440334
 
 
 
 
chunk_records/r0_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:58b00203c0dec9fa29eff232ba033e583c5a9c61165ff68ebc678ffd713fef5b
3
- size 5412716
 
 
 
 
chunk_records/r1_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f257f07bc31d05bb463019538242480120439c66f1dbc4084843aebb9c8c46b9
3
- size 29988662
 
 
 
 
chunk_records/r1_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d344a5ad9b5f4f1ea4b511be5bd05c94d6414efb765862ccb42fa5ddee26a55f
3
- size 31227925
 
 
 
 
chunk_records/r1_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7b2791ac9f2f3882fc4c608e99b9e846e4ce6f58197556f57d269f8ba3875752
3
- size 32089786
 
 
 
 
chunk_records/r1_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:137e1584d7fd95505124305be18277d477afe547e01a2dea8415cad954e29759
3
- size 33045983
 
 
 
 
chunk_records/r1_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ce0cf40be9eed14661efbbd28ffc071e9da6964450201af2cb9eaf761c314116
3
- size 34214618
 
 
 
 
chunk_records/r1_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b2554549c1aa8da210dde5aecfd3ee2024e63c6a9a8f35fca8b3d96df175a91f
3
- size 35818691
 
 
 
 
chunk_records/r1_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:aba49936be28852329cb34915de682a7fcb320b5200ac6fe08d1afb305b2e68b
3
- size 37426725
 
 
 
 
chunk_records/r1_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9f99a39680e477e3aa3b858a00c151cab1e15f7005074e402451cd5ba4009051
3
- size 5404692
 
 
 
 
chunk_records/r2_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:65c1df0a6bec012526047d658ef96d67b4720087982ffef1f6e9f157c1e55a92
3
- size 30009596
 
 
 
 
chunk_records/r2_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0ed46e1d3a60f843347c672999bd9b358fe5f264e6c20703877f80e77ad80bac
3
- size 31172387
 
 
 
 
chunk_records/r2_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a5e7c92c15217fe62f040fa8d420764339c1c6ee24e903cca24433915fb18e9d
3
- size 32100464
 
 
 
 
chunk_records/r2_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:efcd62f5337d2ffe4d9ff4396f78415cc8c792338fa924d8f03b73883e7876a0
3
- size 33060354
 
 
 
 
chunk_records/r2_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:83275d2cb453de91ac72ab466e12463bde359c8698d5638c80285ee4fbdd4b7e
3
- size 34173482
 
 
 
 
chunk_records/r2_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:43c0d90e524fd4df4b39afd95a7e527bfdfc6a58ca79677ee5249c5b41056e6b
3
- size 35778649
 
 
 
 
chunk_records/r2_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:baf8d6aafba8deb86a53404246a8c93c42d370f197d9f683d48b10124a175e2c
3
- size 37438220
 
 
 
 
chunk_records/r2_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6c0d12d61fcb23b47b02424a523f81fa3de1983d6bdf3182665b156c8942cedb
3
- size 5411967
 
 
 
 
chunk_records/r3_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f48c0ef71d88dd082ba9287ac1636e2e10f63fba297b0b003722174be5244fae
3
- size 29995316
 
 
 
 
chunk_records/r3_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c4ea9aae4ae694eb50c97bfdf28a3789ad131b660c4f023c36e2d407eae92e74
3
- size 31191507
 
 
 
 
chunk_records/r3_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:958866c09232dcb6eeed81c033867ade3b46facb3bf31cd93b068b116bc0950f
3
- size 32051640
 
 
 
 
chunk_records/r3_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:12f5c009ad6583d95e49f1622dd846378dcae782a54d34330461ea3a92b09d5a
3
- size 33032384
 
 
 
 
chunk_records/r3_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:399e1e06deb36c31d81a6f417b19b0afaa7f1d13456076db8860e3e7213da701
3
- size 34168910
 
 
 
 
chunk_records/r3_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4def492eee4c145d21edef75be2e65040a0a96fcd62978cde7bcf0b21a42c621
3
- size 35854976
 
 
 
 
chunk_records/r3_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0d7d035b1c65a78d687127330f69eea44bb332838b69c0e8d6d055567359be58
3
- size 37405678
 
 
 
 
chunk_records/r3_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4c9c10daa8b8702718a58440ecbf51f9d4677b3ea0ec651e9d5fa92eeb31262e
3
- size 5404184
 
 
 
 
chunk_records/r4_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f0bd7996528ad183ed30d544004ef6b9ad595c762e438f49da8ab610e98b379e
3
- size 29983956
 
 
 
 
chunk_records/r4_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:22e4c07e8768f696e9b04a07dfcc6b90749c3abdbae653cbd98b9f6348581530
3
- size 31184107
 
 
 
 
chunk_records/r4_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b0c9dba31d8e38d1d69f1f202768c46dd4434f7444f969b55c13f44f2b071d3f
3
- size 32064752
 
 
 
 
chunk_records/r4_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5510ebfc16fca765a5149412bb7f2c3c0d3e277d60bb0b99071b30701b260775
3
- size 33046219
 
 
 
 
chunk_records/r4_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2685339d327ecc9d66f69c2cd4cfc2c7ab882387b48b84af20ba6c38ad209d31
3
- size 34161316
 
 
 
 
chunk_records/r4_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:630656cce97ced9cb679e04827e87716cdf6fcea2ea0bf2523cbdb01f21a22f4
3
- size 35862682
 
 
 
 
chunk_records/r4_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4ef4f09410ee0d81e9121fa42138c5d77bb002a3bcd8aaea1bbe2f9a284d1dac
3
- size 37378639
 
 
 
 
chunk_records/r4_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9c19cbc0e3379ca8149198dab30f07a772a3eb1a4186440b5d5b1f1bd0846049
3
- size 5399953
 
 
 
 
chunk_records/r5_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:cce20ec1d2cdfc9987413f4c1e8ca9987f0cabd02d0f501a3777aea47406cc94
3
- size 29987411
 
 
 
 
chunk_records/r5_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dbc40a5d6dcc071b30945515a77c6306bc9f782e8b6c25e554bff339f131be51
3
- size 31171967
 
 
 
 
chunk_records/r5_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0445452c19c873df0f2676fec3c94c5530a7124bd9e0f9366638becc4faa0cd9
3
- size 32065585
 
 
 
 
chunk_records/r5_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2d1eec4cb9c772f37821cc170b456ad880ce752ae39b0dc4306621daf6df2426
3
- size 33070756
 
 
 
 
chunk_records/r5_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d5d0c50580217dc94ee6a9be8eb702027c8fc601aeedb66b455fc2f54410f346
3
- size 34162730
 
 
 
 
chunk_records/r5_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:222a64577d3793ba97ce004fc96020a0a908b726145e56236fd0f940a2ddc0c0
3
- size 35838024
 
 
 
 
chunk_records/r5_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:502bc58096450c5b3011df69151b161e95185e4d3d370a8abbc968f76a9d7017
3
- size 37373875
 
 
 
 
chunk_records/r5_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:bfe0b5ea48de7130d391566636d985d492c05ca956b0b923793cd6b5b736595d
3
- size 5409070
 
 
 
 
chunk_records/r6_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ff72381f2c5389e3dae40368818bf9dc45a1584f58be9a1c8803454effff78b3
3
- size 30019588