Mo7art commited on
Commit
eeb2fa3
·
verified ·
1 Parent(s): af84f85

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_00019.parquet +3 -0
  4. chunk_records/r0_00024.parquet +3 -0
  5. chunk_records/r0_00026.parquet +3 -0
  6. chunk_records/r0_00027.parquet +3 -0
  7. chunk_records/r0_00033.parquet +3 -0
  8. chunk_records/r0_00034.parquet +3 -0
  9. chunk_records/r0_00036.parquet +3 -0
  10. chunk_records/r0_00042.parquet +3 -0
  11. chunk_records/r1_00005.parquet +3 -0
  12. chunk_records/r1_00006.parquet +3 -0
  13. chunk_records/r1_00007.parquet +3 -0
  14. chunk_records/r1_00022.parquet +3 -0
  15. chunk_records/r1_00036.parquet +3 -0
  16. chunk_records/r1_00040.parquet +3 -0
  17. chunk_records/r1_00041.parquet +3 -0
  18. chunk_records/r1_00044.parquet +3 -0
  19. chunk_records/r2_00022.parquet +3 -0
  20. chunk_records/r2_00024.parquet +3 -0
  21. chunk_records/r2_00032.parquet +3 -0
  22. chunk_records/r2_00039.parquet +3 -0
  23. chunk_records/r3_00005.parquet +3 -0
  24. chunk_records/r3_00008.parquet +3 -0
  25. chunk_records/r3_00014.parquet +3 -0
  26. chunk_records/r3_00035.parquet +3 -0
  27. chunk_records/r3_00042.parquet +3 -0
  28. chunk_records/r4_00001.parquet +3 -0
  29. chunk_records/r4_00003.parquet +3 -0
  30. chunk_records/r4_00004.parquet +3 -0
  31. chunk_records/r4_00009.parquet +3 -0
  32. chunk_records/r4_00016.parquet +3 -0
  33. chunk_records/r4_00022.parquet +3 -0
  34. chunk_records/r4_00023.parquet +3 -0
  35. chunk_records/r4_00024.parquet +3 -0
  36. chunk_records/r4_00041.parquet +3 -0
  37. chunk_records/r4_00042.parquet +3 -0
  38. chunk_records/r4_00044.parquet +3 -0
  39. chunk_records/r5_00006.parquet +3 -0
  40. chunk_records/r5_00009.parquet +3 -0
  41. chunk_records/r5_00014.parquet +3 -0
  42. chunk_records/r5_00029.parquet +3 -0
  43. chunk_records/r6_00013.parquet +3 -0
  44. chunk_records/r6_00019.parquet +3 -0
  45. chunk_records/r6_00046.parquet +3 -0
  46. chunk_records/r7_00005.parquet +3 -0
  47. chunk_records/r7_00009.parquet +3 -0
  48. chunk_records/r7_00037.parquet +3 -0
  49. chunk_records/r7_00042.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 - PHP
