Mo7art commited on
Commit
649adc6
·
verified ·
1 Parent(s): 560aa7e

Clean StackOverflow vector language dataset before upload: swift

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/r1_00000.parquet +0 -3
  14. chunk_records/r1_00001.parquet +0 -3
  15. chunk_records/r1_00002.parquet +0 -3
  16. chunk_records/r1_00003.parquet +0 -3
  17. chunk_records/r1_00004.parquet +0 -3
  18. chunk_records/r1_00005.parquet +0 -3
  19. chunk_records/r1_00006.parquet +0 -3
  20. chunk_records/r1_00007.parquet +0 -3
  21. chunk_records/r1_00008.parquet +0 -3
  22. chunk_records/r1_00009.parquet +0 -3
  23. chunk_records/r1_00010.parquet +0 -3
  24. chunk_records/r2_00000.parquet +0 -3
  25. chunk_records/r2_00001.parquet +0 -3
  26. chunk_records/r2_00002.parquet +0 -3
  27. chunk_records/r2_00003.parquet +0 -3
  28. chunk_records/r2_00004.parquet +0 -3
  29. chunk_records/r2_00005.parquet +0 -3
  30. chunk_records/r2_00006.parquet +0 -3
  31. chunk_records/r2_00007.parquet +0 -3
  32. chunk_records/r2_00008.parquet +0 -3
  33. chunk_records/r2_00009.parquet +0 -3
  34. chunk_records/r2_00010.parquet +0 -3
  35. chunk_records/r3_00000.parquet +0 -3
  36. chunk_records/r3_00001.parquet +0 -3
  37. chunk_records/r3_00002.parquet +0 -3
  38. chunk_records/r3_00003.parquet +0 -3
  39. chunk_records/r3_00004.parquet +0 -3
  40. chunk_records/r3_00005.parquet +0 -3
  41. chunk_records/r3_00006.parquet +0 -3
  42. chunk_records/r3_00007.parquet +0 -3
  43. chunk_records/r3_00008.parquet +0 -3
  44. chunk_records/r3_00009.parquet +0 -3
  45. chunk_records/r3_00010.parquet +0 -3
  46. chunk_records/r4_00000.parquet +0 -3
  47. chunk_records/r4_00001.parquet +0 -3
  48. chunk_records/r4_00002.parquet +0 -3
  49. chunk_records/r4_00003.parquet +0 -3
  50. chunk_records/r4_00004.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 - Swift
