Mo7art commited on
Commit
9e281ba
·
verified ·
1 Parent(s): 85a59aa

Clean StackOverflow vector language dataset before upload: php

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/r0_00008.parquet +0 -3
  11. chunk_records/r0_00009.parquet +0 -3
  12. chunk_records/r0_00010.parquet +0 -3
  13. chunk_records/r0_00011.parquet +0 -3
  14. chunk_records/r0_00012.parquet +0 -3
  15. chunk_records/r0_00013.parquet +0 -3
  16. chunk_records/r0_00014.parquet +0 -3
  17. chunk_records/r0_00015.parquet +0 -3
  18. chunk_records/r0_00016.parquet +0 -3
  19. chunk_records/r0_00017.parquet +0 -3
  20. chunk_records/r0_00018.parquet +0 -3
  21. chunk_records/r0_00019.parquet +0 -3
  22. chunk_records/r0_00020.parquet +0 -3
  23. chunk_records/r0_00021.parquet +0 -3
  24. chunk_records/r0_00022.parquet +0 -3
  25. chunk_records/r0_00023.parquet +0 -3
  26. chunk_records/r0_00024.parquet +0 -3
  27. chunk_records/r0_00025.parquet +0 -3
  28. chunk_records/r0_00026.parquet +0 -3
  29. chunk_records/r0_00027.parquet +0 -3
  30. chunk_records/r0_00028.parquet +0 -3
  31. chunk_records/r0_00029.parquet +0 -3
  32. chunk_records/r0_00030.parquet +0 -3
  33. chunk_records/r0_00031.parquet +0 -3
  34. chunk_records/r0_00032.parquet +0 -3
  35. chunk_records/r0_00033.parquet +0 -3
  36. chunk_records/r0_00034.parquet +0 -3
  37. chunk_records/r0_00035.parquet +0 -3
  38. chunk_records/r0_00036.parquet +0 -3
  39. chunk_records/r0_00037.parquet +0 -3
  40. chunk_records/r0_00038.parquet +0 -3
  41. chunk_records/r0_00039.parquet +0 -3
  42. chunk_records/r0_00040.parquet +0 -3
  43. chunk_records/r0_00041.parquet +0 -3
  44. chunk_records/r0_00042.parquet +0 -3
  45. chunk_records/r0_00043.parquet +0 -3
  46. chunk_records/r0_00044.parquet +0 -3
  47. chunk_records/r0_00045.parquet +0 -3
  48. chunk_records/r0_00046.parquet +0 -3
  49. chunk_records/r1_00000.parquet +0 -3
  50. chunk_records/r1_00001.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 - 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_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:98e62a177475a0f1d8b60f72ecd6f921180e52d29fed54a339354b0d827d5a90
