Mo7art commited on
Commit
78bd61b
·
verified ·
1 Parent(s): 6353301

Clean StackOverflow vector language dataset before upload: javascript

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 - Javascript
10
- license: cc-by-sa-4.0
11
- size_categories:
12
- - 1M<n<10M
13
- ---
14
-
15
- # Javascript StackOverflow Vector Dataset Datasheet
16
-
17
- ## 1. What This Dataset Is
18
-
19
- This dataset is the Javascript-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 Javascript 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 Javascript 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_javascript_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:ec7b7a187a0286bffbf34f041cec5fc65938dd28acccc543f799429bb2bf875e
3
- size 29356160
 
 
 
 
chunk_records/r0_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dbc4cb3a19657f7cfa31b01f8144d20d530fe5ff960a8c6e4c361959ade0d751
3
- size 29615841
 
 
 
 
chunk_records/r0_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:10c51e847df48c5d00db5bde4a5830732061413409d89062ce662f0db7efa772
3
- size 29945576
 
 
 
 
chunk_records/r0_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:88761d85f5b646c307a2872422fcbe12732ce02309b0b16fe5b090e03eb28ee2
3
- size 30154608
 
 
 
 
chunk_records/r0_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f1972a6a59a097a834da24acb39a87e0fa66f5a72f1d3cab8c74ca9f2b6e7ec0
3
- size 30343014
 
 
 
 
chunk_records/r0_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c39ea035458c6524915ba3898cb2606ef9424d44dcf349e2de9ea818dec8086e
3
- size 30508774
 
 
 
 
chunk_records/r0_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:388f46c2958671dba2348492785ac87f03cebfc12867d6ba6a18156fb3e0da5b
3
- size 30626578
 
 
 
 
chunk_records/r0_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4cfb8adb3e14f07e146ccfbf7c7c69f80dfb30cb878670e6b306999d3383213e
3
- size 30722137
 
 
 
 
chunk_records/r0_00008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a8b572b6a17a729be30913abdfcaad8eeab5a4b44d44f3285a837984aff3f17b
3
- size 30842430
 
 
 
 
chunk_records/r0_00009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:89ef56bf18d885ff43fc1eda620105d386d5bed6b3aea1ae466be20573fb5347
3
- size 30929927
 
 
 
 
chunk_records/r0_00010.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0dcfe35f9fdd2af3b748de70278a979bfd64704bbf7c653248593cd4e979e333
3
- size 31040436
 
 
 
 
chunk_records/r0_00011.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2ff9014ff2b520bc4f63eab1838de1d2f18eb637d2e928067e523ced09320abc
3
- size 31115065
 
 
 
 
chunk_records/r0_00012.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:829b7b5e609b9681422b688826296043d014e210ce452b0cafee5ed92ce45c9c
3
- size 31177940
 
 
 
 
chunk_records/r0_00013.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:bb78b8df4a099e3565150e15c570c230abbf700ce68192f8c92d974b54731bfe
3
- size 31326052
 
 
 
 
chunk_records/r0_00014.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2aec4b483916b9fa3bf1ebee6bbec64f0c5267a834de6f2c7879eb61094b8e18
3
- size 31480761
 
 
 
 
chunk_records/r0_00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:110c36f789a9a6ce63fbbe0c06676f270c37cacca74748ef7aa48fed640a83f2
3
- size 31525414
 
 
 
 
chunk_records/r0_00016.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3235082788a3f598408218d9ca84fcc95e7bdb77283ef2d9468a09a41a35384b
3
- size 31573647
 
 
 
 
chunk_records/r0_00017.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ebdc21c74414bcdc06531395cad91b07a79893567748c7be07e6f20d7d8d511d
3
- size 31647882
 
 
 
 
chunk_records/r0_00018.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:143abbe3ec419a6c70dcf0095ebeb2f20d408b1341a442af2cd83601309de709
3
- size 31698297
 
 
 
 
chunk_records/r0_00019.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:db0b7218872e570853661b3d18d7920aeac4b5d4af2e05417939d9a96e8e9696
3
- size 31793383
 
 
 
 
chunk_records/r0_00020.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1f8c94ffd9f866ae5ecb1ac453a9d58502526576d860e2c38877642ab319ff27
3
- size 31844395
 
 
 
 
chunk_records/r0_00021.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:de096ad6fe0811449b6fa638576bb81749d445c9b5026fc8e2b677eb247ebf10
3
- size 31925102
 
 
 
 
chunk_records/r0_00022.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fa8719edcec60a91ba847e17ba2c7a1fd89049e11d880e03bbc961f523feef3c
3
- size 32002621
 
 
 
 
chunk_records/r0_00023.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b0f4da3f6a3a7dd200b87d034832c25df99ab7d4f7c2f25efe76b03aec378fa0
3
- size 32106439
 
 
 
 
chunk_records/r0_00024.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6a1cb7bb7ee099c525346789d4e2c25ae5f260c87092ad61bd7402eac974246e
3
- size 32204741
 
 
 
 
chunk_records/r0_00025.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c748450f06ae83903e63d13fd37272906d8a156b451ed77fe1979dbeb6561326
3
- size 32258053
 
 
 
 
chunk_records/r0_00026.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8d362607e474f02b43f69b7a68e7f4f46e220c317bc9969d4a8cd7be8abc594c
3
- size 32348675
 
 
 
 
chunk_records/r0_00027.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:32a7fe0d823279c7bdbe1f63a9e73c22eca5aca823b8959db8a5e6e266b03ac2
3
- size 32436160
 
 
 
 
chunk_records/r0_00028.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:22d053b4ad853d38a2c4c03fe1cdef6be31363a65bad99bfb498024e4fd86cce
3
- size 32546409
 
 
 
 
chunk_records/r0_00029.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:41a74f73e031a76381f86bb430fa303ccdc2ee98d2800c4520bc4f0283747d20
3
- size 32650465
 
 
 
 
chunk_records/r0_00030.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:767ca3cbcc841c4f83d6b4049c54c6f3b4b332e1d3bc94eab7db6f6276e3ddab
3
- size 32750814
 
 
 
 
chunk_records/r0_00031.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:06cb3800d454e710fde743c214ce882b42b08e1ad1f12df536eef3118c8ced03
3
- size 32827347
 
 
 
 
chunk_records/r0_00032.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c8e579642c1a08fbc5fa0b78e90f91ce2c4b762727e5bde9d903901315a4505f
3
- size 32951265
 
 
 
 
chunk_records/r0_00033.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:eefb748ba24d7ee773c40fc15f870e84dc79f7b2c5aeba2d24035d8f25625958
3
- size 33085970
 
 
 
 
chunk_records/r0_00034.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:26c240646fc7f9766304d22e39dcaec236fa9834f54a1ad8a38ef2b67e1179b2
3
- size 33162691
 
 
 
 
chunk_records/r0_00035.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:14e13f2ea84085489ca9cf2480773ff78832e98ee2f45c4c40682a50112ed40d
3
- size 33265873
 
 
 
 
chunk_records/r0_00036.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9df3d8c810e862328d7dfe824f9c3549bca4f4524a2520bcd16fb29eae7e4df3
3
- size 33347598
 
 
 
 
chunk_records/r0_00037.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:385f5c0b14ab659d4c8465cc40ba78bd171f5ab9364ac84ee37c69bd3dc5432d
3
- size 33460371
 
 
 
 
chunk_records/r0_00038.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:211c5ab0daa8cc8c2907916cba2d1c1ad69ad8c88de74ca26e45dfa53f12b6f8
3
- size 33556730
 
 
 
 
chunk_records/r0_00039.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f7279e4088f5e4b76249db6c0642085d90d5415ee08f7dde9a07a0a2a7a2da65
3
- size 33702000
 
 
 
 
chunk_records/r0_00040.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2dc2ef973f78c822e038e2642824e996e1e577569963f30741b64b931d2deb32
3
- size 33815337
 
 
 
 
chunk_records/r0_00041.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:786e367119ccfc3213d94e1a811eb0076331a7e30bab2a2596ff2bed8a7ddc57
3
- size 33912270
 
 
 
 
chunk_records/r0_00042.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a277c28378a12e978db79a165f6310ac6c6a8f31efb8ad80ba27f173cede1975
3
- size 34060952
 
 
 
 
chunk_records/r0_00043.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:94fbdb1deb02ce2bcb13fcf75d6bcaa1ab894ffa6a3199643a49fcaf8e1f2b60
3
- size 34199668
 
 
 
 
chunk_records/r0_00044.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a5242501aab897dbf09f572045ed8931fd8ede0943d6eb9a6c4faaeb5a8d96af
3
- size 34374820
 
 
 
 
chunk_records/r0_00045.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:26f043b800d35bc648416b6a7929c61bfa7d46389b8c30822bdb9e6984e4feea
3
- size 34492423
 
 
 
 
chunk_records/r0_00046.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:db424efa100b596d829b4018f6f8666da15e0cc777f51ef709d2cd27d133c3f1
3
- size 34587590
 
 
 
 
chunk_records/r0_00047.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:53bf417074ff4eaca7ef47234bd3ab14515a447bca1ff09cb826a45c8136044d
3
- size 34702888
 
 
 
 
chunk_records/r0_00048.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fc01046c24bd01a6622892ca6989841a10dc80b68634c70db7f3465a0de06552
3
- size 34827796