Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
36
36
question_id
int64
4
9.09M
chunk_index
int32
0
30
embedding_text
stringlengths
41
8.67k
dense_tokens
int32
10
1.02k
sparse_tokens
int32
11
1.02k
languages
listlengths
1
5
tags
listlengths
1
5
payload_json
stringlengths
408
563
dense
list
sparse_indices
listlengths
8
467
sparse_values
listlengths
8
467
18528ff7-95b6-5997-a445-d7073353298b
4
0
Title: How to convert Decimal to Double in C#? I want to assign the decimal variable trans to the double variable this.Opacity. decimal trans = trackBar1.Value / 5000; this.Opacity = trans; When I build the app it gives the following error: Cannot implicitly convert type decimal to double
72
76
[ "c#" ]
[ "c#", "floating-point", "type-conversion", "double", "decimal" ]
{"accepted_answer_id":7,"answer_count":13,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-07-31T21:42:52.667000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#"],"last_activity_date":"2026-01-05T07:57:44.773000+00:00","last_edit_date":"2026-01-05T07:57:44.773000+00:00","que...
[ 0.03302001953125, -0.00067138671875, -0.00733184814453125, 0.0011053085327148438, -0.00433349609375, -0.0201873779296875, -0.0166168212890625, 0.022918701171875, -0.01092529296875, 0.018280029296875, 0.0003635883331298828, -0.01216888427734375, 0.0092010498046875, -0.04559326171875, 0.01...
[ 11, 23, 47, 248, 313, 418, 856, 903, 2203, 2749, 3444, 3900, 4027, 4171, 4904, 10644, 10869, 11249, 18499, 19692, 25267, 25632, 28560, 32380, 39029, 41929, 45367, 48962, 49132, 50770, 60089, 76199, 77336, 95486, 96760, 107172, 165164 ]
[ 0.1357421875, 0.039306640625, 0.125, 0.012939453125, 0.0556640625, 0.006103515625, 0.0284423828125, 0.109375, 0.006103515625, 0.189453125, 0.049072265625, 0.1923828125, 0.1220703125, 0.0283203125, 0.1982421875, 0.14453125, 0.05615234375, 0.0537109375, 0.1669921875, 0.2060546875...
5ae38e38-6c50-5f2d-8f77-60d995fe2aba
9
0
Title: How do I calculate someone's age based on a DateTime type birthday? Given a DateTime representing a person's birthday, how do I calculate their age in years?
36
44
[ ".net", "c#" ]
[ "c#", ".net", "datetime" ]
{"accepted_answer_id":1404,"answer_count":76,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-07-31T23:40:59.743000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","c#"],"last_activity_date":"2025-05-01T16:40:42.650000+00:00","last_edit_date":"2022-07-27T22:34:36.320000+0...
[ 0.042633056640625, 0.016937255859375, -0.0179901123046875, -0.031982421875, 0.022735595703125, -0.00669097900390625, -0.0079345703125, 0.00952911376953125, 0.004795074462890625, -0.00899505615234375, -0.01751708984375, -0.0003921985626220703, 0.0092926025390625, -0.0230865478515625, -0.0...
[ 23, 54, 67, 87, 2363, 3445, 3642, 5369, 10644, 11249, 22008, 25512, 32070, 33636, 35509, 48962, 70059, 74481, 101207 ]
[ 0.03857421875, 0.007080078125, 0.08935546875, 0.018310546875, 0.0419921875, 0.095703125, 0.03759765625, 0.189453125, 0.125, 0.04052734375, 0.060302734375, 0.16015625, 0.2216796875, 0.1455078125, 0.055908203125, 0.037109375, 0.2255859375, 0.185546875, 0.2119140625 ]
27d28f39-8659-5a47-b7cf-6ce58494b70b
11
0
"Title: Calculate relative time in C#\n\nGiven a specific DateTime value, how do I display relative (...TRUNCATED)
38
37
[ "c#" ]
[ "c#", "datetime", "time", "relative-time-span" ]
"{\"accepted_answer_id\":1248,\"answer_count\":42,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED)
[0.0186614990234375,-0.01544952392578125,-0.0063323974609375,0.006847381591796875,0.034912109375,0.0(...TRUNCATED)
[10,116,138,313,1733,1884,2182,3642,4904,6650,13312,21974,25512,29458,31150,34292,35845,44116,48962,(...TRUNCATED)
[0.013671875,0.099609375,0.12890625,0.0439453125,0.228515625,0.0157470703125,0.054931640625,0.061035(...TRUNCATED)
92d5326a-b086-5604-bd9f-232f448c8e10
16
0
"Title: Filling a DataSet or a DataTable from a LINQ query result set\n\nHow do you expose a LINQ qu(...TRUNCATED)
237
292
[ ".net", "c#" ]
[ "c#", "linq", "web-services", ".net-3.5" ]
"{\"accepted_answer_id\":12446,\"answer_count\":7,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED)
[0.0,-0.0114593505859375,0.0156402587890625,0.014862060546875,0.006595611572265625,-0.02471923828125(...TRUNCATED)
[18,19,41,87,126,237,238,294,618,707,711,831,959,1294,1295,1418,1467,1829,2606,2646,2737,2886,3568,3(...TRUNCATED)
[0.0283203125,0.01318359375,0.1376953125,0.005615234375,0.1611328125,0.05712890625,0.0986328125,0.16(...TRUNCATED)
1f6b0098-20d3-52c1-8a90-45b90ef74bb6
39
0
"Title: Reliable timer in a console application\n\nI am aware that in .NET there are three timer typ(...TRUNCATED)
160
167
[ ".net", "c#", "vb.net" ]
[ "c#", ".net", "vb.net", "timer" ]
"{\"accepted_answer_id\":45,\"answer_count\":3,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\":n(...TRUNCATED)
[0.0200042724609375,0.022369384765625,-0.0275726318359375,0.02935791015625,0.0275726318359375,-0.027(...TRUNCATED)
[5,23,56,70,83,150,297,621,738,831,853,959,1053,2594,2886,3789,3871,3884,4488,5201,5773,5792,6226,98(...TRUNCATED)
[0.0152587890625,0.0169677734375,0.146484375,0.005126953125,0.005615234375,0.130859375,0.1064453125,(...TRUNCATED)
77ac00c4-46b0-5e9d-9cb0-b9e4376faf27
59
0
"Title: How do I get a distinct, ordered list of names from a DataTable using LINQ?\n\nI have a Data(...TRUNCATED)
96
121
[ ".net", "c#" ]
[ "c#", "linq", ".net-3.5" ]
"{\"accepted_answer_id\":43110,\"answer_count\":7,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED)
[0.0341796875,-0.01242828369140625,-0.004810333251953125,-0.0106353759765625,0.024749755859375,-0.01(...TRUNCATED)
[7,13,22,23,41,111,285,297,316,390,434,618,959,1272,1294,1295,2046,2053,2203,2737,2886,3365,3444,356(...TRUNCATED)
[0.04541015625,0.0615234375,0.0247802734375,0.014892578125,0.08203125,0.0145263671875,0.19140625,0.0(...TRUNCATED)
abf2356b-efc9-5904-a21d-0fc01ee65b2b
109
0
"Title: Decoding T-SQL CAST in C#/VB.NET\n\nRecently our site has been deluged with the resurgence o(...TRUNCATED)
733
896
[ "c#", "sql", "vb.net" ]
[ "c#", "sql", "vb.net", "ascii", "hex" ]
"{\"accepted_answer_id\":2585,\"answer_count\":2,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[-0.0013647079467773438,-0.0172119140625,0.0011205673217773438,-0.0007009506225585938,0.018035888671(...TRUNCATED)
[4,5,6,7,8,9,10,13,15,16,18,20,22,23,25,27,38,39,47,53,54,58,64,67,70,71,74,83,87,91,98,99,100,110,1(...TRUNCATED)
[0.031982421875,0.012939453125,0.01318359375,0.011962890625,0.16015625,0.115234375,0.012451171875,0.(...TRUNCATED)
76ce021f-323c-57f6-8276-fe97175be63f
145
0
"Title: Compressing / Decompressing Folders & Files\n\nDoes anyone know of a good way to compress or(...TRUNCATED)
43
46
[ ".net", "c#" ]
[ "c#", ".net", "file", "compression" ]
"{\"accepted_answer_id\":null,\"answer_count\":9,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[0.0134124755859375,0.003753662109375,-0.0134124755859375,0.0002856254577636719,0.032989501953125,-0(...TRUNCATED)
[7,8,10,23,32,47,111,136,214,248,262,277,313,375,619,707,3714,3917,4127,4904,11856,13648,14202,21334(...TRUNCATED)
[0.00927734375,0.1826171875,0.016357421875,0.053955078125,0.0068359375,0.0654296875,0.00830078125,0.(...TRUNCATED)
04776580-80d1-5cf9-9d49-a136ff7694cc
174
0
"Title: How do I print an HTML document from a web service?\n\nI want to print HTML from a C# web se(...TRUNCATED)
302
356
[ "c#", "html" ]
[ "c#", "html", "web-services", "printing" ]
"{\"accepted_answer_id\":null,\"answer_count\":6,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[-0.0081634521484375,-0.0309906005859375,0.0092315673828125,-0.0071868896484375,-0.0253143310546875,(...TRUNCATED)
[18,47,54,87,132,214,313,474,478,479,645,707,959,1181,1234,1294,1295,1467,1916,2174,2292,2448,2816,3(...TRUNCATED)
[0.0145263671875,0.009765625,0.0625,0.030517578125,0.0439453125,0.138671875,0.00439453125,0.00903320(...TRUNCATED)
a278a846-95ad-5c00-b57d-9a0196c5270f
192
0
"Title: Floating Point Number parsing: Is there a Catch All algorithm?\n\nOne of the fun parts of mu(...TRUNCATED)
271
272
[ ".net", "c#" ]
[ "c#", ".net", "asp.net", "internationalization", "globalization" ]
"{\"accepted_answer_id\":258,\"answer_count\":4,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\":(...TRUNCATED)
[0.0175323486328125,-0.0105133056640625,-0.0196990966796875,-0.0219879150390625,0.0103302001953125,-(...TRUNCATED)
[5,7,10,22,56,116,138,184,206,209,237,351,366,449,669,748,765,927,1179,1238,1294,1556,1632,1809,2071(...TRUNCATED)
[0.04541015625,0.0152587890625,0.03515625,0.0303955078125,0.05810546875,0.091796875,0.087890625,0.10(...TRUNCATED)
End of preview. Expand in Data Studio

Stack2Graph vector database: c#

This release contains 1815077 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
348

Collection including Mo7art/Stack2Graph_VD_csharp