Mo7art commited on
Commit
76971d9
·
verified ·
1 Parent(s): b0710f2

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. README.md +115 -0
  2. chunk_records/r0_00026.parquet +3 -0
  3. chunk_records/r0_00056.parquet +3 -0
  4. chunk_records/r1_00005.parquet +3 -0
  5. chunk_records/r1_00019.parquet +3 -0
  6. chunk_records/r1_00022.parquet +3 -0
  7. chunk_records/r1_00023.parquet +3 -0
  8. chunk_records/r1_00036.parquet +3 -0
  9. chunk_records/r1_00037.parquet +3 -0
  10. chunk_records/r1_00040.parquet +3 -0
  11. chunk_records/r1_00044.parquet +3 -0
  12. chunk_records/r1_00052.parquet +3 -0
  13. chunk_records/r1_00059.parquet +3 -0
  14. chunk_records/r2_00002.parquet +3 -0
  15. chunk_records/r2_00003.parquet +3 -0
  16. chunk_records/r2_00004.parquet +3 -0
  17. chunk_records/r2_00007.parquet +3 -0
  18. chunk_records/r2_00030.parquet +3 -0
  19. chunk_records/r2_00049.parquet +3 -0
  20. chunk_records/r2_00050.parquet +3 -0
  21. chunk_records/r2_00058.parquet +3 -0
  22. chunk_records/r3_00008.parquet +3 -0
  23. chunk_records/r3_00014.parquet +3 -0
  24. chunk_records/r3_00016.parquet +3 -0
  25. chunk_records/r3_00017.parquet +3 -0
  26. chunk_records/r3_00023.parquet +3 -0
  27. chunk_records/r3_00026.parquet +3 -0
  28. chunk_records/r3_00029.parquet +3 -0
  29. chunk_records/r4_00019.parquet +3 -0
  30. chunk_records/r4_00023.parquet +3 -0
  31. chunk_records/r4_00039.parquet +3 -0
  32. chunk_records/r4_00046.parquet +3 -0
  33. chunk_records/r5_00000.parquet +3 -0
  34. chunk_records/r5_00006.parquet +3 -0
  35. chunk_records/r5_00032.parquet +3 -0
  36. chunk_records/r5_00037.parquet +3 -0
  37. chunk_records/r5_00053.parquet +3 -0
  38. chunk_records/r5_00060.parquet +3 -0
  39. chunk_records/r6_00002.parquet +3 -0
  40. chunk_records/r6_00014.parquet +3 -0
  41. chunk_records/r6_00022.parquet +3 -0
  42. chunk_records/r6_00063.parquet +3 -0
  43. chunk_records/r7_00005.parquet +3 -0
  44. chunk_records/r7_00019.parquet +3 -0
  45. chunk_records/r7_00020.parquet +3 -0
  46. chunk_records/r7_00041.parquet +3 -0
  47. chunk_records/r7_00046.parquet +3 -0
  48. chunk_records/r7_00058.parquet +3 -0
  49. chunk_records/r7_00060.parquet +3 -0
  50. dataset_manifest.json +0 -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 - Java
