Mo7art commited on
Commit
afbb795
·
verified ·
1 Parent(s): f8b851f

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. README.md +115 -0
  2. chunk_records/r0_00011.parquet +3 -0
  3. chunk_records/r0_00030.parquet +3 -0
  4. chunk_records/r0_00042.parquet +3 -0
  5. chunk_records/r1_00022.parquet +3 -0
  6. chunk_records/r1_00036.parquet +3 -0
  7. chunk_records/r1_00047.parquet +3 -0
  8. chunk_records/r2_00007.parquet +3 -0
  9. chunk_records/r2_00009.parquet +3 -0
  10. chunk_records/r2_00021.parquet +3 -0
  11. chunk_records/r2_00030.parquet +3 -0
  12. chunk_records/r2_00039.parquet +3 -0
  13. chunk_records/r2_00046.parquet +3 -0
  14. chunk_records/r3_00014.parquet +3 -0
  15. chunk_records/r3_00043.parquet +3 -0
  16. chunk_records/r4_00003.parquet +3 -0
  17. chunk_records/r4_00016.parquet +3 -0
  18. chunk_records/r4_00022.parquet +3 -0
  19. chunk_records/r4_00026.parquet +3 -0
  20. chunk_records/r4_00039.parquet +3 -0
  21. chunk_records/r4_00042.parquet +3 -0
  22. chunk_records/r5_00022.parquet +3 -0
  23. chunk_records/r6_00008.parquet +3 -0
  24. chunk_records/r6_00014.parquet +3 -0
  25. chunk_records/r6_00044.parquet +3 -0
  26. chunk_records/r7_00009.parquet +3 -0
  27. chunk_records/r7_00030.parquet +3 -0
  28. chunk_records/r7_00042.parquet +3 -0
  29. chunk_records/r7_00048.parquet +3 -0
  30. dataset_manifest.json +0 -0
  31. question_metadata/r0_00002.parquet +3 -0
  32. question_metadata/r0_00026.parquet +3 -0
  33. question_metadata/r0_00032.parquet +3 -0
  34. question_metadata/r0_00035.parquet +3 -0
  35. question_metadata/r0_00067.parquet +3 -0
  36. question_metadata/r0_00097.parquet +3 -0
  37. question_metadata/r0_00100.parquet +3 -0
  38. question_metadata/r0_00114.parquet +3 -0
  39. question_metadata/r0_00166.parquet +3 -0
  40. question_metadata/r0_00190.parquet +3 -0
  41. question_metadata/r0_00197.parquet +3 -0
  42. question_metadata/r0_00213.parquet +3 -0
  43. question_metadata/r0_00216.parquet +3 -0
  44. question_metadata/r0_00230.parquet +3 -0
  45. question_metadata/r0_00237.parquet +3 -0
  46. question_metadata/r0_00252.parquet +3 -0
  47. question_metadata/r0_00258.parquet +3 -0
  48. question_metadata/r0_00289.parquet +3 -0
  49. question_metadata/r0_00297.parquet +3 -0
  50. question_metadata/r0_00311.parquet +3 -0
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 - 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_csharp_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_00011.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba14d1f5f514a84cf8b9a24ccf74fa576748190f0fe6e00814042186eae4f481
3
+ size 31937281
chunk_records/r0_00030.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7191e9f69458635fcf93347ac456d57b58defdbbbc114492f8c0aad4238b2c4e
3
+ size 35294629
chunk_records/r0_00042.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d80e94d105a55b09a494452260869413fac0db8295d9aa298a5a9110a78a1d78
3
+ size 37608308
chunk_records/r1_00022.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b9b2ea83ae34a71781f489016e6787ddc2bdd062083d0f6dc9f62cf4e4374c8
3
+ size 33710151
chunk_records/r1_00036.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20ef023b7794bb798c79a537b88cb2245139edbc59351d400f33542db56c4a62
3
+ size 36705647
chunk_records/r1_00047.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d176ea1b24f07559cd0e82ac203167c77537809050f85200bff6789cab0a3597
3
+ size 38400326
chunk_records/r2_00007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ce7d490e6b9efde353996f070ffa2b61c86303ce8077e9d0a43835211f917b0
3
+ size 31346293
chunk_records/r2_00009.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af20cf0459cce3420eba1a6bd179868e412ed3524e5dd0efe3161fd1543330c6
3
+ size 31695424
chunk_records/r2_00021.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35cd2f12e13731822a96a5f663f0d776018ea1c7a7f418f16c100d15c48b146c
3
+ size 33557050
chunk_records/r2_00030.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:147c6a275274315d89b2f2d8b1662e35c8d0e84b9c398a8007183280ae87d385
3
+ size 35305699
chunk_records/r2_00039.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ccfa621b68f264db4d9b68b91035317142ea4aaea445294fc18cbcadc1ba275
3
+ size 37159455
chunk_records/r2_00046.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fbfc958f2dfe124e966a019bcb6517692dd12f0c571de50c12cbd167fc8a411
3
+ size 38202693
chunk_records/r3_00014.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:898ffe9cf7cd5b1abf8781f3fe6d15ac465221f1501b177b00e7c45e4eee0411
3
+ size 32446566
chunk_records/r3_00043.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:568c549b6e14202f16cc17f076a9e036bb7b22f474a3cbc5b3371318113bdfc7
3
+ size 37725438
chunk_records/r4_00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e057553de99e6e79fb3aa097ca8284a4c085fcf67576d6023bee9c7f7262a9d
3
+ size 30512117
chunk_records/r4_00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c77b3a9d6352402d6fbf66d68436ab77e34709e7da9cc3cfa1c249dcd1cf92b9
3
+ size 32716099
chunk_records/r4_00022.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6683f5aa697d44592396dc558e5570881a4af80cc829dcab4dcd8d552a7a4c21
3
+ size 33755538
chunk_records/r4_00026.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79eca77470205c1f25cfa964da5d05c66221d1f02c4073ef953806daf704b8eb
3
+ size 34518217
chunk_records/r4_00039.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6252c7e87a860c5fb14dccb0d2ff0bcc09a9c6b876dc929cfc2e71c2bb6aa411
3
+ size 37199425
chunk_records/r4_00042.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4996fbea9c3dd69819e727cb2293022060bd156933b5bfc7ce4e58a8ef23cfaa
3
+ size 37658659
chunk_records/r5_00022.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd674e3253e923d06831184bd89b3f3cea98e9b7926ae01c1219bc8cf9481883
3
+ size 33771070
chunk_records/r6_00008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b4c40aecbc770d85bcf427c8c6f4d27fb786af6dab25f60ed26400bc59a034a
3
+ size 31565511
chunk_records/r6_00014.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d35aa6f527aee6966ec5f5f6aa8683576cdd2bf91e7ec1a5d277e0811d91c79
3
+ size 32422281
chunk_records/r6_00044.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55a83dda777fcf5d1f6fba82201c9b6c3b137bbda6110271b081d599620ee899
3
+ size 37849936
chunk_records/r7_00009.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b00d7daed265133a3eb98938afa1db6f2bc8ec6bf77495551639865bf3fd0862
3
+ size 31669420
chunk_records/r7_00030.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9820389823acdbc76fcc4c240e6baa6902b803e94deada2bfac842eab0ad3978
3
+ size 35337713
chunk_records/r7_00042.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dcecc273d4ac0e1010e57318414fb5f9846f7296f9b37bf2aae4ccc797a2bcb
3
+ size 37615043
chunk_records/r7_00048.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abff992718cf14493c04eb673fdbd5af189c3f417f4e40879df985b78bb69cbc
3
+ size 38627415
dataset_manifest.json ADDED
The diff for this file is too large to render. See raw diff
 
