Mo7art commited on
Commit
108f93a
·
verified ·
1 Parent(s): 8dc3035

Clean StackOverflow vector language dataset before upload: java

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 - Java
10
- license: cc-by-sa-4.0
11
- size_categories:
12
- - 1M<n<10M
13
- ---
14
-
15
- # Java StackOverflow Vector Dataset Datasheet
16
-
17
- ## 1. What This Dataset Is
18
-
19
- This dataset is the Java-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 Java 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 Java 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_java_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:74719634ac6edeb3bee54afad9cd8df7cc18b50cddbe0747eedffd2c72930aae
3
- size 29170483
 
 
 
 
chunk_records/r0_00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f08df457d87a1666f7a3a21ab0e9def16bf7ddc4bdae501bed16160a663664f9
3
- size 29567639
 
 
 
 
chunk_records/r0_00002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:98d2a2516548ed2b726837a7fa043eab088d904acaff6f6962cc10124fc59af0
3
- size 29922347
 
 
 
 
chunk_records/r0_00003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3cb82caba2493dd0403b7b33457da63a36f9f711e537ebba9b9860048599f935
3
- size 30221791
 
 
 
 
chunk_records/r0_00004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:50524b19c24240bf1c7ec8da9f6901ada47d065d291c7fb1769ec5349f9b8eb0
3
- size 30500987
 
 
 
 
chunk_records/r0_00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c065a21f3fcda655cbe0e680c035be874692c9049b4149da2514c3327b9be007
3
- size 30672529
 
 
 
 
chunk_records/r0_00006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:203c7a96e33cfec0d81fc5b79417ef3554361ba76b229db1a01102e101feae05
3
- size 30860471
 
 
 
 
chunk_records/r0_00007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1d81499209d8a0d18c5862d6979f45bc56ac6405f7e06e638eed5e2a75ac6b5a
3
- size 31026695
 
 
 
 
chunk_records/r0_00008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d23146d4ee1515fafd57f7f9f95aa7e3c4f19df547efae058cdc281a04d80ed2
3
- size 31213551
 
 
 
 
chunk_records/r0_00009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ceb39da19e7bc040d6f36101d538ceaf04abff8c3837b5463baa1e2e04a2ee3d
3
- size 31336477
 
 
 
 
chunk_records/r0_00010.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f250d93cef529015a2effa0e9552f928c49099c2e52d305d8e3b1921408e1702
3
- size 31502690
 
 
 
 
chunk_records/r0_00011.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:84d5c02089ba15497f7b3de4f5a67b10c7be48a2727f6c83495c45674eb379d6
3
- size 31616692
 
 
 
 
chunk_records/r0_00012.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:af902516cafe96b83f6dc1a111a2ff2af91ddda23847f622b6cd38c8946baf6d
3
- size 31753499
 
 
 
 
chunk_records/r0_00013.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6590777d00c2db772706a4f4fec7e3242e7a8f6ec253a2a7e146e8c9421a6079
3
- size 31860917
 
 
 
 
chunk_records/r0_00014.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:594083e01d82958897af38195e296102e103d74252fce6d087da3ac3f1983087
3
- size 31991636
 
 
 
 
chunk_records/r0_00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b63073615030283c486dd9989508cc781f286bd6165819173ba4ab2ae9a0380d
3
- size 32131636
 
 
 
 
chunk_records/r0_00016.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5f79e273aea56df562cb623cc8d16946f102d6c4929777ea792ae4ac9c3320e3
3
- size 32243698
 
 
 
 
chunk_records/r0_00017.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2160ca91de96e863fd196f3872e36afb094d0a04810d6dead75884e11816b565
3
- size 32361518
 
 
 
 
chunk_records/r0_00018.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e2b886b773b7043a8370040c5e32b2ad97de18d109052d8e6ad44dd1e6320209
3
- size 32491590
 
 
 
 
chunk_records/r0_00019.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d88e1ee2bc645b7ffe0f58a1627f13743190848c75aadaca924aa640b0b3f6f5
3
- size 32655393
 
 
 
 
chunk_records/r0_00020.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:37310f3768f42a403717a30c8307912c23879e0f9ac891d23429a086f534e54b
3
- size 32800537
 
 
 
 
chunk_records/r0_00021.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5530778d5c52b303f733445674f0fa5b833902b4adca627cb4b02e4d3c4d3c33
3
- size 32941562
 
 
 
 
chunk_records/r0_00022.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7f03a9ee82963b177c2a9474a41ea7191cbbc1fa91200c05f453ada270c0302d
3
- size 33104424
 
 
 
 
chunk_records/r0_00023.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f028ee69200c5794f2ba027ba2147d524172dbbd3b7540ffad7b559eb38e03a0
3
- size 33242210
 
 
 
 
chunk_records/r0_00024.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b7cf57edac0e00d8a70b6a95f919af9a3c9ee9693790e06a9a3c1cc9d31ce1b7
3
- size 33394864
 
 
 
 
chunk_records/r0_00025.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8fea66cfe9b54a9af31dff3f548fd98beffceb101a08eb8fc3d00a57b16b2969
3
- size 33557183
 
 
 
 
chunk_records/r0_00026.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:83120cd715a4e700b73e9e847cd30879a68e12608ab3db274360740049efb7b6
3
- size 33686164
 
 
 
 
chunk_records/r0_00027.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fc39f15bd10770530d7cc8cd372309c6972be7be439afc96859517a1653b2a4e
3
- size 33878536
 
 
 
 
chunk_records/r0_00028.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d26906fe631ab8fd206a98ae810c4af84f182c035eda91ec57a19cceac641969
3
- size 34074756
 
 
 
 
chunk_records/r0_00029.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e72ae3e80ebf3b28eed7a0786501bf4fa938b8658ed202572f4f2323f2d83e15
3
- size 34229463
 
 
 
 
chunk_records/r0_00030.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7431643a9559b98a716056f9d28a39f140fc4979a1918b0693b197a4d9f0582d
3
- size 34413088
 
 
 
 
chunk_records/r0_00031.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:56974af7a134cc01a195e71c7aba7ab6eb902d59cc2fff24f4fa1f023f174271
3
- size 34629545
 
 
 
 
chunk_records/r0_00032.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5953a7148f4a443878822546a6c78d897f5279b37e0aa3d66b9de2819b274936
3
- size 34781804
 
 
 
 
chunk_records/r0_00033.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:522a293a32d3152eb74d87466ba7b3cb3b4fe03e1de3fd756c4d15c583057f5c
3
- size 34982622
 
 
 
 
chunk_records/r0_00034.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6bf446a5cb01dbef07e33a258bf677210225d573d298a3bb11a8f3c00b92bb1b
3
- size 35200900
 
 
 
 
chunk_records/r0_00035.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7524ff49666ca399c2fb78d8543883c42418948c89e1bc06e08aee282ae895ab
3
- size 35336023
 
 
 
 
chunk_records/r0_00036.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:df8293af37671c1eff24c6d59819cc24ca60e09da909aa21fc0cf2dd700cd4b9
3
- size 35502220
 
 
 
 
chunk_records/r0_00037.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0eeab99e3656837729e85e3cf8b8e61e8649104b4d7be804a2661a72e4f5ff45
3
- size 35695207
 
 
 
 
chunk_records/r0_00038.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:409873de2b9a6fc773f348398fd4e925d27476c88d947d947290a2f0510d5b01
3
- size 35891896
 
 
 
 
chunk_records/r0_00039.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9dcbadbcdff21895d1660171b3348f0e02fd9a3fb7fe72c1928f98e0ad1cf366
3
- size 36083758
 
 
 
 
chunk_records/r0_00040.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9cecf96da834cf1dc2e215061f60fea9a1fb5336592b766130f8fbc73281e5e8
3
- size 36294383
 
 
 
 
chunk_records/r0_00041.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:feab583e11430572361f566b39bd00f8f348c6fe0cd42e1331bfb7f3211cf668
3
- size 36427646
 
 
 
 
chunk_records/r0_00042.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ae161ab1e0fea63366c8e04188a17262a3d4efe4466cd3c4089f1e82663ee35c
3
- size 36545412
 
 
 
 
chunk_records/r0_00043.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6afe769b86b74d576ce43de39f32d66071392fe570eae9e5d7f1034611b9883a
3
- size 36767025
 
 
 
 
chunk_records/r0_00044.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e32ca2915af2d05243984516a4be20249f8d429b69158cb09354af64f9056fc6
3
- size 36890047
 
 
 
 
chunk_records/r0_00045.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c344231b97ca20c1f860a1f848cb1f33988bf24848d1842f1bfde3ddb6e5c8f0
3
- size 37017407
 
 
 
 
chunk_records/r0_00046.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6e6a138fcf26347d8a918d15bb4767c18401142d72708291ea82cfaca32219f9
3
- size 37130795
 
 
 
 
chunk_records/r0_00047.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:116f349db7d71fea3e84f453d4270a25f11efaeb780933020aea1ac82ce3bfaf
3
- size 37272218
 
 
 
 
chunk_records/r0_00048.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:79628887d578c6576a63eb9867ce0ea3faf1298f012012d0a9ecbe1312dd021d
3
- size 37369464