Mo7art commited on
Commit
e3ed524
·
verified ·
1 Parent(s): 9d58329

Clean StackOverflow vector language dataset before upload: typescript

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/r1_00000.parquet +0 -3
  11. chunk_records/r1_00001.parquet +0 -3
  12. chunk_records/r1_00002.parquet +0 -3
  13. chunk_records/r1_00003.parquet +0 -3
  14. chunk_records/r1_00004.parquet +0 -3
  15. chunk_records/r1_00005.parquet +0 -3
  16. chunk_records/r1_00006.parquet +0 -3
  17. chunk_records/r1_00007.parquet +0 -3
  18. chunk_records/r2_00000.parquet +0 -3
  19. chunk_records/r2_00001.parquet +0 -3
  20. chunk_records/r2_00002.parquet +0 -3
  21. chunk_records/r2_00003.parquet +0 -3
  22. chunk_records/r2_00004.parquet +0 -3
  23. chunk_records/r2_00005.parquet +0 -3
  24. chunk_records/r2_00006.parquet +0 -3
  25. chunk_records/r2_00007.parquet +0 -3
  26. chunk_records/r3_00000.parquet +0 -3
  27. chunk_records/r3_00001.parquet +0 -3
  28. chunk_records/r3_00002.parquet +0 -3
  29. chunk_records/r3_00003.parquet +0 -3
  30. chunk_records/r3_00004.parquet +0 -3
  31. chunk_records/r3_00005.parquet +0 -3
  32. chunk_records/r3_00006.parquet +0 -3
  33. chunk_records/r3_00007.parquet +0 -3
  34. chunk_records/r4_00000.parquet +0 -3
  35. chunk_records/r4_00001.parquet +0 -3
  36. chunk_records/r4_00002.parquet +0 -3
  37. chunk_records/r4_00003.parquet +0 -3
  38. chunk_records/r4_00004.parquet +0 -3
  39. chunk_records/r4_00005.parquet +0 -3
  40. chunk_records/r4_00006.parquet +0 -3
  41. chunk_records/r4_00007.parquet +0 -3
  42. chunk_records/r5_00000.parquet +0 -3
  43. chunk_records/r5_00001.parquet +0 -3
  44. chunk_records/r5_00002.parquet +0 -3
  45. chunk_records/r5_00003.parquet +0 -3
  46. chunk_records/r5_00004.parquet +0 -3
  47. chunk_records/r5_00005.parquet +0 -3
  48. chunk_records/r5_00006.parquet +0 -3
  49. chunk_records/r5_00007.parquet +0 -3
  50. chunk_records/r6_00000.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 - Typescript
