Mo7art commited on
Commit
5b9b577
·
verified ·
1 Parent(s): d50d9ea

Clean StackOverflow vector language dataset before upload: html

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/r1_00000.parquet +0 -3
  42. chunk_records/r1_00001.parquet +0 -3
  43. chunk_records/r1_00002.parquet +0 -3
  44. chunk_records/r1_00003.parquet +0 -3
  45. chunk_records/r1_00004.parquet +0 -3
  46. chunk_records/r1_00005.parquet +0 -3
  47. chunk_records/r1_00006.parquet +0 -3
  48. chunk_records/r1_00007.parquet +0 -3
  49. chunk_records/r1_00008.parquet +0 -3
  50. chunk_records/r1_00009.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 - Html
10
- license: cc-by-sa-4.0
11
- size_categories:
12
- - 1M<n<10M
13
- ---
14
-
15
- # Html StackOverflow Vector Dataset Datasheet
16
-
17
- ## 1. What This Dataset Is
18
-
19
- This dataset is the Html-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 Html 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 Html 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_html_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:77dd44dcae694987ef94e5c74a24b0abfcfa620548ea5476a89c2a4d68d3c42f
3
- size 29417283
 
 
 
 
chunk_records/r0_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:60ea2934b6218561c2179c22c29ebfba669002c3943f3a0539e4edd0b25dbc79
3
- size 30036803
 
 
 
 
chunk_records/r0_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0e5270d78a5dbfb1e9fca556ded338f7ca0243d7924b4e90358e3599d038f902
3
- size 30429103
 
 
 
 
chunk_records/r0_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:663172bb3b6790fc88cfde931cabcb7b6d7803f590d0dca21c7cf9579f5c5d72
3
- size 30715836
 
 
 
 
chunk_records/r0_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:607d1b2ebbbfee353525843af8372c0f424835383f7ec70201cacf4419ceb2dd
3
- size 30883955
 
 
 
 
chunk_records/r0_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:cdd94125ad784794b5c2869bcc3bb2e862ebf3fd6479abc4a3dfdf5981958626
3
- size 31053286
 
 
 
 
chunk_records/r0_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:31dfee334159f96515e907d8b39fb7a7775d961b66920fc3fb47741f75fe7eb2
3
- size 31208663
 
 
 
 
chunk_records/r0_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:692a1fab83b0328e7e3eef714083a7dde96575cf76a26c8616d3d09129cb6493
3
- size 31483635
 
 
 
 
chunk_records/r0_00008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f9be2b3c28860311755d2fd1359e36ed85d9e4f668b593063705f30889b24232
3
- size 31632094
 
 
 
 
chunk_records/r0_00009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0f6dffb4f2c0bcaba3633e0dc85b4cc078051a99ab65453b30869adabd34946d
3
- size 31727093
 
 
 
 
chunk_records/r0_00010.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8b9849c93e26361895a084de280413675c975f44633ab6b9252fe88fb205d640
3
- size 31886982
 
 
 
 
chunk_records/r0_00011.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b1dfac0c92c20f2e9d90b53612aec87957c23b9cb4075bd45f26bacb78f5ea48
3
- size 32068164
 
 
 
 
chunk_records/r0_00012.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1caac5f0862cac3c1a6317d5c3ac1caae9a562b1af1504d292b00138b3f3c508
3
- size 32217753
 
 
 
 
chunk_records/r0_00013.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:10b7c7489c53a6119047d1485f167ad041fc46be099ffeca5937b1df38e40148
3
- size 32372743
 
 
 
 
chunk_records/r0_00014.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a9b2ad3a2d5f788579301259aa881441831a803b3215207b61cc3d2517e3dc16
3
- size 32534525
 
 
 
 
chunk_records/r0_00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6d5848e6d8451d00bc7f0f65e78c48e44347e7ec0f4c40397ad6313abed3bf82
3
- size 32762827
 
 
 
 
chunk_records/r0_00016.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4db8f388d541c7a2a2119bf87d49e1e127c2fcc5bf81eaea6124f4f3cf008cc5
3
- size 32927834
 
 
 
 
chunk_records/r0_00017.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:04f2e8d53ddc9b9ab80ced1cfb5c27ec8baeff02c8a584c917f26488cb567fbd
3
- size 33129256
 
 
 
 
chunk_records/r0_00018.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e43bf11484887a00cfae582a75d63226a59b164f81aadb7f645723a5b47aaf5a
3
- size 33390557
 
 
 
 
chunk_records/r0_00019.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:863746f9b29301c052e8b98cfcc336df0108617f541a9a3979f534754142e8a2
3
- size 33621932
 
 
 
 
chunk_records/r0_00020.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7482f9348e38ff8eda9b07c48b5fd4fdc0662c942b13ff242980e310585437db
3
- size 33824091
 
 
 
 
chunk_records/r0_00021.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:368ac8a30a624071ba8df01b3c8468b9065ff4be5ff801e888099246fcc8f4c4
3
- size 34093255
 
 
 
 
chunk_records/r0_00022.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1881e2f47bc6a049a367d0dfe2d43a4af569cf333418d1ea97dbe3bc393beff1
3
- size 34383931
 
 
 
 
chunk_records/r0_00023.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:78301cfad30b28e4ded6cfdce1bfedb858fbf2553465b3b5515163b4795de29e
3
- size 34661289
 
 
 
 
chunk_records/r0_00024.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c8b04b0a13cdf23c4000466110df95119d16b87abac1b2987832ee15319dd470
3
- size 34864584
 
 
 
 
chunk_records/r0_00025.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c539e703c3089910339512647ed3d65e2cdb47444e0864c73885b9e389c37742
3
- size 35121042
 
 
 
 
chunk_records/r0_00026.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f2e66ef1214dc41a7f773920eb0a55563bf39db41b2b8b6a8cfe0e54e61d074c
3
- size 35319847
 
 
 
 
chunk_records/r0_00027.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ed55e38de6cb15b490774c1ca8437213e17a4f680667d5bd05ec71028f58d358
3
- size 35511679
 
 
 
 
chunk_records/r0_00028.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:07b3b2882e6919ad3a40f1b8a72516c9d3d731121cf38b7bd14eed008cf0136e
3
- size 35567424
 
 
 
 
chunk_records/r0_00029.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4e0c5209a04efba76cad20b4bc13b37d20e5f9a316a9da21739c4f112ce6dbd7
3
- size 35610582
 
 
 
 
chunk_records/r0_00030.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1eaeda4d0e9897c33c8d6b25370590283a8ddc8e792ba3928003bcc8067413b9
3
- size 35721935
 
 
 
 
chunk_records/r0_00031.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:746f19c5b7129d3a90fdd1d5a0f4d98a5e44b4ee642b43c67618d8284b8f9f6d
3
- size 35840352
 
 
 
 
chunk_records/r0_00032.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a9cd7eab264ad63c7e0c95f40d8b76957830d3f59c2e3664c514e69e60fd649d
3
- size 35944246
 
 
 
 
chunk_records/r0_00033.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b1b7dc46186e5039d25c2da1f42c1db57cd47ceb5942a80317e3e766a403ce44
3
- size 36145964
 
 
 
 
chunk_records/r0_00034.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4559c136e893722d7835cc860419c9ce9f19d387239114e999877a623cab4b75
3
- size 36388118
 
 
 
 
chunk_records/r0_00035.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8dd09948ccbb18995cca6542ed52ce2616ecddb193fdd26a0d0c5ece6b8c1178
3
- size 36598244
 
 
 
 
chunk_records/r0_00036.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c27f8a265fde07fc766d9c2f2a9645ab06247482015b5032197ebe4ced146cf7
3
- size 37037026
 
 
 
 
chunk_records/r0_00037.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:be043fd8a350af55062ee9e99fc1be0c259ef4c1e60f9e63fdc0be60983d2165
3
- size 37529102
 
 
 
 
chunk_records/r0_00038.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:10e5ffd50e76da013dd770ceb44da76cd2769265ad4f17536886ff0e0e20bbd5
3
- size 37495172
 
 
 
 
chunk_records/r1_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a1bbe8e9743f5ed3203807266bb8bcc0a3a89155f486616a8507d188173bc3f4
3
- size 29456495
 
 
 
 
chunk_records/r1_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8b37dfe22e940c64bafdc773662c53962ad049257542c38b85c30b221717efc1
3
- size 30077650
 
 
 
 
chunk_records/r1_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ce54a734d612084317328943109dc0444a5856205d425152fe1e2341443e2700
3
- size 30420945
 
 
 
 
chunk_records/r1_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:26e925e612b6192d8b52ab7d3fc830eb424f39429048e5074bf73bc8b50c3abe
3
- size 30684708
 
 
 
 
chunk_records/r1_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7f44a8afdac3420014729075191e321489d8ef0e4ee1ce82c3530ee7119efb75
3
- size 30872536
 
 
 
 
chunk_records/r1_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b5e61636cc8d323bad3ba63773c45a4f4802c777af2d8811ae54bc6859dcced5
3
- size 31040596
 
 
 
 
chunk_records/r1_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7e0f64674c4e99f7df29dd80afb0ac13a495938faba394cfc0f0a26657b68149
3
- size 31217236
 
 
 
 
chunk_records/r1_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b25b02ec176682fbe706c1af6a5d4dc2ca310b089b2cade5397a5145dbbf4748
3
- size 31476164
 
 
 
 
chunk_records/r1_00008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:886a933820f8422713d6de248efa36f600a73d54b3dc932070819155a278b25b
3
- size 31643362
 
 
 
 
chunk_records/r1_00009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:cff5dfba306ce4f4fabb50bdbf3617755131a25a91ba85233292a396f38662ee
3
- size 31703297