Dataset Viewer
Auto-converted to Parquet Duplicate
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...
921bab26-813e-587e-aca5-93b59aefe98b
264
0
Title: BerkeleyDB Concurrency What's the optimal level of concurrency that the C++ implementation of BerkeleyDB can reasonably support? How many threads can I have hammering away at the DB before throughput starts to suffer because of resource contention? I've read the manual and know how to set the number of l...
127
145
[ "c++" ]
[ "c++", "concurrency", "database-performance", "berkeley-db" ]
{"accepted_answer_id":null,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":"2025-03-17T15:59:47.747000+00:00","creation_date":"2008-08-01T23:28:51.577000+00:00","has_accepted_answer":false,"is_closed":true,"languages":["c++"],"last_activity_date":"2023-06-01T16:20:55.347000+00:00","last_edit_date":"2023-...
[ 0.006755828857421875, 0.0072021484375, -0.017730712890625, 0.0030956268310546875, 0.02142333984375, 0.00269317626953125, -0.022735595703125, 0.01535797119140625, 0.04998779296875, -0.005329132080078125, -0.037872314453125, 0.028564453125, 0.01202392578125, 0.0188140869140625, 0.031677246...
[ 7, 33, 70, 99, 106, 110, 136, 158, 186, 313, 335, 350, 438, 831, 982, 1314, 1657, 1672, 1884, 2076, 2408, 2773, 3714, 3884, 4293, 4295, 5423, 5941, 7077, 8060, 8108, 8305, 8781, 9191, 11249, 12301, 12638, 13267, 13810, 14012, 16065, 1...
[ 0.01220703125, 0.126953125, 0.0169677734375, 0.008056640625, 0.05810546875, 0.0078125, 0.0238037109375, 0.01806640625, 0.00390625, 0.05078125, 0.1162109375, 0.1591796875, 0.0419921875, 0.053955078125, 0.1875, 0.0927734375, 0.0986328125, 0.03271484375, 0.025390625, 0.126953125, ...
7a9204ab-6eb7-5670-ae0d-b65692f446cf
330
0
"Title: Should I use nested classes in this case?\n\nI am working on a collection of classes used fo(...TRUNCATED)
211
236
[ "c++" ]
[ "c++", "class", "oop", "inner-classes" ]
"{\"accepted_answer_id\":332,\"answer_count\":10,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[-0.0005164146423339844,0.0153350830078125,-0.00820159912109375,-0.005855560302734375,0.031860351562(...TRUNCATED)
[7,8,22,23,53,71,87,110,184,313,587,903,959,1202,1631,1632,1884,1957,2856,3835,4127,4488,4527,5201,5(...TRUNCATED)
[0.020263671875,0.1181640625,0.001953125,0.012451171875,0.001953125,0.2021484375,0.0068359375,0.0021(...TRUNCATED)
9002b7fa-da3d-5fa9-b28f-717752fa06cb
601
0
"Title: Robust Random Number Generation\n\nI'm looking for a performant, reasonably robust RNG using(...TRUNCATED)
168
190
[ "c#", "c++" ]
[ "c#", "c++", "random", "mersenne-twister" ]
"{\"accepted_answer_id\":602,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\":(...TRUNCATED)
[0.037506103515625,0.006778717041015625,-0.0251922607421875,0.039886474609375,0.033447265625,-0.0437(...TRUNCATED)
[10,38,86,100,104,110,111,132,306,313,627,707,765,831,959,1015,1295,1515,1650,1884,2452,2789,2806,38(...TRUNCATED)
[0.042236328125,0.00341796875,0.1474609375,0.09423828125,0.0201416015625,0.054443359375,0.0688476562(...TRUNCATED)
29bc316d-adec-596f-b9bf-c4b31eb87b23
609
0
"Title: Build for Windows NT 4.0 using Visual Studio 2005?\n\nAn MFC application that I'm trying to (...TRUNCATED)
121
114
[ "c++" ]
[ "c++", "visual-studio", "compatibility", "windows-nt" ]
"{\"accepted_answer_id\":null,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[0.0028438568115234375,-0.0167999267578125,0.0239410400390625,-0.0008935928344726562,-0.000262498855(...TRUNCATED)
[47,83,100,127,248,261,441,3773,4078,4488,4527,4878,5423,17368,18499,19882,22968,23708,27529,28247,2(...TRUNCATED)
[0.0009765625,0.04052734375,0.0751953125,0.119140625,0.072265625,0.1005859375,0.01318359375,0.072265(...TRUNCATED)
dcffee47-0c5d-5f99-a87a-30d9276335a0
1,041
0
"Title: Easy-to-Use Regular Expression Support in C++?\n\nI'm looking for a robust, easy-to-use, reg(...TRUNCATED)
82
104
[ "c++" ]
[ "c++", "regex", "open-source" ]
"{\"accepted_answer_id\":17198991,\"answer_count\":10,\"chunk_count\":1,\"chunk_index\":0,\"closed_d(...TRUNCATED)
[0.028839111328125,-0.005161285400390625,0.0024471282958984375,0.0003559589385986328,0.0290679931640(...TRUNCATED)
[6,10,18,23,24,42,100,184,188,313,674,748,1062,1830,3181,3355,3773,4032,4171,4527,4935,5201,5608,683(...TRUNCATED)
[0.02978515625,0.044921875,0.004150390625,0.060546875,0.08984375,0.0888671875,0.0634765625,0.0629882(...TRUNCATED)
63a2d735-21e2-5cab-b89f-feddc50135d4
1,069
0
"Title: Heap corruption under Win32; how to locate?\n\nI'm working on a multithreaded C++ applicatio(...TRUNCATED)
907
1,004
[ "c++" ]
[ "c++", "windows", "multithreading", "debugging", "memory" ]
"{\"accepted_answer_id\":1073,\"answer_count\":15,\"chunk_count\":2,\"chunk_index\":0,\"closed_date\(...TRUNCATED)
[0.035491943359375,-0.0037403106689453125,0.0175018310546875,0.002262115478515625,0.0299224853515625(...TRUNCATED)
[4,6,7,8,9,10,11,12,13,14,15,16,18,19,20,23,25,27,33,39,47,53,62,64,67,70,71,74,83,87,90,98,99,100,1(...TRUNCATED)
[0.013671875,0.014892578125,0.0142822265625,0.1171875,0.013671875,0.013671875,0.012939453125,0.01245(...TRUNCATED)
b2d9632d-238a-5632-9d70-560d99268bbe
1,069
1
"Title: Heap corruption under Win32; how to locate?\n\n, Code Generation category in VS 6.0 project (...TRUNCATED)
113
124
[ "c++" ]
[ "c++", "windows", "multithreading", "debugging", "memory" ]
"{\"accepted_answer_id\":1073,\"answer_count\":15,\"chunk_count\":2,\"chunk_index\":1,\"closed_date\(...TRUNCATED)
[0.0218963623046875,-0.0092926025390625,0.0091705322265625,0.00988006591796875,0.020111083984375,0.0(...TRUNCATED)
[7,15,18,23,39,67,70,87,136,438,442,450,496,756,765,959,1181,1379,1529,1830,1836,2234,2289,2301,2389(...TRUNCATED)
[0.017578125,0.004638671875,0.1083984375,0.026123046875,0.09228515625,0.08984375,0.005126953125,0.03(...TRUNCATED)
616cb3e5-26b8-56f3-8702-b8e31321b5e8
1,104
0
"Title: Ensuring that Exceptions are always caught\n\nExceptions in C++ don't need to be caught (no (...TRUNCATED)
80
90
[ "c++" ]
[ "c++", "exception", "try-catch", "exception-safety" ]
"{\"accepted_answer_id\":1109,\"answer_count\":7,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[0.0236663818359375,0.0158538818359375,0.0110015869140625,-0.0013017654418945312,0.040924072265625,-(...TRUNCATED)
[7,16,18,23,47,64,206,313,357,450,621,1257,1340,1733,3871,3917,4460,5062,9790,9969,11343,17368,17514(...TRUNCATED)
[0.068359375,0.00048828125,0.03857421875,0.049072265625,0.02197265625,0.0546875,0.13671875,0.0898437(...TRUNCATED)
9c2329b7-afba-5042-969e-19b21eb740c4
1,241
0
"Title: Asynchronous multi-direction server-client communication over the same open socket?\n\nI hav(...TRUNCATED)
248
272
[ "c#", "c++" ]
[ "c#", "c++", "sockets" ]
"{\"accepted_answer_id\":1275,\"answer_count\":4,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[-0.0322265625,0.00550079345703125,-0.005001068115234375,0.01441192626953125,-0.01476287841796875,-0(...TRUNCATED)
[9,23,70,100,118,221,305,373,645,756,936,1733,1884,2053,2499,2685,3773,3917,4027,4393,4420,4527,4734(...TRUNCATED)
[0.012939453125,0.002685546875,0.000244140625,0.0791015625,0.1181640625,0.0869140625,0.1337890625,0.(...TRUNCATED)
End of preview. Expand in Data Studio

Stack2Graph vector database: c++

This release contains 943328 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
159

Collection including Mo7art/Stack2Graph_VD_cpp