question_metadata/r0_00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:807fd8a62bd3fee8334cf3c043817ea6b28e40e241c9d577fe63f0810aa027d2
3
+ size 8040320
question_metadata/r0_00026.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5941be40ff6fa33e1b02cdbae9bd7fe38c0e61ac1d692af547618221c1cb81d3
3
+ size 8583383
question_metadata/r0_00032.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e4ebaaa269cd57543c8ad10f3655f7867d90bbeb054ed04f1c3899f83cd255a
3
+ size 8521050
question_metadata/r0_00035.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:108f82592534a18b8972b540de7d1ce334376d38b000a080abf407c0bc60b186
3
+ size 8662976
question_metadata/r0_00067.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2074ced3ee2343f243be009f7ee0ae26fc968c1b4e5da384f1164353773c7aef
3
+ size 8896754
question_metadata/r0_00097.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78afb84e37bbec71b23414299f8a80b9d0f191f0c2e846115ead19780616535f
3
+ size 8260608
question_metadata/r0_00100.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2650a71bf95ec0356e8635fa3bc69e5c42fbb9a8d4e6b28c1988f232fd59942a
3
+ size 8474465
question_metadata/r0_00114.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ec16e3951c69672d4923876687ccb15ad0f9854a0798adbdace81259a068d23
3
+ size 8882332
question_metadata/r0_00166.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92f8d39ded78a53a8664281b081325ec4f5f47b371e74dcd308473d1748fdb31
3
+ size 9092060
question_metadata/r0_00190.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b5088412ae8696711717d4056764aecdbec6cdee2b2362f78dde5a648ef4ecb
3
+ size 9338751
question_metadata/r0_00197.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5907cd6f05621ab0e2302e49ff46299a165ed8848970a03d55819d253e885f9f
3
+ size 9381875
question_metadata/r0_00213.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acd773c37836fcd53bd6d3218c2868f7211648f21c5bc247aec0b2c86fa8fef0
3
+ size 9189064
question_metadata/r0_00216.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:500504340a740e460321b232cadbb4e42d768f1eab4f46c921c8264d3cf64ad0
3
+ size 9054651
question_metadata/r0_00230.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91a36cebef50637b15976bacaf186c5297254c86e9547611cd785a71152cfbce
3
+ size 11505064
question_metadata/r0_00237.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e04f1e3ec0a14d5554354551bdeea82ca006113be05896cb5abec4ad133dcf31
3
+ size 7952145
question_metadata/r0_00252.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00d06ac88ece7ab2bf5165910284d15657a91064eb6128c584cab7a5bb71a746
3
+ size 9628300
question_metadata/r0_00258.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e8f0c63daa592d063ff9855c039927c8ed0f84c56c718da55ef9472c24d3425
3
+ size 9488666
question_metadata/r0_00289.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5dfdcd645307bf83ca37347e9761f2f0980b10cc7698711fa32f9f529ea0538b
3
+ size 9604238
question_metadata/r0_00297.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6650fb08a2d9128fad42b53a368ade12fc78b0ec609294020d73788146c8f91e
3
+ size 9656356
question_metadata/r0_00311.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fec368924097b8c6b25eee2242ebaf29e8e73ddf7e47a60789c07de719fe8bb
3
+ size 9517051