Mo7art commited on
Commit
2760aeb
·
verified ·
1 Parent(s): 6506c55

Clean StackOverflow vector language dataset before upload: python

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/r0_00047.parquet +0 -3
  50. chunk_records/r0_00048.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 - Python
10
- license: cc-by-sa-4.0
11
- size_categories:
12
- - 1M<n<10M
13
- ---
14
-
15
- # Python StackOverflow Vector Dataset Datasheet
16
-
17
- ## 1. What This Dataset Is
18
-
19
- This dataset is the Python-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 Python 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 Python 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_python_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:960cb59af393130a8c0ba874def9d75b609d1907b759a8b9c2c0766de5217f54
3
- size 29414735
 
 
 
 
chunk_records/r0_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:cdb26791972e6bb8979fc70227a9084aa5a673280d9c3cbedf4e88ee06b0eff1
3
- size 29741747
 
 
 
 
chunk_records/r0_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2df8effa8cd5b50bc028d236e52f07735f2fa7f045081ebe10d9aafd3ed060a5
3
- size 30026240
 
 
 
 
chunk_records/r0_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b22b0c0eceb21e2828ac3d82a86ac31473a624eff3a36a687632169454fe92ff
3
- size 30307117
 
 
 
 
chunk_records/r0_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4d254acb720bcc364b5330220f457175725333fe2540fbf5daf05a78938f2da0
3
- size 30469092
 
 
 
 
chunk_records/r0_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ffc12fbb1771cd54b023dbad634565f946722edaeeb78342217cc283033d3149
3
- size 30747719
 
 
 
 
chunk_records/r0_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:97fc75e0439e0794c2bcd78cfa0de465e34b3d1cbeade590d0283a8b2be70d16
3
- size 30830544
 
 
 
 
chunk_records/r0_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e269052b33afd2d635044bc7713696407850acb63e460a5b777bb0c268e3b3d7
3
- size 30918596
 
 
 
 
chunk_records/r0_00008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f989fbe18cde4cfb477c752987285b52cc4e75dfdcbfc2d83795bd711c717c47
3
- size 31037409
 
 
 
 
chunk_records/r0_00009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8f2fe30858559739dd8fbb904a8230909a498b6c9e6e5f0142e71fb866d7cf4a
3
- size 31115518
 
 
 
 
chunk_records/r0_00010.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:07c39f0ab91ee04b753e3d605453bef2d7299f7549ea6f288dfc33a83993f91f
3
- size 31186703
 
 
 
 
chunk_records/r0_00011.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:621f623fbbf771aef6ba73e604fe3e7d04f45db117b914a7be4efbbb7e80537b
3
- size 31292616
 
 
 
 
chunk_records/r0_00012.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0a19771f570ad46a74507130c7c37f7d93654143da4c227f3c9d39e50a7997d4
3
- size 31384014
 
 
 
 
chunk_records/r0_00013.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f9eb8e5806064fad56cfdad11c179da47bda7fc3adfa616517f4c495e20eaaa1
3
- size 31524796
 
 
 
 
chunk_records/r0_00014.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4856a768c7bcbd8367638c5536466bd2e36a7a8a8b4b6beed8f74d5b9f0b4ad1
3
- size 31630970
 
 
 
 
chunk_records/r0_00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5a7e023175f778f3151772fe6994d40b2b13a0a10bb01da5c7826ffe45ba123c
3
- size 31681239
 
 
 
 
chunk_records/r0_00016.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:392648ec9212b1972fd4080d6a41e91d52e9c8a482b57717c83faf47de59c609
3
- size 31772295
 
 
 
 
chunk_records/r0_00017.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ef08ee6d4fd020cbc12c8f820f63e4d058405484d76874c67287a03079f6982c
3
- size 31892494
 
 
 
 
chunk_records/r0_00018.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7b608760d00a31cd4a625ad051c2329d3f8f44d00f289b94e07074b69f530c7f
3
- size 31986960
 
 
 
 
chunk_records/r0_00019.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a61135cbcb3c02ceced157b5705be6e7ee7b63331aec7dcfeadf1fbdeb6bcd92
3
- size 32014783
 
 
 
 
chunk_records/r0_00020.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b1e46aed85164e6a0440d58846a02d3ee43e98a87cd027b9831e2b6d7d419de7
3
- size 32149459
 
 
 
 
chunk_records/r0_00021.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0326e41dd371ee7836305f9308daa08a5ac35d1d3f87854922c8bf9982f370ba
3
- size 32226405
 
 
 
 
chunk_records/r0_00022.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3178459f0fea0a7df0498facf5475df8121e793673fdee0fa3ec37242e10aab7
3
- size 32328357
 
 
 
 
chunk_records/r0_00023.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:de7c9b85f62fb732cdc8467b448b63abad3e4801cf49c877b7acb02ca89047cb
3
- size 32415208
 
 
 
 
chunk_records/r0_00024.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:00736a0cf5eeb1be88e82bc8812ba3d65cfe71ca22d79002b1897d169c21cb6b
3
- size 32552943
 
 
 
 
chunk_records/r0_00025.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:eee4342287f4e2b93422b5c1f0516f6aadcfe5c337e02ac007b4cd16711979c7
3
- size 32644818
 
 
 
 
chunk_records/r0_00026.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:469bd386a4570539ed711962a096d751b283393325380c9508fccfc9e9a50cb2
3
- size 32727735
 
 
 
 
chunk_records/r0_00027.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3bd4ea37a71f8e2675dcc1cd886280f1446300049c9e6a4b02c531a0210eb60d
3
- size 32899067
 
 
 
 
chunk_records/r0_00028.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7bd37827780dc71b9b111f084b0b4e0dbd42a2339abc1093bea4da133d95b530
3
- size 32941549
 
 
 
 
chunk_records/r0_00029.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b8d8158ac43dcb3dc029e7f1adb3e808286dce2b0b5f5a02987437fb857fd5da
3
- size 33107550
 
 
 
 
chunk_records/r0_00030.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:10e3e58095791ef14b1f770d75f3c6774b93c580cfb76ef5af7d15da8d74eb16
3
- size 33216412
 
 
 
 
chunk_records/r0_00031.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a4fdda68309e0e85016009b479bf91d4d0d96d2f93013b37c363c7810a31ddae
3
- size 33323071
 
 
 
 
chunk_records/r0_00032.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9a089a25fdd6ee8c7417d7dab0b9b5d66d472b8fb5d39157964cd1448eece635
3
- size 33481354
 
 
 
 
chunk_records/r0_00033.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2ff36e3863e7844b409db6b74106d1e82ea23c675aab082d6800b7dfa25b34fd
3
- size 33539132
 
 
 
 
chunk_records/r0_00034.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e62a5cc363ef8bb413382046b6666f02706d0feba5094f92f550913d60a9798d
3
- size 33654123
 
 
 
 
chunk_records/r0_00035.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2159b6d8b6cb4ae8e13927050864114677e73a39c8bee0a9bfe820596680e9b6
3
- size 33830724
 
 
 
 
chunk_records/r0_00036.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:edfa7ea47d47821a53522e90b92552dcc7647ee2c8f40d00e7e10ad4236f4de7
3
- size 33925533
 
 
 
 
chunk_records/r0_00037.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f5b4e98062f7208e1439ebcc75d46f30b4862bef848f24ae3588d88be7eb5625
3
- size 34042169
 
 
 
 
chunk_records/r0_00038.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:84007da1afc37b682102c83670fe265b87a52235883e81e338f189f3ba47618f
3
- size 34197760
 
 
 
 
chunk_records/r0_00039.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:098de04b838e1dc9b01880619f74abae745b7e2db256234be5772886f41eb59c
3
- size 34312843
 
 
 
 
chunk_records/r0_00040.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:84436aef3e50ededd30de5095c57d8f27937918ae677eafc2fbe57584d7de403
3
- size 34507886
 
 
 
 
chunk_records/r0_00041.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b04f17e2053a9c26dfc879b542b01b8b5d57751bbf98d1047b9899a70c078a1b
3
- size 34625333
 
 
 
 
chunk_records/r0_00042.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9832a39c0768d79052342d0017aef5487ec49ff4f2f1fa41128ed24788204a71
3
- size 34766238
 
 
 
 
chunk_records/r0_00043.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d0b6796ff966a0abe958238b33c1164c077bdd5728daf4b951ced1d2a48a5a8b
3
- size 34858054
 
 
 
 
chunk_records/r0_00044.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8226566788e0594e186d9b2960e6018b489fd66fee2777e25107930453920fb1
3
- size 35039269
 
 
 
 
chunk_records/r0_00045.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:797120ce16d8dfa382e02326e5dd175415a9bd1cb9c3bef7071d56940ef49e51
3
- size 35217981
 
 
 
 
chunk_records/r0_00046.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:83e6dafd0989eb0cf1d36ba52d34997005d4a917696a8c814d29fa97042d9d35
3
- size 35366553
 
 
 
 
chunk_records/r0_00047.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:db55f0c1bc2ce7d7f39eae3dbc1b43b7895bf0033a2219db150b371b74353f4f
3
- size 35570786
 
 
 
 
chunk_records/r0_00048.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:88fc573b0c1d8810dbfd552df09284dcf9fa6276b43ad367981b3b5485630a39
3
- size 35736608