Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
id
string
question_id
int64
chunk_index
int32
embedding_text
string
dense_tokens
int32
sparse_tokens
int32
languages
list
tags
list
payload_json
string
dense
list
sparse_indices
list
sparse_values
list
bffa1375-a127-5d16-9937-b4f90f46a558
25
0
Title: How to use the C socket API in C++ on z/OS I'm having issues getting the C sockets API to work properly in C++ on z/OS. Although I am including sys/socket.h, I still get compile time errors telling me that AF_INET is not defined. Am I missing something obvious, or is this related to the fact that being on z...
355
416
[ "c", "c++" ]
[ "c++", "c", "sockets", "mainframe", "zos" ]
{"accepted_answer_id":1443907,"answer_count":9,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-01T12:13:50.207000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c","c++"],"last_activity_date":"2025-12-16T13:40:20.297000+00:00","last_edit_date":"2023-06-01T11:20:00.663000+0...
[ -0.0139617919921875, -0.019775390625, -0.0238494873046875, -0.0006551742553710938, 0.00623321533203125, -0.0159454345703125, 0.0123443603515625, 0.034271240234375, 0.005092620849609375, -0.0219268798828125, -0.0254058837890625, 0.034027099609375, 0.028167724609375, 0.0008726119995117188, ...
[ 14, 18, 23, 64, 97, 98, 100, 112, 126, 127, 138, 221, 313, 420, 441, 454, 468, 568, 647, 670, 954, 959, 991, 1286, 1340, 1733, 2485, 3190, 3871, 4488, 4527, 5201, 5659, 5962, 6713, 6954, 7285, 7413, 7464, 8035, 8368, 8647, 9351, 9...
[ 0.072265625, 0.01708984375, 0.026123046875, 0.15625, 0.1572265625, 0.0400390625, 0.0211181640625, 0.154296875, 0.095703125, 0.0888671875, 0.010986328125, 0.11328125, 0.1181640625, 0.0966796875, 0.046630859375, 0.02294921875, 0.0203857421875, 0.0634765625, 0.111328125, 0.0878906...
a8ee2c35-60ff-5753-9d9a-d32bc0ca4bc2
263
0
Title: GTK implementation of MessageBox I have been trying to implement Win32's MessageBox using GTK. The app uses SDL/OpenGL, so this isn't a GTK app. I handle the initialization (gtk_init) sort of stuff inside the MessageBox function as follows: int MessageBox(HWND hwnd, const char* text, const char* caption, UI...
393
600
[ "c" ]
[ "c", "linux", "gtk", "x11" ]
{"accepted_answer_id":607,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-01T23:27:24.993000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c"],"last_activity_date":"2020-07-08T14:45:18.700000+00:00","last_edit_date":"2020-07-04T15:57:23.873000+00:00","que...
[ 0.026947021484375, 0.020263671875, 0.01198577880859375, -0.0019817352294921875, 0.01430511474609375, -0.03387451171875, -0.0203857421875, 0.01073455810546875, -0.0261077880859375, 0.01812744140625, 0.0064697265625, 0.0203857421875, -0.00012111663818359375, -0.01454925537109375, 0.0249176...
[ 18, 23, 73, 92, 158, 159, 160, 214, 217, 345, 397, 527, 532, 706, 724, 1257, 1375, 2967, 3181, 3390, 4027, 4028, 4527, 4568, 4588, 4867, 5386, 5440, 6460, 7225, 7986, 8031, 8399, 8520, 8575, 8727, 9092, 9433, 9494, 9844, 10644, 10932,...
[ 0.08544921875, 0.04931640625, 0.08154296875, 0.1630859375, 0.0771484375, 0.052001953125, 0.05859375, 0.011474609375, 0.123046875, 0.02587890625, 0.046630859375, 0.12109375, 0.053955078125, 0.0888671875, 0.10498046875, 0.046142578125, 0.04443359375, 0.09375, 0.0791015625, 0.0971...
23da0799-ade0-5540-afc4-3df7fac4a66e
1,145
0
"Title: Why am I getting a double free or corruption error with realloc()?\n\nI've tried to write a (...TRUNCATED)
405
476
[ "c" ]
[ "c", "malloc" ]
"{\"accepted_answer_id\":1154,\"answer_count\":8,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[0.049163818359375,-0.007801055908203125,-0.0051422119140625,0.004726409912109375,0.02801513671875,-(...TRUNCATED)
[10,18,23,33,56,73,87,107,127,132,136,144,313,432,444,583,661,678,686,707,757,866,960,965,997,1510,1(...TRUNCATED)
[0.011962890625,0.000732421875,0.042236328125,0.10205078125,0.043212890625,0.0390625,0.001708984375,(...TRUNCATED)
28ea94fc-aebf-531f-b8ec-05836d0d6a2c
1,311
0
Title: Rockbox audio format How do you specify a callback for rb->pcm_play_data()?
23
29
[ "c" ]
[ "c", "audio", "rockbox" ]
"{\"accepted_answer_id\":null,\"answer_count\":1,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[-0.007419586181640625,0.006618499755859375,0.0250396728515625,-0.03228759765625,-0.000946044921875,(...TRUNCATED)
[ 254, 3931, 9384, 10135, 11728, 11782, 12620, 13471, 14434, 18215, 18929, 20706, 40140, 48962, 103607 ]
[0.036865234375,0.2158203125,0.1728515625,0.150390625,0.2578125,0.1474609375,0.2314453125,0.18652343(...TRUNCATED)
2c0a5e72-2cee-5894-88a8-0e082bf0ff05
2,540
0
"Title: Good STL-like library for C\n\nWhat are good libraries for C with datastructures like vector(...TRUNCATED)
48
60
[ "c" ]
[ "c", "architecture", "data-structures" ]
"{\"accepted_answer_id\":2697,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[0.053863525390625,-0.0167236328125,-0.01032257080078125,0.00925445556640625,0.01873779296875,-0.015(...TRUNCATED)
[8,73,100,159,256,313,621,678,1294,1884,2053,4127,5062,5423,6423,7162,8950,10484,13651,18621,22230,2(...TRUNCATED)
[0.1806640625,0.06298828125,0.109375,0.076171875,0.08984375,0.1962890625,0.04052734375,0.10205078125(...TRUNCATED)
47ac38b6-430e-513f-95ec-e168d0b3491e
2,844
0
"Title: How do you format an unsigned long long int using printf?\n\n#include <stdio.h>\nint main() (...TRUNCATED)
162
170
[ "c" ]
[ "c", "syntax", "printf", "format-specifiers", "long-long" ]
"{\"accepted_answer_id\":2850,\"answer_count\":14,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED)
[0.043365478515625,-0.04095458984375,-0.0102386474609375,-0.0261077880859375,-0.005329132080078125,-(...TRUNCATED)
[5,18,23,51,71,83,127,132,141,190,202,271,297,382,390,420,757,1372,1530,1636,1702,2448,2606,3638,415(...TRUNCATED)
[0.0164794921875,0.158203125,0.111328125,0.095703125,0.00830078125,0.015380859375,0.06103515625,0.02(...TRUNCATED)
27538219-0fb9-5a37-be9a-5cafe9a20481
2,873
0
"Title: Choosing a static code analysis tool\n\nI'm working on a project where I'm coding in C in a (...TRUNCATED)
78
83
[ "c" ]
[ "c", "unix", "testing" ]
"{\"accepted_answer_id\":2927,\"answer_count\":15,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED)
[0.000213623046875,-0.0267486572265625,0.00032973289489746094,0.0063629150390625,0.021209716796875,0(...TRUNCATED)
[10,18,47,232,313,552,1286,1542,1556,1733,2809,4092,4527,4960,4989,6238,10932,11508,12765,13452,1730(...TRUNCATED)
[0.03076171875,0.22265625,0.013427734375,0.00732421875,0.08447265625,0.158203125,0.014892578125,0.07(...TRUNCATED)
7177f76e-04fd-5b74-bfc1-00b04b480ba1
3,231
0
"Title: C/C++ library for reading MIDI signals from a USB MIDI device\n\nI want to write C/C++ progr(...TRUNCATED)
126
145
[ "c", "c++" ]
[ "c++", "c", "signal-processing", "midi", "dev-c++" ]
"{\"accepted_answer_id\":842632,\"answer_count\":4,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[0.01739501953125,-0.0019350051879882812,0.004077911376953125,-0.00452423095703125,-0.00428771972656(...TRUNCATED)
[7,9,47,64,70,100,276,313,441,748,831,1294,1295,2046,2053,3444,3773,4527,5646,6107,6863,8305,10273,1(...TRUNCATED)
[0.028076171875,0.05078125,0.033447265625,0.1640625,0.0189208984375,0.053955078125,0.16015625,0.1181(...TRUNCATED)
c6666821-9405-5cc4-adb7-6803af7881f9
4,051
0
"Title: Passing multidimensional arrays as function arguments in C\n\nIn C can I pass a multidimensi(...TRUNCATED)
60
67
[ "c" ]
[ "c", "function", "multidimensional-array" ]
"{\"accepted_answer_id\":4192,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[-0.002460479736328125,0.007411956787109375,-0.0213623046875,0.0108642578125,0.027130126953125,-0.01(...TRUNCATED)
[10,18,23,47,53,87,237,313,360,831,1543,2301,3714,4778,6024,7730,10298,10750,11001,27875,28872,32354(...TRUNCATED)
[0.01904296875,0.083984375,0.024658203125,0.068359375,0.162109375,0.028076171875,0.064453125,0.15332(...TRUNCATED)
e88085b9-92fb-518e-a940-6cf43d351c0f
4,824
0
"Title: String.indexOf function in C\n\nIs there a C library function that will return the index of (...TRUNCATED)
56
63
[ "c" ]
[ "c", "string" ]
"{\"accepted_answer_id\":4838,\"answer_count\":7,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[-0.002193450927734375,-0.01247406005859375,0.01200103759765625,-0.0155181884765625,0.01934814453125(...TRUNCATED)
[7,10,23,70,111,214,313,450,661,959,1221,1294,1884,2060,2071,2685,4711,7311,7704,9297,14037,21441,23(...TRUNCATED)
[0.0205078125,0.04736328125,0.09765625,0.06689453125,0.0859375,0.0986328125,0.1484375,0.036376953125(...TRUNCATED)
End of preview. Expand in Data Studio

Stack2Graph vector database: c

This release contains 464247 text chunks from Stack Overflow with dense and sparse embeddings, selected by the producer's programming-language memberships. Memberships can overlap: a chunk may occur in several language datasets. These labels describe programming languages, not the natural language of the text. extra-languages, when present, contains source rows without a language match. An absent language is never replaced with an empty dataset.

Files and fields

data/vectors-*.parquet contains Zstandard-compressed tables. Each row has a stable id, question_id, chunk_index, embedding_text, model token counts, languages, tags, dense, sparse_indices, sparse_values and payload_json. The last field preserves the complete original Qdrant payload, including source snapshot identity, source dates, scores and answer flags when available. Dense values are float32 representations of the producer's stored float16 values; this does not recover precision discarded during embedding. Sparse weights preserve float32 values and uint32 token indices.

On Hugging Face, load the vectors config with datasets.load_dataset and use streaming for large releases. The dataset viewer uses only the explicitly listed Parquet files. data/dataset.tar.gz is the portable package also used by MDC: extract it to obtain the same Parquet bytes, README and publication.json. The archive is an exchange dataset, not a Qdrant binary snapshot. Import in bounded batches using each row's id, named dense/sparse vectors and decoded payload_json. Recreate collection settings deliberately for your Qdrant version.

Provenance and reproducibility

{
  "after_id": -9223372036854775808,
  "chunk_overlap": 128,
  "chunk_tokens": 1024,
  "collection": "stackoverflow_questions",
  "dense_dimension": 4096,
  "dense_model": "Qwen/Qwen3-Embedding-8B",
  "dense_revision": "1d8ad4ca9b3dd8059ad90a75d4983776a23d44af",
  "question_limit": null,
  "registry_digest": "d2a7357c04e7f47d9bb598189aeeb7db0680d6b35f0d9695d8d2e544121afb8e",
  "snapshot_digest": "56fe643952cec74b17ea13d91edc8ad95181326156177c94cce48d3fed9834b9",
  "snapshot_id": "stackexchange_20260630_sakura",
  "sparse_model": "BAAI/bge-m3",
  "sparse_revision": "5617a9f61b028005a4858fdac845db406aefb181"
}

Export identity: bc9f696c9588560e3be547879c58b96c50c64e3828495471bee43e504392ec7f. Point-ID configuration digest: d16d58c9e7b8007664e3f77b4e9f4a1689a8b8de2c6727b479595621b25e3460. Point IDs use the same snapshot/configuration/question/chunk UUID derivation as the project's Qdrant loader. publication.json lists exact file sizes, SHA-256 hashes, row count, source identity and model/chunking settings. On HF, release.json additionally verifies all managed remote files. Only locally finalized runs with matching stage/report counts are published. The uploader does not re-embed text or query a running database.

Uses and limitations

Intended for dense, sparse and hybrid retrieval, retrieval-augmented generation and reproducible search experiments. Retrieval quality depends on the pinned models and chunking configuration. Overlapping chunks and language memberships are not independent samples; split evaluations by source question to avoid leakage. Source questions can contain personal data, obsolete code, errors and biases. Source-window limits are recorded above. No retrieval benchmark or completeness beyond the recorded source window is claimed.

Attribution and licensing

Derived from Stack Overflow content. Preserve the original post/author attribution and applicable Stack Overflow licensing when redistributing or displaying source content. Question IDs and source snapshot are retained to resolve source posts. This publication declares CC BY-SA 4.0; embedding model licenses and any upstream obligations still apply. Pinned model names and revisions above identify their model cards for review.

Source and procedures: https://github.com/tha-atlas/Stack2Graph. When citing this dataset, include the dataset repository, immutable release revision, source snapshot, export identity, model revisions and the project.

Project citation: Kleybolte, Ventura and Zarcone (2026), Stack2Graph, KG-LLM at LREC26. https://doi.org/10.63317/583q4d3mwbdu.

Downloads last month
123

Collection including Mo7art/Stack2Graph_VD_c