Mo7art commited on
Commit
41ead65
·
verified ·
1 Parent(s): cdc1b9d

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. README.md +115 -0
  2. chunk_records/r0_00016.parquet +3 -0
  3. chunk_records/r0_00030.parquet +3 -0
  4. chunk_records/r0_00036.parquet +3 -0
  5. chunk_records/r0_00042.parquet +3 -0
  6. chunk_records/r0_00053.parquet +3 -0
  7. chunk_records/r0_00075.parquet +3 -0
  8. chunk_records/r0_00078.parquet +3 -0
  9. chunk_records/r1_00005.parquet +3 -0
  10. chunk_records/r1_00022.parquet +3 -0
  11. chunk_records/r1_00036.parquet +3 -0
  12. chunk_records/r1_00047.parquet +3 -0
  13. chunk_records/r1_00060.parquet +3 -0
  14. chunk_records/r2_00002.parquet +3 -0
  15. chunk_records/r2_00003.parquet +3 -0
  16. chunk_records/r2_00007.parquet +3 -0
  17. chunk_records/r2_00009.parquet +3 -0
  18. chunk_records/r2_00018.parquet +3 -0
  19. chunk_records/r2_00024.parquet +3 -0
  20. chunk_records/r2_00076.parquet +3 -0
  21. chunk_records/r3_00008.parquet +3 -0
  22. chunk_records/r3_00020.parquet +3 -0
  23. chunk_records/r3_00029.parquet +3 -0
  24. chunk_records/r3_00058.parquet +3 -0
  25. chunk_records/r3_00066.parquet +3 -0
  26. chunk_records/r4_00009.parquet +3 -0
  27. chunk_records/r4_00022.parquet +3 -0
  28. chunk_records/r4_00044.parquet +3 -0
  29. chunk_records/r4_00047.parquet +3 -0
  30. chunk_records/r4_00050.parquet +3 -0
  31. chunk_records/r4_00059.parquet +3 -0
  32. chunk_records/r4_00065.parquet +3 -0
  33. chunk_records/r4_00075.parquet +3 -0
  34. chunk_records/r5_00054.parquet +3 -0
  35. chunk_records/r6_00044.parquet +3 -0
  36. chunk_records/r6_00046.parquet +3 -0
  37. chunk_records/r7_00030.parquet +3 -0
  38. chunk_records/r7_00037.parquet +3 -0
  39. chunk_records/r7_00042.parquet +3 -0
  40. chunk_records/r7_00046.parquet +3 -0
  41. chunk_records/r7_00077.parquet +3 -0
  42. dataset_manifest.json +0 -0
  43. question_metadata/r0_00043.parquet +3 -0
  44. question_metadata/r0_00089.parquet +3 -0
  45. question_metadata/r0_00150.parquet +3 -0
  46. question_metadata/r0_00162.parquet +3 -0
  47. question_metadata/r0_00260.parquet +3 -0
  48. question_metadata/r0_00423.parquet +3 -0
  49. question_metadata/r0_00463.parquet +3 -0
  50. question_metadata/r0_00503.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 - Javascript