10
+ license: cc-by-sa-4.0
11
+ size_categories:
12
+ - 1M<n<10M
13
+ ---
14
+
15
+ # Java StackOverflow Vector Dataset Datasheet
16
+
17
+ ## 1. What This Dataset Is
18
+
19
+ This dataset is the Java-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 Java 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 Java 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_java_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_00026.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83120cd715a4e700b73e9e847cd30879a68e12608ab3db274360740049efb7b6
3
+ size 33686164
chunk_records/r0_00056.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95ab289f4f40689a726df59ec4a204a4948639d382f66f47d05c9d1000165f87
3
+ size 38362177
chunk_records/r1_00005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70f72e7ba85ad1cfb08f3e328ca05f4bf595efbc5079d98fb8b99af05d02d288
3
+ size 30707377
chunk_records/r1_00019.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2f69ecf8c07d37f0ad3c95661451752594363f04320c0ece73e92aa7e1ee8fc
3
+ size 32654550
chunk_records/r1_00022.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ad576ee6c01f37ba3db21b7a1472ccb6524f16b508e198c0750bbb4ea6938d4
3
+ size 33108143
chunk_records/r1_00023.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:795d22dab560b7b58e11fd57c06603977b9927639ec816713269d632148d8dcb
3
+ size 33301315
chunk_records/r1_00036.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6da1a73cfeb803280e43f4322156d9549f82a27b873f24bbf31cca384b3555a
3
+ size 35562866
chunk_records/r1_00037.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa6a24578977944e939f844bd4b65282379d9414fec916cb952f2acf29ce915f
3
+ size 35727305
chunk_records/r1_00040.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51233145161bfd3a2d2ac16506453174e97e6c6205b4b638810fcc9262cfb718
3
+ size 36320598
chunk_records/r1_00044.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a02446a13efdf1094ec84a81b586bb6a8ca0f417f76577cca1f08c3c738d195
3
+ size 36904369
chunk_records/r1_00052.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66494224d52ae9f888638ca43ebacfe1ff0c6a534a15757765f5c5464323ae4a
3
+ size 37825147
chunk_records/r1_00059.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0aa6730f19fe276c0ddb7b014c36b2531cfa6f122974d838a87af5c2673195ca
3
+ size 38757386
chunk_records/r2_00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57d95e27b1a45f44ecc2262a58eb8d00dfda07d5c6ae17745f95a9b1fa94c044
3
+ size 29925478
chunk_records/r2_00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24b055faa14c0ebf96416d9a397e19dd4567864a7eabc8274d5fc7f4a91a8306
3
+ size 30217331
chunk_records/r2_00004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d73dea9623b65596d20e195312934aa723ac3a8c679ab2046e88f4d6ad58962e
3
+ size 30473663
chunk_records/r2_00007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9eef4c3f6d70a4ddac463bf7ea2bdeff4c08eac2dfe904084d94fcb6196719a1
3
+ size 31011253
chunk_records/r2_00030.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02d1f4ad1ccb568c1f6ae0f58ee6e239f5a3c96a07e318f58473f42421b703d3
3
+ size 34396678
chunk_records/r2_00049.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08d7cb2f9c06966c37209b687e4fa3a3216aa69d8f16b6965e1763a3b4b2ea97
3
+ size 37501016
chunk_records/r2_00050.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5957584c8520e12675d3745a614f307db0c93032c5f440882c6e47ebba83640
3
+ size 37620233
chunk_records/r2_00058.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e08b9d983e11c1f3656898d0088d9a81d8d6229d1550749f0e04a2d7e42239ea
3
+ size 38604508
chunk_records/r3_00008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f27888d921059848c7ad7e32fb09e14053dda900c4191821086a2299118a974
3
+ size 31186024
chunk_records/r3_00014.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f03b226f8dc050368ad298e799ba30090e4515cf575dac3ef052931d04fa5bfa
3
+ size 31976580
chunk_records/r3_00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0433f38f0790e2085d9f160aeef902ba77ad77cd775bab54b0f4fffb43187aa0
3
+ size 32260746
chunk_records/r3_00017.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4aefe7e49ae406d48d2ed3a8bbd4715adfdc014ce3795fc234cf8ff78cbff0d
3
+ size 32413200
chunk_records/r3_00023.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3bce8cef17974b3ee078a6e5c110f1507e3e5012f74d5171ed1cfdb91be05d3
3
+ size 33276543
chunk_records/r3_00026.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fa9990bc36bafcfe351a0fd2e8871125239a851aac56f93b07e1e9c7ec78ce1
3
+ size 33701388
chunk_records/r3_00029.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cafeeaabb02e2ec64326d18121165b3b87ae418de005e953ba014adcfe9804c
3
+ size 34226052
chunk_records/r4_00019.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b62b716bb8588d9c36662105989a3176b0134c4b1b40c6e8a14054a796c0851
3
+ size 32657070
chunk_records/r4_00023.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:234a491c373ef4435b590f801ce0c1f3e9139622341e7b01ec363d5bc738b4ae
3
+ size 33261321
chunk_records/r4_00039.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c2be5914a1560b7a8edafd702fbed3f0a0dafadf0863b087dbbc6af2c17aa32
3
+ size 36081388
chunk_records/r4_00046.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d13486a801354e1dab97851761221e43c274e56fea21522a5a949095c5b596cb
3
+ size 37199254
chunk_records/r5_00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcb238dd57a59a7fe253ce08297914ee40d1ae11cf65dacf04c1678fd43e3e8a
3
+ size 29167708
chunk_records/r5_00006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71db0c536cb0137a334b9faa65680d55ed23481caf96f9229263fed8f25c1030
3
+ size 30858056
chunk_records/r5_00032.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb26334a89dd37f6aee27579ea78a10dd49b3b6330a71e442e07810c2286a189
3
+ size 34830132
chunk_records/r5_00037.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08cdf59d34d3349de15c5d82c6c4d123530d911b7d85c1bd246725ea991ce60c
3
+ size 35697068
chunk_records/r5_00053.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ffd8a444a2324518ccf19407c091121fd04e8dc6e72d4f3cf7d027448d0e127
3
+ size 37999907
chunk_records/r5_00060.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:966ee67df4287bea2eed35f3433166469b6963d987e78eddebb8d0945e6ed3d3
3
+ size 38801889
chunk_records/r6_00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:497d1e2c206b7fd45d0e3ae230fcc0e7fc5665bb42de9bde9fad2a17f038e7bd
3
+ size 29950900
chunk_records/r6_00014.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ef3e1357a00b0873d1aab91e03a61d6e677f862cafc92818af45249095a13a8
3
+ size 32003158
chunk_records/r6_00022.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd7e327c699e5fec247f809402bb71d2dbcb40907c812f5038aaa51f80fb258d
3
+ size 33082335
chunk_records/r6_00063.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1453fa55b15a99ac7bd20652aeca46ed02e806e63d9767a97c503ec0482a88ff
3
+ size 17578762
chunk_records/r7_00005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:653aa2b20ca0a700209c447840ad39e2ecb9f84078141a20069063e441391c9e
3
+ size 30689509
chunk_records/r7_00019.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c0c82a988ab01da7cec10741e3a1ce61c93106266afb7cb35659c5d1dcf3ce0
3
+ size 32686388
chunk_records/r7_00020.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce7b121529fbecbca2f1035a2ebf69c39e032d369428d15e5bf757b2b8121b4c
3
+ size 32782911
chunk_records/r7_00041.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e98f352cec07dab2bac953c9ce45f6425f780f2ca758a0ba0853325329d4323
3
+ size 36439343
chunk_records/r7_00046.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:233c20e1350da95c29f5637fa71de9bba30167a810bc347b8eff0d6767e932ee
3
+ size 37190268
chunk_records/r7_00058.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4607bdee880ee4181a68f30f6cb7768bc268ec6b5a31d30c1d9160519e339e6a
3
+ size 38593131
chunk_records/r7_00060.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:268312eb073d3dabaa60dbdd4c2c3670b60db918d7b952d67c9b5faa46771332
3
+ size 38854021
dataset_manifest.json ADDED
The diff for this file is too large to render. See raw diff