Datasets:
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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
d8835162-1448-5135-8d0b-ecb3d20c74e7 | 1,713,214 | 0 | Title: How to use C++ in Go
In the new Go language, how do I call C++ code? In other words, how can I wrap my C++ classes and use them in Go?
| 44 | 43 | [
"c++",
"go"
] | [
"c++",
"wrapper",
"go"
] | {"accepted_answer_id":1721230,"answer_count":13,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2009-11-11T05:25:13.433000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c++","go"],"last_activity_date":"2024-11-12T19:37:39.270000+00:00","last_edit_date":"2019-11-22T11:40:26.717000... | [
-0.006275177001953125,
-0.00431060791015625,
0.0193939208984375,
-0.01142120361328125,
0.036865234375,
-0.028900146484375,
0.0074920654296875,
0.01385498046875,
-0.012847900390625,
0.000995635986328125,
-0.012725830078125,
-0.0029296875,
0.0115966796875,
-0.0051422119140625,
0.0385437011... | [
23,
47,
54,
87,
136,
313,
360,
759,
831,
2016,
2856,
3525,
3642,
4527,
11249,
11782,
18151,
37223,
46876,
48962,
61112,
137565
] | [
0.1240234375,
0.0498046875,
0.0179443359375,
0.060546875,
0.0189208984375,
0.1337890625,
0.013427734375,
0.0146484375,
0.0272216796875,
0.2265625,
0.007080078125,
0.07861328125,
0.076171875,
0.1416015625,
0.08837890625,
0.1552734375,
0.23046875,
0.326171875,
0.154296875,
0.0223... |
d59ee396-4f83-57ac-a761-f7c0ab649108 | 1,713,907 | 0 | Title: Is it possible to do a call-cc in Go?
Is it possible to do a Call-with-current-continuation in Google's new Language Go?
| 35 | 38 | [
"go"
] | [
"go",
"callcc"
] | {"accepted_answer_id":1740728,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2009-11-11T08:57:06.843000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["go"],"last_activity_date":"2017-07-08T18:50:04.767000+00:00","last_edit_date":"2017-07-08T18:50:04.767000+00:00"... | [
0.01200103759765625,
-0.0031642913818359375,
0.01318359375,
-0.008575439453125,
0.01507568359375,
-0.03594970703125,
-0.023529052734375,
0.027435302734375,
-0.01064300537109375,
0.005764007568359375,
-0.0157318115234375,
-0.00928497314453125,
0.0253143310546875,
-0.00597381591796875,
0.0... | [
9,
10,
23,
54,
442,
1815,
2016,
2071,
2320,
3525,
7722,
10060,
11782,
26265,
48962,
76228,
83658,
133891,
163812
] | [
0.0299072265625,
0.01708984375,
0.08544921875,
0.0908203125,
0.0322265625,
0.177734375,
0.2236328125,
0.028076171875,
0.0830078125,
0.048828125,
0.1572265625,
0.208984375,
0.19921875,
0.208984375,
0.0419921875,
0.1279296875,
0.1865234375,
0.1884765625,
0.20703125
] |
7ba4238b-2d38-5065-8b9c-c0c1222aed8c | 1,714,004 | 0 | "Title: Does Google's go-language address the problems in Paul's Graham's post 'Why Arc isn't Especi(...TRUNCATED) | 57 | 70 | [
"go"
] | [
"go",
"arc-lisp"
] | "{\"accepted_answer_id\":1723377,\"answer_count\":3,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED) | [0.009490966796875,0.0142059326171875,0.01248931884765625,-0.00756072998046875,0.02093505859375,-0.0(...TRUNCATED) | [7,9,18,71,538,678,738,1305,1815,2016,3066,10208,29823,44402,46876,48962,51210,56112,60975,101790,13(...TRUNCATED) | [0.042724609375,0.046875,0.05615234375,0.036376953125,0.0245361328125,0.0859375,0.1884765625,0.07226(...TRUNCATED) |
fbc0cad2-4dd9-57c5-9597-3dcccdef8fc5 | 1,714,136 | 0 | "Title: Can you detect how many threads a given number of goroutines will create?\n\nI understand th(...TRUNCATED) | 188 | 206 | [
"go"
] | [
"go",
"goroutine"
] | "{\"accepted_answer_id\":1726182,\"answer_count\":3,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED) | [0.007373809814453125,0.025299072265625,-0.01739501953125,-0.0177459716796875,0.011688232421875,-0.0(...TRUNCATED) | [7,9,17,18,47,64,75,81,106,186,188,334,425,501,653,670,984,997,1221,1733,2609,2806,3642,3714,3917,41(...TRUNCATED) | [0.0966796875,0.038330078125,0.00927734375,0.00830078125,0.0439453125,0.0966796875,0.08642578125,0.1(...TRUNCATED) |
53261697-9d41-580d-a3de-670cdd91a161 | 1,714,236 | 0 | "Title: getopt-like behavior in Go\n\nHow do I nicely parse a list of program parameters and automat(...TRUNCATED) | 50 | 67 | [
"go"
] | [
"go"
] | "{\"accepted_answer_id\":1715119,\"answer_count\":9,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED) | [0.0016756057739257812,-0.0192718505859375,-0.0037994384765625,-0.00189971923828125,-0.0157928466796(...TRUNCATED) | [9,13,18,23,64,71,87,111,136,184,238,366,538,919,1528,2016,2046,2055,2146,5062,5303,11408,18749,2626(...TRUNCATED) | [0.083984375,0.048583984375,0.154296875,0.07177734375,0.002685546875,0.0751953125,0.00732421875,0.00(...TRUNCATED) |
b83ba357-9485-571b-a1e4-ff31e1af2196 | 1,714,584 | 0 | "Title: How can I compile a Go program?\n\nI got Go to compile: \n \n\n0 known bugs; 0 unexpected bu(...TRUNCATED) | 249 | 260 | [
"go"
] | [
"go"
] | "{\"accepted_answer_id\":1714731,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED) | [-0.0028095245361328125,-0.008087158203125,-0.005084991455078125,-0.013916015625,0.00547027587890625(...TRUNCATED) | [4,10,18,39,47,64,87,98,110,127,132,238,304,363,382,420,436,442,509,519,525,670,738,757,831,841,959,(...TRUNCATED) | [0.00732421875,0.049072265625,0.1142578125,0.04150390625,0.0576171875,0.1572265625,0.0625,0.02392578(...TRUNCATED) |
e246e0a7-b331-5456-a6c7-0dbc0e282fc6 | 1,715,761 | 0 | "Title: How do I get the command line arguments in Go without the \"flags\" package?\n\nI'm trying t(...TRUNCATED) | 104 | 115 | [
"go"
] | [
"command-line",
"go"
] | "{\"accepted_answer_id\":1715921,\"answer_count\":2,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED) | [-0.0211029052734375,-0.018310546875,-0.0211029052734375,-0.00782012939453125,-0.0177154541015625,-0(...TRUNCATED) | [7,9,11,18,23,47,54,70,87,100,188,238,366,724,756,1528,2016,2046,2189,2256,2301,2773,3444,3789,3917,(...TRUNCATED) | [0.1015625,0.0223388671875,0.048583984375,0.0478515625,0.06103515625,0.1435546875,0.0291748046875,0.(...TRUNCATED) |
acdee963-361b-5c83-a515-b74aa8970990 | 1,715,966 | 0 | "Title: Go network programming libs\n\nI've decided to rewrite most of my distributed server program(...TRUNCATED) | 76 | 76 | [
"go"
] | [
"network-programming",
"go"
] | "{\"accepted_answer_id\":1715983,\"answer_count\":2,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED) | [-0.007518768310546875,-0.0120086669921875,-0.02069091796875,-0.0187835693359375,0.0199737548828125,(...TRUNCATED) | [7,10,17,23,47,133,150,163,384,434,449,456,501,707,903,2016,2021,2684,3642,3674,3911,4171,4537,4904,(...TRUNCATED) | [0.09375,0.00634765625,0.0107421875,0.1083984375,0.031494140625,0.03125,0.07373046875,0.000244140625(...TRUNCATED) |
3437faad-8f0e-5744-8057-440b4285b1d9 | 1,716,188 | 0 | "Title: Is there a comparison between Scala and Google 'Go' language (feature by feature)?\n\nI wond(...TRUNCATED) | 51 | 60 | [
"go",
"scala"
] | [
"scala",
"programming-languages",
"go",
"language-comparisons"
] | "{\"accepted_answer_id\":1716241,\"answer_count\":1,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED) | [0.0213470458984375,-0.0003769397735595703,-0.01441192626953125,0.0156707763671875,0.032073974609375(...TRUNCATED) | [10,11,136,390,831,982,1815,3408,17721,17903,27489,32195,42486,46876,48962,60213,88981,108636,115774(...TRUNCATED) | [0.0478515625,0.2021484375,0.08935546875,0.044921875,0.00830078125,0.048828125,0.2119140625,0.023071(...TRUNCATED) |
d0c08963-7e4c-526b-9579-01aefbe56516 | 1,717,652 | 0 | "Title: Can Go compiler be installed on Windows?\n\nI've been looking on golang.org for a Windows co(...TRUNCATED) | 103 | 109 | [
"go"
] | [
"windows",
"go"
] | "{\"accepted_answer_id\":null,\"answer_count\":9,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED) | [-0.01070404052734375,-0.00414276123046875,0.00024378299713134766,-0.0034923553466796875,0.018859863(...TRUNCATED) | [10,18,98,100,136,186,297,442,449,738,831,1193,1478,1556,1815,1957,2016,2174,2394,2789,3066,3714,377(...TRUNCATED) | [0.0673828125,0.007080078125,0.1533203125,0.087890625,0.03955078125,0.09375,0.1220703125,0.092773437(...TRUNCATED) |
Stack2Graph vector database: go
This release contains 82044 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
- 54