10
+ license: cc-by-sa-4.0
11
+ size_categories:
12
+ - 1M<n<10M
13
+ ---
14
+
15
+ # Javascript StackOverflow Vector Dataset Datasheet
16
+
17
+ ## 1. What This Dataset Is
18
+
19
+ This dataset is the Javascript-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 Javascript 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 Javascript 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_javascript_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_00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3235082788a3f598408218d9ca84fcc95e7bdb77283ef2d9468a09a41a35384b
3
+ size 31573647
chunk_records/r0_00030.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:767ca3cbcc841c4f83d6b4049c54c6f3b4b332e1d3bc94eab7db6f6276e3ddab
3
+ size 32750814
chunk_records/r0_00036.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9df3d8c810e862328d7dfe824f9c3549bca4f4524a2520bcd16fb29eae7e4df3
3
+ size 33347598
chunk_records/r0_00042.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a277c28378a12e978db79a165f6310ac6c6a8f31efb8ad80ba27f173cede1975
3
+ size 34060952
chunk_records/r0_00053.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d19ea96d816dcb1de7700bc33b5bca6ae0edefbb1ec59b4039f7d26f590df320
3
+ size 35412813
chunk_records/r0_00075.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad984311cb12c4dae5e8892704f890c6f671d85c03c5f4bd31028f93198c2953
3
+ size 37737317
chunk_records/r0_00078.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2567a50842e4f910d6f42f7e78bcc08c0b3fbdc020058371adf132f032dbf517
3
+ size 38415222
chunk_records/r1_00005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3509caa5b72e51c1c50f55dae8b043c56df61910741bd930f67d1ed12173f683
3
+ size 30532102
chunk_records/r1_00022.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cbff9c9b5b3e8d18542d4dbd0b7cfd3b3b86a0dfae5d57c324d9c385ac15e35
3
+ size 32013665
chunk_records/r1_00036.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4d5766f877283ae5e66815c9dfb32a87c85a800177f7d6dd5d66039ed706351
3
+ size 33384786
chunk_records/r1_00047.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ba5ec1a8eeb77df57a854d374aace045815894861983f54681cd497c17520ba
3
+ size 34785372
chunk_records/r1_00060.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42539d772a640b3fed58f7b614971aed8065cffea6750c144c69c6136daece7b
3
+ size 36118257
chunk_records/r2_00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34032c0287a6cf6076bbb6dfdc991f32dd05ac6c2590247c4c9450ab8b215871
3
+ size 29913612
chunk_records/r2_00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0634a1d7076cb7324ddb867072a6358fc80568ebf0a54fc64dee8deeaa06d672
3
+ size 30149829
chunk_records/r2_00007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3ea2ec3f02e9e27dba5efc50393bd66d03babbc4d302e36bea09617b2a71d6a
3
+ size 30754396
chunk_records/r2_00009.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2e2e1dcfa4cffcc185332e79f626d40b75826d6224748cfa20f949322274574
3
+ size 30938618
chunk_records/r2_00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5ffdb7e4dcbe155faea60f1ef260f7de766eab9d92eef11562889e63ae95891
3
+ size 31718949
chunk_records/r2_00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fe0abd204805766fc3067ecfc19b1b912edcf26944842988fd83d3090d90c75
3
+ size 32187044
chunk_records/r2_00076.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdeebf77981129d77355158d108308a84207253531a17c08a6a51a653a3266a7
3
+ size 37925309
chunk_records/r3_00008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:207d8f23ae273e47891ae6c661f833e179f6ab14d49fc88855db2f7fc0416f76
3
+ size 30844989
chunk_records/r3_00020.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:654fb7f5b31ac00070158dcecd9cfb7c76118b0fca4ba6427fd042dce15c3279
3
+ size 31859613
chunk_records/r3_00029.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5f21949008d68712154a5bf231be83ec968b726300b307943e7352f46079980
3
+ size 32642999
chunk_records/r3_00058.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff397883668640f6fd2ec66c7b41df6f083f969e41cf484daf356884ecf1e436
3
+ size 35934658
chunk_records/r3_00066.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd045abd93df7452fda9d65f1f6466f2859b2ca52ff1f89a12d6843e5990b6da
3
+ size 36575381
chunk_records/r4_00009.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cacc374fceea995493a4d0fc99db633e5f61f67829d92971bd852bb862a83a8
3
+ size 30954085
chunk_records/r4_00022.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42f4eb2c71f10f03781bda6435d95cb1a776ae86cfca19e3e8ffa585e81d059a
3
+ size 32033821
chunk_records/r4_00044.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43aa523d7f7668e80ca219d2be9a7fb977ea1bffbd4d26db8c2201c2124a115c
3
+ size 34364438
chunk_records/r4_00047.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ec28a1c3971d8f0ce1621c79ab09264dd49020829085d1060d3587579be9e3c
3
+ size 34755732
chunk_records/r4_00050.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78ab2f326b40e6f69ae20f16ff9eb3976c93b78471865a1a6a6c3bca8a32a897
3
+ size 35109394
chunk_records/r4_00059.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa352da54a55712a2825372602e7b87002dd1c9c972ee37606bb2a126217a273
3
+ size 36037902
chunk_records/r4_00065.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03820150fd9a395df93d1f4cf0ec9aaff05599ef9425e04a1ed933866c0327fc
3
+ size 36491570
chunk_records/r4_00075.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d129b0dd3c24be7358f7694e492126df564c1e1b02faccc99a55e943cbc84ec3
3
+ size 37747991
chunk_records/r5_00054.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e247d8b587af892706c19f43511a432ceac8f4b457c3bee2e1892640907e069c
3
+ size 35583064
chunk_records/r6_00044.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b786b45b0555cc7d7ccae16015c0be9e475551780fbf446a617457dce15571e1
3
+ size 34360998
chunk_records/r6_00046.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f3e2ec997f3e2d0a6e8fff8ff9e1e8119211746d393e1816264e510e4e9814e
3
+ size 34554174
chunk_records/r7_00030.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:857e10a3cfe679e5a5a4bf9327a36dbf2f7bdfa65d00111521929639b1e791ab
3
+ size 32752018
chunk_records/r7_00037.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6df9b42bba6b4aa56e007fd39e88811459d380fa4c92bcdbf86b3ceeec9e0d6c
3
+ size 33496226
chunk_records/r7_00042.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2fdfd106f0fdb98823feb27a8406371216a5b301756ca2306b8ba3efb5e3540
3
+ size 34125988
chunk_records/r7_00046.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6916ee89cbfaf54b9b829457bd1157868a341417ba3ecf15e095f84a8fa534ac
3
+ size 34614427
chunk_records/r7_00077.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dac125a48a7e2ef47fabf20c98fe37b1ee9874fb9c233170157d6d9f6589d4a9
3
+ size 38161026
dataset_manifest.json ADDED
The diff for this file is too large to render. See raw diff
 
question_metadata/r0_00043.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4839fbc81b115c7959165e065e7728cced44a42f8ab667504bdf30716f7c38a9
3
+ size 7826191
question_metadata/r0_00089.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:402a10ba1a0cf550c283674592d7780c41ce76c669b49afb1a23741b28ee8b10
3
+ size 7298923
question_metadata/r0_00150.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6689b1cd581fa18f476e94320697fa8505dc5d9f6f4db8877d058143b8a36b4
3
+ size 8025621
question_metadata/r0_00162.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c7d8bbb1d028d4b344dfb056fe14fde6655a04f6394eea2a6a6625cde0cdd6f
3
+ size 7937678
question_metadata/r0_00260.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd8ab693070dd72f198b4adc5850e4fb8cbdb62860c6bedba0bc7f0f2555365d
3
+ size 8130434
question_metadata/r0_00423.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de75713a76968514657260bacbcd61db2bd156e31679d6417a2863f5ac697aed
3
+ size 8398637
question_metadata/r0_00463.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2258dbb20a1b05ecc34d212096270abaca05a4db266fe5bf779139322533e0a3
3
+ size 10850149
question_metadata/r0_00503.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58fdaaf32e9c27eca36aabd715658f73d417bc8d1aef1996d4b93cd65e775c8d
3
+ size 8406294