10
- license: cc-by-sa-4.0
11
- size_categories:
12
- - 1M<n<10M
13
- ---
14
-
15
- # Swift StackOverflow Vector Dataset Datasheet
16
-
17
- ## 1. What This Dataset Is
18
-
19
- This dataset is the Swift-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 Swift 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 Swift 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_swift_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:7017487025806df6b6429b26cb12dd6de12b9caabb838eb64f728bc9128793e7
3
- size 29996098
 
 
 
 
chunk_records/r0_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c4f4ee8ccce2ddf4f2c636178ac2f49d5d215e56da838f82c1e1641fa3b6916e
3
- size 31201298
 
 
 
 
chunk_records/r0_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a06ca12468f2ded99a041198b2c53bb47493f68aebfcb2ff9f21c47672172c0f
3
- size 31948343
 
 
 
 
chunk_records/r0_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6b26d8507a676ae507e99d43a6cb97e6610f8dd97d0c6055eabc86ece8bd55c1
3
- size 32704221
 
 
 
 
chunk_records/r0_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0fe623f247ee410072cf204584731f58bd182ff3a74e259ca4e98326490290bb
3
- size 33554987
 
 
 
 
chunk_records/r0_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:939062d1baf7f822b9567b7450410fd00ef6feecc2d1682dad6a5651c588b433
3
- size 34471222
 
 
 
 
chunk_records/r0_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3f7b00ff272a4c91d062b8ebc9a2f008c67aa5c0cf647ccb5425f438035e8414
3
- size 35343600
 
 
 
 
chunk_records/r0_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e4e72a61fc1869664226f074d2d8056b309d0af6fd792391a6dd20347bc1dfce
3
- size 36239581
 
 
 
 
chunk_records/r0_00008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1a0d0d4e4581c82bd0f91ef38a361e89140cc1d65acafb773b2acfd1f137b551
3
- size 37175135
 
 
 
 
chunk_records/r0_00009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:67af4a982a1d1eaf4289114a0cb1d055c4d4d35b3b7172806eb56040fbe09892
3
- size 37913615
 
 
 
 
chunk_records/r0_00010.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:11ff93c64c657d7a05cb532153714916bfc33db74916b60ac360c4b02dfdeae6
3
- size 19357425
 
 
 
 
chunk_records/r1_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8ade74619a2b20e398869932ed666eacfa93d6cb2ff4861abd05cc8e5541a987
3
- size 29978142
 
 
 
 
chunk_records/r1_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:27441e72ab977d5330056a5072f3e6b5c07ec8e08da2635200c423d885c850d5
3
- size 31188271
 
 
 
 
chunk_records/r1_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c8080c2dbbb03c77b7e0a4b9bd43f660c80b62bd2e7be084815561c974947f3e
3
- size 31963960
 
 
 
 
chunk_records/r1_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:178f9dcaa4cd66bb2aff6822fe9628792c7faccb81611abd3b8ac6cc73ba5bb8
3
- size 32711295
 
 
 
 
chunk_records/r1_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4ee38c07d0baf35dddb43df4d70c6d7e4caeed1d176603201cbce5b0ae801be3
3
- size 33588008
 
 
 
 
chunk_records/r1_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4d489d2a5f86b631d1b00fdca5231fbb4979d1f73aea23e4036b80e7f9b1aea3
3
- size 34453100
 
 
 
 
chunk_records/r1_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ee313c4156a382bbcaae805342ed28908535a9ddef242a94b46185c37ba1a2cf
3
- size 35389164
 
 
 
 
chunk_records/r1_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3a1c86f6853a60d083f0cda52a283fbce49a15c546bf634855efcbf4be52b874
3
- size 36301434
 
 
 
 
chunk_records/r1_00008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0d516c0cbba8ed0104891a9eaf1c23a579f9e225c02bcea0522b1b09f136015d
3
- size 37127044
 
 
 
 
chunk_records/r1_00009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1723d6be44767f3e7c86505007647b922cc4c465f5313468ae74992bdd01a734
3
- size 37974940
 
 
 
 
chunk_records/r1_00010.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:42e27638c04b8fdd53b45d94cdb118f3fb5d7ac28b97f4aa9acaec13ecb34eae
3
- size 19363228
 
 
 
 
chunk_records/r2_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1a440565a527a46445d3845275708602d36c52b82624b008f9125f8ca931e2ea
3
- size 29987796
 
 
 
 
chunk_records/r2_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1a83fe2375ea5a3af3cb8cae920706267f6012747cc5c8c8dce57870ff5ad8ae
3
- size 31188808
 
 
 
 
chunk_records/r2_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8b0042445c13edb1ac3d22b8614a92196f32230fd64ab5910deacfd23b963e7a
3
- size 31933254
 
 
 
 
chunk_records/r2_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6652a9ed5ac0f36e45fe46c02d5d9fcb370b6a0da1c5bca43982adc66a395046
3
- size 32714042
 
 
 
 
chunk_records/r2_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d722a04bdfa6abfadeafc6e147f93448f7a4a588f8f1562f0c88e3eed1fc29cc
3
- size 33532627
 
 
 
 
chunk_records/r2_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:df0835b42680f6be534b7ca1ec9126c894f7dcf5e08a0f4bf91e5e534cdb3816
3
- size 34413718
 
 
 
 
chunk_records/r2_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b8a108b3ba7e3d58874439eea865ca4e6d5670e94c728a2c316ff3c9e6b7316c
3
- size 35376739
 
 
 
 
chunk_records/r2_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dffd670fafa5a398a1ab7552dea456de0c16b122fa929289b9f07752f9b8f328
3
- size 36286306
 
 
 
 
chunk_records/r2_00008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3981471c909b9d83bc3e5c7aa76c7e2d41c36f75933163300b767a34052af23e
3
- size 37160972
 
 
 
 
chunk_records/r2_00009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a78221f06dbfbb8f91b3ec7feece5881a318ca878805e4dee3477ba2075b5b8a
3
- size 37952847
 
 
 
 
chunk_records/r2_00010.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:71febdc1267b9bb79a27d3d55a1e63fe3bd8088be7e2c00459cf158cbca22f3d
3
- size 19361423
 
 
 
 
chunk_records/r3_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4b8a42d8d829db42bb1f2ae2cb57bdd42d5a6411a809d0dbad7ad2d80b60192d
3
- size 29983862
 
 
 
 
chunk_records/r3_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5b5af3b552d7cfc553341a81cf66980446cb0bcbad539df85a26974e21c8fb82
3
- size 31161148
 
 
 
 
chunk_records/r3_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:eb8feecc69cbf79aa0c25d20e7c0a095e941c8071e1da82bc70f52361904f36d
3
- size 31969262
 
 
 
 
chunk_records/r3_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:50045c1119f853574282ec52263fd8e485af711f2cc1fea60ad56dda6b35a1b2
3
- size 32683047
 
 
 
 
chunk_records/r3_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b99a9cb9840282b414e37b0461a77e1012bc10574c54d0dc4be2090a34bd626f
3
- size 33583948
 
 
 
 
chunk_records/r3_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d906840db59dad5dc5620288ba7bba7571d15417da2bcc1b04e8bb46b3b4265b
3
- size 34440698
 
 
 
 
chunk_records/r3_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a6a5246a6eb98be0fe5ae5429a4f83e7420f17e6fb9e960d7591165002ff3a55
3
- size 35408913
 
 
 
 
chunk_records/r3_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:44a6d4e7e57f8616de9791bd63277ce29c22db5be558f5c806eba2e303d00212
3
- size 36287722
 
 
 
 
chunk_records/r3_00008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f3b8e3a730d90db31183a1d69beddc6cdbd80434b8d3a5a102121b8b6109a0d7
3
- size 37174972
 
 
 
 
chunk_records/r3_00009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e2f690e95e9ac97ea639d91773e3c7dc9b777532ca7b558e0621859fcb9ccd79
3
- size 37945543
 
 
 
 
chunk_records/r3_00010.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8a474ab01c8aa0f7d95c27cf24905c4e5261133d279598b3133537e834ed77ae
3
- size 19361626
 
 
 
 
chunk_records/r4_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3ce6f61d17620f28fd394c754a93ad8439ff2ce68dd22016ed2cdc114ec2f24a
3
- size 29971624
 
 
 
 
chunk_records/r4_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3c5fc5ad78ea97d6c8a38f7ff23e76a6e32f8f28867f6983983784c1889080ad
3
- size 31207657
 
 
 
 
chunk_records/r4_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:819abe069702600e5b9f6b15e194136eb9fa2ccb8813231757da12eed37f1c0b
3
- size 31899122
 
 
 
 
chunk_records/r4_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dcc28a3c95704a565d7ba9e35e34b82015e5d807c6b51a28cee3da8fd7409ac9
3
- size 32705699
 
 
 
 
chunk_records/r4_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2edc2a45a0378502c604388e5a74575a7795a0c6faea0bed74e9d8d8a467c5e1
3
- size 33539032