chunk_id large_stringlengths 6 12 | question_id large_stringlengths 3 8 | language large_stringclasses 1
value | chunk_index int64 0 38 | chunk_text large_stringlengths 128 4.1k | sparse_text large_stringlengths 77 4.1k | dense_vector listlengths 3.58k 3.58k | sparse_indices listlengths 0 271 | sparse_values listlengths 0 271 | export_source large_stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|
4008779_c0 | 4008779 | javascript | 0 | Title: javascript array
Problem title: javascript array
Tags: javascript
Problem: javascript array
Code signals: img_1, img_2, img_3 | javascript array javascript array javascript img_1 img_2 img_3 javascript array whats the problem with that array? | [
0.00439453125,
-0.0013275146484375,
-0.032470703125,
0.005096435546875,
-0.005950927734375,
0.0203857421875,
-0.00994873046875,
0.0279541015625,
0.00787353515625,
-0.00018596649169921875,
-0.0081787109375,
0.0017547607421875,
-0.0091552734375,
0.0296630859375,
-0.00360107421875,
0.0030... | [
136951,
10298,
53,
566,
177,
115187,
304,
363,
2367,
70,
2967,
678,
450
] | [
0.2186279296875,
0.2005615234375,
0.1619873046875,
0.154052734375,
0.0251922607421875,
0.10205078125,
0.049896240234375,
0.1329345703125,
0.05181884765625,
0.056915283203125,
0.207275390625,
0.06854248046875,
0.078125
] | embed |
35598765_c0 | 35598765 | javascript | 0 | Title: INR currency format
Problem title: INR currency format
Tags: angularjs, javascript
Problem: INR currency format
Code signals: INR | INR currency format INR currency format angularjs javascript INR INR currency format I need to show currency format like these, how can we show. | [
-0.0242919921875,
-0.01275634765625,
-0.004364013671875,
-0.01336669921875,
-0.00921630859375,
0.0003910064697265625,
0.004913330078125,
0.020751953125,
0.006103515625,
0.0030364990234375,
-0.00750732421875,
-0.01806640625,
-0.00714111328125,
0.007659912109375,
0.0245361328125,
0.02722... | [
5881,
1052,
226649,
9384,
348,
35975,
28175,
136951,
87,
3871,
47,
7639,
1884,
6097,
3642,
831,
642
] | [
0.2044677734375,
0.2198486328125,
0.2425537109375,
0.226806640625,
0.0811767578125,
0.189208984375,
0.1656494140625,
0.18212890625,
0.01611328125,
0.0892333984375,
0.01129913330078125,
0.1513671875,
0.09661865234375,
0.0941162109375,
0.03253173828125,
0.007659912109375,
0.00774765014... | embed |
28658589_c0 | 28658589 | javascript | 0 | Title: zipping array of data in js
Problem title: zipping array of data in js
Tags: python, javascript
Problem: zipping array of data in js | zipping array of data in js zipping array of data in js python javascript zipping array of data in js How can I obtain the same answer in JS? | [
0.015869140625,
0.0032196044921875,
-0.02392578125,
0.01202392578125,
-0.003936767578125,
-0.01513671875,
0.0030517578125,
0.02197265625,
-0.008544921875,
-0.00836181640625,
0.00396728515625,
-0.00390625,
0.0022735595703125,
0.01220703125,
-0.01177978515625,
0.00982666015625,
0.00567... | [
3546,
26783,
10298,
53,
2053,
23,
1647,
7,
111,
17198,
50828,
136951,
113054,
35166,
64977
] | [
0.1878662109375,
0.13134765625,
0.1588134765625,
0.1204833984375,
0.1368408203125,
0.0265960693359375,
0.1536865234375,
0.06109619140625,
0.054595947265625,
0.04937744140625,
0.113525390625,
0.1258544921875,
0.038818359375,
0.1156005859375,
0.14990234375
] | embed |
19603246_c0 | 19603246 | javascript | 0 | "Title: Regex period matching\nProblem title: Regex period matching\nTags: javascript, regex\nProble(...TRUNCATED) | "Regex period matching Regex period matching javascript regex Regex Regex period matching I know tha(...TRUNCATED) | [-0.01531982421875,0.01361083984375,-0.006988525390625,0.00787353515625,-0.01495361328125,-0.0139160(...TRUNCATED) | [11678,3355,14922,14858,214,136951,6835,3714,10,5,83,2499,62816,4785,104192,50339,156377,73342,4865,(...TRUNCATED) | [0.1436767578125,0.2088623046875,0.265380859375,0.2176513671875,0.062225341796875,0.25439453125,0.14(...TRUNCATED) | embed |
67111048_c0 | 67111048 | javascript | 0 | "Title: javascript how to groupby\nProblem title: javascript how to groupby\nTags: object, javascrip(...TRUNCATED) | "javascript how to groupby javascript how to groupby object javascript arrays javascript how to grou(...TRUNCATED) | [0.01904296875,-0.01336669921875,-0.0069580078125,0.00238037109375,-0.0130615234375,0.00157928466796(...TRUNCATED) | [
136951,
3642,
47,
21115,
1272,
36746,
10298,
4778
] | [0.233642578125,0.07958984375,0.04632568359375,0.2237548828125,0.246826171875,0.1917724609375,0.1193(...TRUNCATED) | embed |
54985360_c4 | 54985360 | javascript | 4 | "9.944, C533.003, C525.979, C521.94, C518.846, C517.244, C516.479, C516.448, C516.755, C518.197, C52(...TRUNCATED) | "9.944, C533.003, C525.979, C521.94, C518.846, C517.244, C516.479, C516.448, C516.755, C518.197, C52(...TRUNCATED) | [0.006591796875,-0.004547119140625,0.000919342041015625,-0.00186920166015625,0.02001953125,0.0114746(...TRUNCATED) | [3569,203262,4,313,14226,121893,363,758,2588,5,199439,12744,158304,617,11703,200701,9271,179642,1246(...TRUNCATED) | [0.222412109375,0.3740234375,0.125,0.16455078125,0.232666015625,0.1959228515625,0.16064453125,0.1550(...TRUNCATED) | embed |
30678125_c1 | 30678125 | javascript | 1 | "1.2-2-2.6-3.4-3.1, c-4.2-1.7-8.6-3-12.9-4.5c-0.9-0.3-1.8-0.7-2.6-1c-2-0.7-2.5-1.8-2-3.9c1.9-6.9, c-(...TRUNCATED) | "2.7-4-6-7.7-6.8-12.7c-0.3-1.7-0.3-4.1 c3.5-2.8 Can't append element to SVG path I'm attempting to a(...TRUNCATED) | [-0.004669189453125,0.0093994140625,-0.0291748046875,0.0203857421875,0.01611328125,0.000448226928710(...TRUNCATED) | [787,50775,35748,195598,166141,9955,966,238,170179,133760,120518,501,72516,82295,4171,18,114689,71,1(...TRUNCATED) | [0.0753173828125,0.04974365234375,0.04693603515625,0.0904541015625,0.161376953125,0.07342529296875,0(...TRUNCATED) | embed |
53798755_c0 | 53798755 | javascript | 0 | "Title: Return Confirm() in php\nProblem title: Return Confirm() in php\nTags: php, javascript\nProb(...TRUNCATED) | "Return Confirm() in php Return Confirm() in php php javascript Confirm Return Confirm() in php In a(...TRUNCATED) | [0.004302978515625,0.00732421875,0.018310546875,0.005706787109375,0.01214599609375,0.01519775390625,(...TRUNCATED) | [173340,1657,38949,132,16,23,3958,136951,7909,54397,903,53299,6002,86531,18499,2392,184,241957,6954,(...TRUNCATED) | [0.292236328125,0.14453125,0.286376953125,0.09808349609375,0.012542724609375,0.0650634765625,0.25048(...TRUNCATED) | embed |
13635761_c0 | 13635761 | javascript | 0 | "Title: how to delete a tag with js?\nProblem title: how to delete a tag with js?\nTags: javascript,(...TRUNCATED) | "how to delete a tag with js? how to delete a tag with js? javascript jquery html how to delete a ta(...TRUNCATED) | [-0.00323486328125,0.0174560546875,-0.00860595703125,-0.0269775390625,-0.01104736328125,-0.027465820(...TRUNCATED) | [
3642,
154109,
7909,
678,
1647,
7,
136951,
7693,
87388,
15555
] | [0.011627197265625,0.23828125,0.2330322265625,0.09722900390625,0.18798828125,0.09979248046875,0.1115(...TRUNCATED) | embed |
28066465_c0 | 28066465 | javascript | 0 | "Title: Strange JS Issues\nProblem title: Strange JS Issues\nTags: javascript\nProblem: Strange JS I(...TRUNCATED) | "Strange JS Issues Strange JS Issues javascript Strange Issues JSMin Unterminated Strange JS Issues (...TRUNCATED) | [0.0019989013671875,0.0147705078125,-0.00653076171875,-0.0240478515625,-0.0289306640625,-0.001495361(...TRUNCATED) | [187791,64977,223317,136951,821,18148,73,21912,1249,27686,19441,7941,1733,26747,1810,31089,50155,609(...TRUNCATED) | [0.23193359375,0.22265625,0.212158203125,0.208740234375,0.121826171875,0.018280029296875,0.106872558(...TRUNCATED) | embed |
Javascript StackOverflow Vector Dataset Datasheet
1. What This Dataset Is
This dataset is the Javascript-specific vector shard of the Stack2Graph StackOverflow retrieval corpus. Each Hugging Face dataset repository contains exactly one language dataset.
It is optimized for dense+sparse retrieval, Qdrant restoration, and embedding-based RAG experiments.
It is used in the Stack2Graph project as the vector counterpart to the language-scoped RDF knowledge graph shards.
See the Stack2Graph repository for more details: https://github.com/tha-atlas/Stack2Graph
2. Repository Layout
dataset_manifest.json
question_metadata_*.parquet
chunk_records_*.parquet
question_records_*.parquet
dataset_manifest.json: language-scoped manifest for this dataset shard.question_metadata_*.parquet: per-question metadata and retrieval bookkeeping.chunk_records_*.parquet: chunk-level vector rows when parent-child indexing is enabled.question_records_*.parquet: question-level vector rows when chunking is disabled or exported alongside chunk data.
3. Data Model And Coverage
The dataset is derived from Stack Overflow questions selected for the Javascript programming language. It contains the structured records needed to rebuild the Stack2Graph Qdrant collection for that language.
Coverage scope:
- records are retained when they match the Stack2Graph supported language-tag set
- this repository contains only the Javascript shard
- the archive may contain both metadata-only and retrieval-ready vector rows depending on the export mode
4. Recommended Preprocessing
- Read
dataset_manifest.jsonfirst and use it as the source of truth for included Parquet files. - Load all Parquet shards for this repository into your vector indexing pipeline.
- Rebuild or restore the Qdrant collection
stackoverflow_javascript_vector. - Preserve attribution and license metadata during downstream export.
5. Automatic Download And Vector DB Setup
You do not need to regenerate embeddings from GraphDB to use this dataset.
In the Stack2Graph repository, you can use the automation script
python -m experiment.load_hf_datasets_into_services --skip-kg to download dataset artifacts
and prepare the vector database service state automatically.
Typical workflow:
- Clone and configure Stack2Graph (
.envwith HF token and service paths). - Clone and configure Stack2Graph (
.envwith HF token and service paths). - Start required local services:
docker compose up -d
- Run the loader script:
python -m experiment.load_hf_datasets_into_services --skip-kg
For manual usage without automation, directly ingest the listed Parquet files into your vector database.
6. Quality Notes And Caveats
- A Stack Overflow question may belong to multiple language shards when tagged with multiple languages.
- Embeddings and sparse representations depend on the configured export pipeline and model versions.
- As with community-generated data, content may include noise, bias, and temporal drift.
7. Intended Use
- semantic retrieval and reranking
- RAG and hybrid retriever experiments
- vector database benchmarking and diagnostics
- language-scoped developer tooling research
8. Limitations
- Not a complete mirror of all Stack Overflow content.
- Not all export modes include the same row types or chunk layouts.
- Best used together with the Stack2Graph retrieval pipeline and Qdrant-compatible tooling.
9. Licensing And Attribution
This dataset inherits Stack Overflow source licensing and attribution requirements. Ensure compliant attribution and redistribution practices in all derived artifacts.
10. Suggested Citation
If you use this dataset, cite the Stack2Graph work:
- Stack2Graph: A Structured Knowledge Representation of Stack Overflow Data for Retrieval-based Question Answering
- Downloads last month
- 41