3
- size 29318259
 
 
 
 
chunk_records/r0_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:649f3c2d06d53162df5562df6cdfc9e3897d4246a18fd7a28a629226f4edffc0
3
- size 29785288
 
 
 
 
chunk_records/r0_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5fae98b53b25699a94370e864f7988b4ea6472957c948dc7efa502b67b43f1cb
3
- size 30181045
 
 
 
 
chunk_records/r0_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a75e8d9eda2322d71764ac1b5138e22eba1154649d0b5922ca8438ed68b32f62
3
- size 30481320
 
 
 
 
chunk_records/r0_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3beebbed92092667ffec5668e76fd58d5d55f1fa71c2e292a933efa512f72ab8
3
- size 30715224
 
 
 
 
chunk_records/r0_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e46b83cc198ff81b69aae9f8ebbf3b2657cb3d7174f68cd815790c3b036196e9
3
- size 30870639
 
 
 
 
chunk_records/r0_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:cb187902f98f0b0943c33698158418bec1863130dcbc1c5650df04e4af3e92e4
3
- size 30990416
 
 
 
 
chunk_records/r0_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:bd9e79880b19b84d2fcfd8ffef1c4df22ff11b8d215e766c93d63d8325f0ba0f
3
- size 31148520
 
 
 
 
chunk_records/r0_00008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f3bb24abd65c98895e55d47188ad3478d4e5f0a046651ebbe3de151291e6c096
3
- size 31301551
 
 
 
 
chunk_records/r0_00009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:476379ee88ede3eb7723000c1fbd8b424287a8381db0a46a04aa6778b1fb5934
3
- size 31570506
 
 
 
 
chunk_records/r0_00010.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4851950f9d18741a973d807c170b831d36f8e42366946477ca86d9131b519f7f
3
- size 31682220
 
 
 
 
chunk_records/r0_00011.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5e53bd9575e5675ff5e921eb8344edf4d49a80469e469c086ca2a6b42a91ee25
3
- size 31760837
 
 
 
 
chunk_records/r0_00012.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4d92c7f3c1274af4b856acb65b3ce6d0fc1cf2b859fa0c3b303969ad7e50db06
3
- size 31904022
 
 
 
 
chunk_records/r0_00013.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e75fd5d0f271c829ab9c5234979ba668f3cbbe2414661d8f8bf0ff5ceaffd6a8
3
- size 32035283
 
 
 
 
chunk_records/r0_00014.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1f7204778881ed6c279f68c7d8a45b3669dac8558b9157fa1877ade3c2f47247
3
- size 32155309
 
 
 
 
chunk_records/r0_00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8c247e190f16edc32045c5cf4e5592d60ff21637afc19b1a784f6759008fec3d
3
- size 32327232
 
 
 
 
chunk_records/r0_00016.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dd0839825ef20b338d1d4fcb0ea5e5084efc16ab41a78ad717db8ffc8ecd114a
3
- size 32486820
 
 
 
 
chunk_records/r0_00017.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:efb3a43e1514039ca8555b8ab08c9030e7e890cbb20df7e4e60b87b2818014d0
3
- size 32635002
 
 
 
 
chunk_records/r0_00018.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2a058bca52b2ec98f1765fe3a2e9636b1df7790e6a13d088af774810a9449f76
3
- size 32829898
 
 
 
 
chunk_records/r0_00019.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:786151371a072554187ed1c6ee64d48771fccc28e318a74fe6bf6b52058b77b7
3
- size 32973018
 
 
 
 
chunk_records/r0_00020.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4acd9feabc85b2ff101a4ca15607aee3dde5fe3b1c886e9060d34987fe5c4a33
3
- size 33120199
 
 
 
 
chunk_records/r0_00021.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7e417999f8aa86044042679efc9de113be6e3774af4b375f679e49fda8b29935
3
- size 33407684
 
 
 
 
chunk_records/r0_00022.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1e0f3b4960cbf64b9119a47a2f0d240e7f0ea46f7b8fbdfe88f30cadcaba0863
3
- size 33498697
 
 
 
 
chunk_records/r0_00023.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b12baf870fe1055b2b0d764f2d4e9f64fdaf5c05ca2901ef9fdbe927028fa11e
3
- size 33708076
 
 
 
 
chunk_records/r0_00024.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d9a52bb958b3add8abf9a80bb19c0c25f173b0bd11454c5ac1017e2b92c2b248
3
- size 33938757
 
 
 
 
chunk_records/r0_00025.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ddf789b4e5f5934a4bda719918d30eeb193147d024ed5f3dc30cb05b442ffa76
3
- size 34197444
 
 
 
 
chunk_records/r0_00026.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:90f7cb9bcce527cb9c2ae4446a3e82c86ad3e79ffbf96ce09d538c1080d98079
3
- size 34420832
 
 
 
 
chunk_records/r0_00027.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6afb2f09776cc4b5e3cb5986ba0f71b481d6abb9643e14ccc52e262cedd483a5
3
- size 34625925
 
 
 
 
chunk_records/r0_00028.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5ee8806ebebeca7151266ef0688c7eddeec415a281a29efbb79b4128214306f2
3
- size 34856776
 
 
 
 
chunk_records/r0_00029.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:862927444077de18bc78982df37914c8512be086e26357343bd8321c00e5ed7f
3
- size 35073373
 
 
 
 
chunk_records/r0_00030.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0c02c3d4d13b87a941d6704a15db6efbf07288ffc6aca79238c2cd8eca990f58
3
- size 35295539
 
 
 
 
chunk_records/r0_00031.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2d90968d4be642131dec0ee46156186f389a043da74b416ffac9ff2262b222e3
3
- size 35582280
 
 
 
 
chunk_records/r0_00032.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2a596fa7497b71b9f37d88c0eb103e776da1444868d7de2afe1d3c19563a7dd9
3
- size 35780780
 
 
 
 
chunk_records/r0_00033.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ea8fb51093270d02a59d4c75d737d437736bd72f4a61e16a867d30a24fa489c8
3
- size 35946148
 
 
 
 
chunk_records/r0_00034.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:766e5f770e30d41b01a115dc5521971eb4642d00eb4d7df2d2c772ee44ac7dde
3
- size 36154580
 
 
 
 
chunk_records/r0_00035.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:64e0d9a232a2663faefd5874d06a5475335a58ee0f102540aedb87af29a31dc2
3
- size 36230488
 
 
 
 
chunk_records/r0_00036.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:52888c8d619ec387fa8f35517af68e84f2c8b5d31d36930c4bfd9cc8cdd5d9e4
3
- size 36354169
 
 
 
 
chunk_records/r0_00037.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1ca268b42212bf6e9a13d0257a2882fc540154c60f21cfa7c9cb9390b1bd05aa
3
- size 36481389
 
 
 
 
chunk_records/r0_00038.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:baa5e833af164ea05b8a18ebb93fd895cc6d702ec6e574d47f2cccde930eb982
3
- size 36575874
 
 
 
 
chunk_records/r0_00039.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4fb4ad5ab87d346a854d3193808046e81b47903d664e27200147f30e3a84a6cb
3
- size 36644384
 
 
 
 
chunk_records/r0_00040.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ac3d0c26c6ef79a5d9718818f3630d7c9a31eecf35ba710ce4fcb15f30dcf33f
3
- size 36741759
 
 
 
 
chunk_records/r0_00041.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5afe54b24b55859bf9b72a9f93085b0160996f119f064a005c6f85264e978a5d
3
- size 36919912
 
 
 
 
chunk_records/r0_00042.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c0c0fc90bbb748ef44fc821f71eac9b009c40fe02a3b261f4da6f6678a41c014
3
- size 37189023
 
 
 
 
chunk_records/r0_00043.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0057d79e3ec4a9a8b11e3c67f9a40d1b7af4aa338daeb8945b3ef3e06e22f5ee
3
- size 37484281
 
 
 
 
chunk_records/r0_00044.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:68c7bb600067c9f7149e6016be44d3c423ac55e7ab89e8a42571ced627ac0269
3
- size 37924055
 
 
 
 
chunk_records/r0_00045.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2868399b98333b9097eeabbb96b82dc1a5c8c3c89b6223d0a9da72486cb3176b
3
- size 38506638
 
 
 
 
chunk_records/r0_00046.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d8bcf4752730bcd5a23f202008529a638454d98ba82a03f033df7729f22a14a5
3
- size 3174697
 
 
 
 
chunk_records/r1_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a5631c33b530f89b077418cb50dc8631a2238571419438b7e9dcf5a2d101ab2f
3
- size 29306030
 
 
 
 
chunk_records/r1_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:bf1ecf3c659609fa8e7120adef8c9fd8cc290dbf7b193ccb5cbf1b7dc0ebb4b8
3
- size 29807806