10
+ license: cc-by-sa-4.0
11
+ size_categories:
12
+ - 1M<n<10M
13
+ ---
14
+
15
+ # PHP StackOverflow Vector Dataset Datasheet
16
+
17
+ ## 1. What This Dataset Is
18
+
19
+ This dataset is the PHP-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 PHP 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 PHP 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_php_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:5e53bd9575e5675ff5e921eb8344edf4d49a80469e469c086ca2a6b42a91ee25
3
+ size 31760837
chunk_records/r0_00019.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:786151371a072554187ed1c6ee64d48771fccc28e318a74fe6bf6b52058b77b7
3
+ size 32973018
chunk_records/r0_00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9a52bb958b3add8abf9a80bb19c0c25f173b0bd11454c5ac1017e2b92c2b248
3
+ size 33938757
chunk_records/r0_00026.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90f7cb9bcce527cb9c2ae4446a3e82c86ad3e79ffbf96ce09d538c1080d98079
3
+ size 34420832
chunk_records/r0_00027.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6afb2f09776cc4b5e3cb5986ba0f71b481d6abb9643e14ccc52e262cedd483a5
3
+ size 34625925
chunk_records/r0_00033.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea8fb51093270d02a59d4c75d737d437736bd72f4a61e16a867d30a24fa489c8
3
+ size 35946148
chunk_records/r0_00034.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:766e5f770e30d41b01a115dc5521971eb4642d00eb4d7df2d2c772ee44ac7dde
3
+ size 36154580
chunk_records/r0_00036.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52888c8d619ec387fa8f35517af68e84f2c8b5d31d36930c4bfd9cc8cdd5d9e4
3
+ size 36354169
chunk_records/r0_00042.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0c0fc90bbb748ef44fc821f71eac9b009c40fe02a3b261f4da6f6678a41c014
3
+ size 37189023
chunk_records/r1_00005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:084dc0f7cb95e1824c6c27c13fe37c2be9cbdabb0b52a22a8ab5c1b9716a7082
3
+ size 30892685
chunk_records/r1_00006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0c4543a687aeccfe3e3e7bcac7e3a53d354998cbafea82eaa0fc4038ee71d24
3
+ size 31031047
chunk_records/r1_00007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e42321fe66e2d91336906d464a08f09b50a53bea3823a9ed942b80bb1d9cb266
3
+ size 31192600
chunk_records/r1_00022.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a49fe5acb5e20072616b7f43f9144ef2325f41da956e2126a74ee06d3ac3b41
3
+ size 33564894
chunk_records/r1_00036.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3178543c0700f2bf9ef8138cf359be47844c762192a3656da3d0a14cb8e20f4
3
+ size 36343522
chunk_records/r1_00040.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ba8466f5c3e4da09f014e283ea4a7a214c2a3f7d5627eea33ceb6f3ab90d5bb
3
+ size 36756665
chunk_records/r1_00041.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e68ffe0ad7d16c17c3e907a0d4b8a7ea3a1623f05f8e3c295c924d4da79492c
3
+ size 36922535
chunk_records/r1_00044.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b471c7f3e893027137086d25c923b44a53592c048e377062dfe0096c3b756970
3
+ size 37906038
chunk_records/r2_00022.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:663410800240449b62a3eec0333f10df9322d9a102f12f17849f54950a1b3c38
3
+ size 33490340
chunk_records/r2_00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6047ab041c2d09f1136a77b3021162c8223a3b9cded222ab93800b0768e0a287
3
+ size 34012331
chunk_records/r2_00032.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21432bd50dccffb93088c8c69f8db23a1b9d50a3d32793aa80f5870e8bde4932
3
+ size 35747840
chunk_records/r2_00039.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9236e2c06ab8de4ad8093d31ab557f5b18a17178252c62aa021be05f53d0ab5d
3
+ size 36619638
chunk_records/r3_00005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae01bc8398c4302747e25676e081af109eec6dd8b73e5f9d1f36f09e20e48a44
3
+ size 30863959
chunk_records/r3_00008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef128400e944132228442fbb07764b4c00cfa09afd3291ff52c2173aa5ca9ea3
3
+ size 31334141
chunk_records/r3_00014.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a258a8af41ea7f0fdccd857fc71155a1dae3276ec47f530fb7eb3b2c213fa6be
3
+ size 32170034
chunk_records/r3_00035.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd1ecee24c8593ce1a3b8068edc2b0b574c3ac13debc85b71d5134d2bdbd1615
3
+ size 36213064
chunk_records/r3_00042.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8dca712b0fa9c2162edffcf2ca910597294726631087d2320b7148f4c1924161
3
+ size 37144551
chunk_records/r4_00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c7fa7c7ea687e593a23d9cc173ae9869e97f60a4c895f47a26a7502fefb052f
3
+ size 29761194
chunk_records/r4_00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9080ab78dea7ecfe0c3315692022f167725a2d04b0db8f40969487bccbcc439
3
+ size 30507281
chunk_records/r4_00004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:538577c4bacb693512d73337ac185be961c8e75f050b6a924c8483fe34a13e0b
3
+ size 30707111
chunk_records/r4_00009.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01c12fa78387cd32eb034422ebc07e151c73295450800449f90acdcc23d1dc37
3
+ size 31581617
chunk_records/r4_00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c879786e1d1d0632ad5086ad7cba0e7b764fbc03018cfe5e9a677ed3f88350f
3
+ size 32488324
chunk_records/r4_00022.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3ca494f48522e94c1cdddc060f32204a1d4ed9b0f358f80de0f318adbe1a933
3
+ size 33512353
chunk_records/r4_00023.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d14628c8dca840d60ddee5b929af3dc25ad1a88d5ade5a2b4c2d1abd9b5d8925
3
+ size 33754359
chunk_records/r4_00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2dfe36cba855436b3166001a9e3e29e9f0fcc43d48acdd192a8e16da4d9f7093
3
+ size 33944783
chunk_records/r4_00041.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:426f41948ddb5013f4fc907978f21b3f406599e11013111ccb20147b920f7da8
3
+ size 36962605
chunk_records/r4_00042.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0a977935a1a5052a03fa39b78b1a86476d4917d03c8f0e1cc8f0c21c9dcd80a
3
+ size 37198626
chunk_records/r4_00044.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50f825c1479ee764b37eb2137ca86e6e202bb51a8bf6346cc08a2915ba5b6056
3
+ size 37832250
chunk_records/r5_00006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb58ea8e7cedfa19090f957de880cb6c78a37df65ab36024a9292bd367f7d222
3
+ size 31033163
chunk_records/r5_00009.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a152618b17574d1c23ac4b969f029e77b3b69810f6a7d6c8ae540a4aa987e65
3
+ size 31582379
chunk_records/r5_00014.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e153eeb26abd5bd990c8ea8f36add8af096a2c392645b50ef641c722311b7ae0
3
+ size 32187686
chunk_records/r5_00029.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da0147048ee5dae41df70a511ccb3b9ef29cb7a6ac4c4374992c8f91c31db8c8
3
+ size 35127687
chunk_records/r6_00013.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de86d5a3feb6fcfdf6a4ff5bbbe370a33901f932102708e0ad6d26b3176a64dd
3
+ size 32058417
chunk_records/r6_00019.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5d3bd40bb7b7164e02f313ae3394f05435f6d80f3e819618c405fbd4450c994
3
+ size 32994078
chunk_records/r6_00046.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cd673f38c1f75e42808d510a1efa8a78a3f17c98d4b144fe66e5b41294a716a
3
+ size 3190600
chunk_records/r7_00005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bad70e8db410483218daa0fb8de8b55a82d21f387aafc6ea1959af9bd4f0c91b
3
+ size 30866231
chunk_records/r7_00009.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17ae0de99ad73b22f50e12ac280cf3483c2e4a9267a920867185517d430c4d68
3
+ size 31562951
chunk_records/r7_00037.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3503db2cb03a321c08affa7e6f6aa21b6bb197359ed36e094bcabb328dfda662
3
+ size 36445170
chunk_records/r7_00042.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8327dbee08a8c38e3b1e5e969ae75e04c9ec39bc40e55c57fea5913d0a9d5067
3
+ size 37177408
dataset_manifest.json ADDED
The diff for this file is too large to render. See raw diff