10
- license: cc-by-sa-4.0
11
- size_categories:
12
- - 1M<n<10M
13
- ---
14
-
15
- # Typescript StackOverflow Vector Dataset Datasheet
16
-
17
- ## 1. What This Dataset Is
18
-
19
- This dataset is the Typescript-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 Typescript 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 Typescript 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_typescript_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:4b8ecac7a324d1e8f585c9c41dd492a6abc46f13a2db2081e6ca81d112c8371a
3
- size 30607481
 
 
 
 
chunk_records/r0_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fdb2afa4400b3ddb5925625f97dd64ae101e70d9f8871637765f16cf231d4097
3
- size 31676461
 
 
 
 
chunk_records/r0_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:61573d255ed2e7c53ad0ea2e323181e1f77dbc94e0241153c7804de9c3950bfe
3
- size 32668478
 
 
 
 
chunk_records/r0_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:46770457c51d2197a65c0f0a5d6027e11ef2db3e413746608332b11d85330a90
3
- size 33787372
 
 
 
 
chunk_records/r0_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ce20c8eccfc4bc31a2d5abd7f74e5df3d2155569c450b52d82544e5db49d5290
3
- size 34967579
 
 
 
 
chunk_records/r0_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4d52dde256714538c24f78840f66b3e45560742f67906d61e584d475cceeb0a6
3
- size 36100934
 
 
 
 
chunk_records/r0_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f8d77b39d6ae091bb0f4822177c7558a7ef379c9b94514a76b03aa8e699c54e4
3
- size 37198167
 
 
 
 
chunk_records/r0_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:45ab94faeb7e764bbb5492102308710842e7ddc74e89c4ac06ac38a056329a7d
3
- size 13189120
 
 
 
 
chunk_records/r1_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:93b04215cc9aef1733d008d8b38cbb135c6cab86014ad0650816ba2ed048a0b5
3
- size 30603601
 
 
 
 
chunk_records/r1_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:bbe642e790931498cb82985c05e95004a4bf98839e38652497d66b5158f3f73a
3
- size 31713531
 
 
 
 
chunk_records/r1_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b8d89cae4521dd33ceb8a4532b283cfdf02d18c54cb02f27675ab8cfae92c6e2
3
- size 32643363
 
 
 
 
chunk_records/r1_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b70b82df90b15701c10a77eb99a5f946a5f5e80a14f3454d092e6e5ae4cfdeab
3
- size 33783762
 
 
 
 
chunk_records/r1_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:70ce109c7d39b3d4d4d457f179de452d542602dbc8af3e43a252afcb27b6b409
3
- size 35011112
 
 
 
 
chunk_records/r1_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7962991416f575c600c812e5ca92bb45e35a4b7804f83f5246691d2550f4c3c0
3
- size 36134097
 
 
 
 
chunk_records/r1_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6018acab2db5bad0dbc58f48d80462f4f60e7a04cfa7800811a1e36c110dc092
3
- size 37231010
 
 
 
 
chunk_records/r1_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ec38c0eab797b86790fbe84eebe173aadd4c8ed7104c9c57c2e4184580a38972
3
- size 13198046
 
 
 
 
chunk_records/r2_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:36da21262e0a29161573a5c4440b16a7ccb4f584de17317543ebeb380ba870b1
3
- size 30568035
 
 
 
 
chunk_records/r2_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1f72907b53dafe98e8703aeb0adf6206483198d21e1328958df381621d650bd2
3
- size 31668885
 
 
 
 
chunk_records/r2_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:416c5b2af7963f3f9229af9dadcb943d3dc22aa5d831036a5b60351f9b61505f
3
- size 32631943
 
 
 
 
chunk_records/r2_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:74dde62f350cb5eca84f3174de9f9d4012f5682b32ed7289a5d785c02f5128e8
3
- size 33762769
 
 
 
 
chunk_records/r2_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:da7228f6a599f58d65d780db5a183a18c09ae10fd62bb2dfb8429143d3282ee9
3
- size 34933539
 
 
 
 
chunk_records/r2_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6bf8c451d59e698b245de2cdb83cd8611f68ca905833ef3b797ffba9aacdb505
3
- size 36066582
 
 
 
 
chunk_records/r2_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:98696f6d2bfb1acc72987cfb620cf365dd079b464d31af6f02cc4d141158713a
3
- size 37212740
 
 
 
 
chunk_records/r2_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dde62af5df65c3e9708a6aad11f849cd2a54c5638225ddad8b9fdab1e7c11a2b
3
- size 13193468
 
 
 
 
chunk_records/r3_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7520316243bb82016f5b1f767aabc82f2f7fed6f82f1b292121eb32ac3af1dd9
3
- size 30567077
 
 
 
 
chunk_records/r3_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:790d6ec6a1d6e19b0d6ec7b4dc4d2d387dcf51ac0de44509c51a9a078180d144
3
- size 31647426
 
 
 
 
chunk_records/r3_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:cccba674b73efccd72448734230e17ebdadadb8a88d8abbf2b1a313d9337bd5b
3
- size 32639404
 
 
 
 
chunk_records/r3_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8019acdf4ff3ba68c48ea3fb51d8047491f7fc49704e27c0d64507c4b60f0e7a
3
- size 33759660
 
 
 
 
chunk_records/r3_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e8f9ebb36094cbbc42d8b1ba7aff4b5a5e0b898ab7470cff11615db73e1cd9fd
3
- size 34924510
 
 
 
 
chunk_records/r3_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:94d80084a0a5871fb8bc00e24cba98e0b6cf34b96dcc5d108a03d15bff40fee9
3
- size 36146486
 
 
 
 
chunk_records/r3_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8b2d090f832f2019d9408801db32802b2f49a12072e6242aceff00e9e1e67cc0
3
- size 37196546
 
 
 
 
chunk_records/r3_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:01dfc2c3939db849b54f2d28ad667e1375aac0d8fa0234afbe7faa7d07717b77
3
- size 13158962
 
 
 
 
chunk_records/r4_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:89739292123491425a0dace0e070f148a84b547e14365948c0ce4a2fba5087cb
3
- size 30582993
 
 
 
 
chunk_records/r4_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c163c04b39ac0958d674cabda5bccf22fa0018c4a0706982e0d40a1c7065fb7b
3
- size 31677184
 
 
 
 
chunk_records/r4_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:bd9ddf032bfd7137b2d579f0281d7c53c3318807926f3b729d1b44b750b3af23
3
- size 32629958
 
 
 
 
chunk_records/r4_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7feb195af7d3bf0d4242f75cce5838bd0bbbb6399f64eb826814e19af1844b0e
3
- size 33771506
 
 
 
 
chunk_records/r4_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a1d441f542eb37681ae4b8377486ac35ef51e082a032ad8152ab3ae943de90df
3
- size 34965620
 
 
 
 
chunk_records/r4_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:06db1a0b7dc7b5a0b46a92c7eac9dd97070f759b77f30191d5af4730566cb859
3
- size 36074698
 
 
 
 
chunk_records/r4_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7f420c2446d90e721532ee251f4adff86239d2ef9b3233cab918577fcc043e82
3
- size 37139677
 
 
 
 
chunk_records/r4_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:cfeda4a71b31b58606a529a5f47772293112f6c7f4490a2f67191bbfbf9b29f9
3
- size 13164661
 
 
 
 
chunk_records/r5_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d88f40dc5ab0f77369883e9aed89db6338f701040a75931ddd1b9a020099786e
3
- size 30600079
 
 
 
 
chunk_records/r5_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:73a742fc10cdc33d1f0c8088348cac51403693f9f805f2195afc45a9d8c158d3
3
- size 31660540
 
 
 
 
chunk_records/r5_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5ab4fe38b34407650edea9b331f4452f0a8fba2626dfdfc1df15935a6f61dec4
3
- size 32645248
 
 
 
 
chunk_records/r5_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5164eb8e3daa6bfdd560eda9390d15e44e18c940cc1bf8f6c4694ad27deb8c04
3
- size 33796777
 
 
 
 
chunk_records/r5_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1a364c7a02aa63981989a37cd8309b5fb96de90f20b7822b2712b25b80786e86
3
- size 34962114
 
 
 
 
chunk_records/r5_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:20ac0d69f6f6ffb8d5ad846af92d8bb150b1879b18ce2ba56c50bd124ebdc1db
3
- size 36094139
 
 
 
 
chunk_records/r5_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:54cb542038765deb6f6976e82d37653d400b2f7ed247665ca3c2979a61057c36
3
- size 37164729
 
 
 
 
chunk_records/r5_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6addee482cf7358a0d4ab27ce52f583f3ac9bade9c0b80037563a42ad985a687
3
- size 13187775
 
 
 
 
chunk_records/r6_00000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d63a20a295492db3281e551b5d310745803a265de56677b28e245016d0903003
3
- size 30556316