Mo7art commited on
Commit
936bca9
·
verified ·
1 Parent(s): b53fbe6

Update StackOverflow vector dataset card: javascript

Browse files
Files changed (1) hide show
  1. README.md +13 -24
README.md CHANGED
@@ -19,15 +19,15 @@ viewer: false
19
 
20
  ## Summary
21
 
22
- This repository contains the Javascript shard of the Stack2Graph vector retrieval dataset.
23
- Each Hugging Face dataset repository contains one programming-language shard and is intended to restore or rebuild the Qdrant collection `stackoverflow_javascript_vector`.
24
 
25
- The dataset is the vector counterpart to the Stack2Graph RDF knowledge graph. It is designed for hybrid retrieval, graph entry-point finding, and retrieval-augmented generation experiments over Stack Overflow content.
26
 
27
  Stack2Graph source:
28
  [https://github.com/tha-atlas/Stack2Graph](https://github.com/tha-atlas/Stack2Graph)
29
 
30
- ## Repository Layout
31
 
32
  ```text
33
  README.md
@@ -41,23 +41,21 @@ question_metadata/
41
  r0_00000.parquet
42
  chunk_records/
43
  r0_00000.parquet
44
- # or, for non-chunked exports:
45
- question_records/
46
- r0_00000.parquet
47
  ```
48
 
49
- - `dataset_manifest.json`: language-scoped manifest listing the files in this shard.
 
50
  - `qdrant_snapshots/collections_manifest.json`: language-scoped Qdrant snapshot manifest.
51
- - `qdrant_snapshots/stackoverflow_javascript_vector.*`: optional Qdrant restore artifact files for `stackoverflow_javascript_vector`.
52
  - `question_metadata/*.parquet`: question-level metadata used by parent-child chunk retrieval.
53
  - `chunk_records/*.parquet`: chunk-level vector rows when parent-child indexing is enabled.
54
  - `question_records/*.parquet`: question-level vector rows when non-chunked export is used.
55
 
56
  Parent-child exports contain `question_metadata/` and `chunk_records/`. Non-chunked exports contain `question_records/` instead. A repository does not need both `chunk_records/` and `question_records/`.
57
 
58
- The Hugging Face upload is one repository per language. During upload, the local leading language directory is removed, so local files such as `javascript/chunk_records/r0_00000.parquet` appear in this repository as `chunk_records/r0_00000.parquet`.
59
 
60
- ## Data Model
61
 
62
  Rows are derived from Stack Overflow questions tagged for Javascript.
63
 
@@ -80,13 +78,7 @@ The dataset is not a complete Stack Overflow mirror. Full question and answer gr
80
 
81
  ## Recommended Use
82
 
83
- Use this dataset for:
84
-
85
- - semantic and hybrid retrieval
86
- - Qdrant restore or ingestion tests
87
- - Stack2Graph RAG experiments
88
- - graph entry-point retrieval before QLever graph expansion
89
- - vector database benchmarking and diagnostics
90
 
91
  This dataset is not intended as a standalone supervised training dataset.
92
 
@@ -96,7 +88,7 @@ You do not need to regenerate embeddings to use this dataset.
96
 
97
  Typical workflow:
98
 
99
- 1. Clone Stack2Graph and configure `.env` with service paths and HF token.
100
  2. Start local services:
101
 
102
  ```bash
@@ -113,10 +105,7 @@ The loader restores Qdrant snapshots when present and falls back to Parquet inge
113
 
114
  ## Manual Use
115
 
116
- For manual use, inspect `dataset_manifest.json`, then either:
117
-
118
- - restore the Qdrant snapshot artifacts under `qdrant_snapshots/`, or
119
- - ingest the listed Parquet shards into a compatible vector database.
120
 
121
  The target Qdrant collection name is:
122
 
@@ -140,4 +129,4 @@ Preserve required attribution and license notices when redistributing derived ar
140
 
141
  If you use this dataset, cite the Stack2Graph project and preserve Stack Overflow attribution requirements:
142
 
143
- - Kleybolte, L. A., Ventura, V., & Zarcone, A. (2026). Stack2Graph: A Structured Knowledge Representation of Stack Overflow Data for Retrieval-based Question Answering . In Proceedings of the Knowledge Graphs and Large Language Models Workshop (KG-LLM) @ LREC26 (pp. 120133). European Language Resources Association (ELRA). https://doi.org/10.63317/583q4d3mwbdu.
 
19
 
20
  ## Summary
21
 
22
+ This Hugging Face dataset repository contains the Javascript shard of the Stack2Graph vector-database component as restorable Qdrant artifacts plus portable Parquet fallback files.
23
+ Hugging Face uses one dataset repository per programming language, so this repository is directly cloneable without an extra top-level archive wrapper.
24
 
25
+ The artifacts are intended for semantic and hybrid retrieval, graph entry-point finding, and retrieval-augmented generation experiments over Stack Overflow content.
26
 
27
  Stack2Graph source:
28
  [https://github.com/tha-atlas/Stack2Graph](https://github.com/tha-atlas/Stack2Graph)
29
 
30
+ ## Hugging Face Repository Layout
31
 
32
  ```text
33
  README.md
 
41
  r0_00000.parquet
42
  chunk_records/
43
  r0_00000.parquet
 
 
 
44
  ```
45
 
46
+ - `README.md`: Hugging Face dataset card rendered from this template.
47
+ - `dataset_manifest.json`: language-scoped manifest listing the files in this repository.
48
  - `qdrant_snapshots/collections_manifest.json`: language-scoped Qdrant snapshot manifest.
49
+ - `qdrant_snapshots/stackoverflow_javascript_vector.*`: Qdrant restore artifacts for `stackoverflow_javascript_vector`.
50
  - `question_metadata/*.parquet`: question-level metadata used by parent-child chunk retrieval.
51
  - `chunk_records/*.parquet`: chunk-level vector rows when parent-child indexing is enabled.
52
  - `question_records/*.parquet`: question-level vector rows when non-chunked export is used.
53
 
54
  Parent-child exports contain `question_metadata/` and `chunk_records/`. Non-chunked exports contain `question_records/` instead. A repository does not need both `chunk_records/` and `question_records/`.
55
 
56
+ During Hugging Face upload, the local leading language directory is removed. A local file such as `javascript/chunk_records/r0_00000.parquet` appears in this repository as `chunk_records/r0_00000.parquet`.
57
 
58
+ ## Content
59
 
60
  Rows are derived from Stack Overflow questions tagged for Javascript.
61
 
 
78
 
79
  ## Recommended Use
80
 
81
+ Use this dataset for semantic and hybrid retrieval, Qdrant restore or ingestion tests, Stack2Graph RAG experiments, graph entry-point retrieval before QLever graph expansion, and vector database benchmarking.
 
 
 
 
 
 
82
 
83
  This dataset is not intended as a standalone supervised training dataset.
84
 
 
88
 
89
  Typical workflow:
90
 
91
+ 1. Clone Stack2Graph and configure `.env` with service paths and an HF token.
92
  2. Start local services:
93
 
94
  ```bash
 
105
 
106
  ## Manual Use
107
 
108
+ For manual use, inspect `dataset_manifest.json`, then either restore the Qdrant snapshot artifacts under `qdrant_snapshots/` or ingest the listed Parquet shards into a compatible vector database.
 
 
 
109
 
110
  The target Qdrant collection name is:
111
 
 
129
 
130
  If you use this dataset, cite the Stack2Graph project and preserve Stack Overflow attribution requirements:
131
 
132
+ - Kleybolte, L. A., Ventura, V., & Zarcone, A. (2026). Stack2Graph: A Structured Knowledge Representation of Stack Overflow Data for Retrieval-based Question Answering . In Proceedings of the Knowledge Graphs and Large Language Models Workshop (KG-LLM) @ LREC26 (pp. 120-133). European Language Resources Association (ELRA). https://doi.org/10.63317/583q4d3mwbdu.