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
dfa8f230-c9e2-58cf-b19f-cf2bc0a617c6
2,366
0
Title: Can anyone explain Monads? Possible Duplicate: What is a monad? I think I understand what 'Maybe Monads' are, but I'm not sure about the other types.
44
46
[ "haskell" ]
[ "haskell", "functional-programming", "monads", "glossary" ]
{"accepted_answer_id":null,"answer_count":0,"chunk_count":1,"chunk_index":0,"closed_date":"2011-11-08T10:05:31.097000+00:00","creation_date":"2008-08-05T14:16:02.720000+00:00","has_accepted_answer":false,"is_closed":true,"languages":["haskell"],"last_activity_date":"2011-11-07T15:57:21.780000+00:00","last_edit_date":"2...
[ 0.01274871826171875, 0.0023212432861328125, -0.02032470703125, 0.0043182373046875, 0.0284423828125, -0.02337646484375, -0.006580352783203125, 0.004642486572265625, 0.0009622573852539062, 0.0279693603515625, -0.041839599609375, 0.01727294921875, -0.0199737548828125, -0.02056884765625, 0.0...
[ 10, 83, 372, 621, 712, 2367, 2667, 3789, 4171, 4865, 5351, 6468, 9077, 28219, 35672, 52721, 52895, 60331, 73342, 82419, 115861 ]
[ 0.08203125, 0.0888671875, 0.1376953125, 0.0830078125, 0.2578125, 0.046630859375, 0.1904296875, 0.03369140625, 0.017822265625, 0.0947265625, 0.030517578125, 0.251953125, 0.03662109375, 0.1083984375, 0.045166015625, 0.02880859375, 0.1650390625, 0.232421875, 0.169921875, 0.1347656...
7eb8551d-3957-5d76-b799-16f5b8d17ccb
16,770
0
Title: Haskell's algebraic data types I'm trying to fully understand all of Haskell's concepts. In what ways are algebraic data types similar to generic types, e.g., in C# and Java? And how are they different? What's so algebraic about them anyway? I'm familiar with universal algebra and its rings and fields, but...
88
108
[ "haskell" ]
[ "data-structures", "haskell", "types", "functional-programming", "algebraic-data-types" ]
{"accepted_answer_id":16810,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-19T19:18:41.720000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["haskell"],"last_activity_date":"2017-06-10T23:13:40.770000+00:00","last_edit_date":"2011-05-06T21:21:39.890000+00:...
[ 0.02374267578125, 0.0079345703125, -0.01474761962890625, 0.0007309913635253906, 0.01010894775390625, 0.00634765625, -0.015869140625, 0.02703857421875, 0.01416015625, 0.0167999267578125, -0.028564453125, 0.034088134765625, -0.01087188720703125, 0.0006389617919921875, 0.0294952392578125, ...
[ 25, 47, 136, 144, 221, 307, 429, 1672, 1771, 2053, 2844, 2856, 3642, 4488, 4904, 6261, 6528, 12921, 16031, 20625, 21373, 23755, 28219, 31577, 32813, 41925, 44457, 46828, 48322, 48962, 52895, 89554, 109954, 142508, 189534 ]
[ 0.002685546875, 0.0194091796875, 0.043701171875, 0.042724609375, 0.048095703125, 0.00341796875, 0.10400390625, 0.005126953125, 0.09716796875, 0.1318359375, 0.1533203125, 0.0277099609375, 0.0179443359375, 0.1083984375, 0.0986328125, 0.00634765625, 0.03662109375, 0.1142578125, 0.05...
5f0f099d-78c9-5935-af5b-bc24dff14b77
16,918
0
"Title: Beginners Guide to Haskell?\n\nI've been looking for a decent guide to Haskell for some time(...TRUNCATED)
131
146
[ "haskell" ]
[ "haskell", "functional-programming" ]
"{\"accepted_answer_id\":16951,\"answer_count\":16,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[0.0015306472778320312,-0.00460052490234375,-0.0206298828125,-0.009429931640625,0.0201568603515625,-(...TRUNCATED)
[8,10,32,47,70,100,111,164,284,509,528,678,831,959,1314,1672,1733,2242,3060,3890,4163,4420,4842,4927(...TRUNCATED)
[0.034912109375,0.05078125,0.055419921875,0.146484375,0.005126953125,0.00341796875,0.015380859375,0.(...TRUNCATED)
7738c75f-4b09-5a1f-8569-0dee350100a9
44,961
0
"Title: What are the primary differences between Haskell and F#?\n\nI've searched on the Internet fo(...TRUNCATED)
53
62
[ "f#", "haskell" ]
[ "haskell", "f#", "functional-programming", "language-comparisons" ]
"{\"accepted_answer_id\":44995,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED)
[0.0148773193359375,-0.021636962890625,-0.040924072265625,0.0115814208984375,0.039031982421875,-0.00(...TRUNCATED)
[7,70,136,563,645,1632,2806,3444,3789,4865,4904,15400,17721,20625,33938,44836,55076,60212,142508,158(...TRUNCATED)
[0.076171875,0.028076171875,0.1005859375,0.140625,0.032470703125,0.019775390625,0.019287109375,0.025(...TRUNCATED)
5954a508-b740-5e6f-bf09-f223a42a53de
44,965
0
"Title: What is a monad?\n\nHaving briefly looked at Haskell recently, what would be a brief, succin(...TRUNCATED)
56
65
[ "haskell" ]
[ "haskell", "functional-programming", "monads", "terminology" ]
"{\"accepted_answer_id\":null,\"answer_count\":48,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED)
[0.021820068359375,-0.00226593017578125,-0.01514434814453125,0.012939453125,0.031707763671875,-0.024(...TRUNCATED)
[7,10,21,83,538,712,2367,2667,2684,2806,4865,6333,20625,22443,28236,36880,41324,48962,54811,59335,85(...TRUNCATED)
[0.023193359375,0.0771484375,0.01123046875,0.1123046875,0.036865234375,0.27734375,0.076171875,0.1972(...TRUNCATED)
60457748-8dc2-5996-904d-74f89184ca83
48,905
0
"Title: Fundeps and GADTs: When is type checking decidable?\n\nI was reading a research paper about (...TRUNCATED)
98
104
[ "haskell" ]
[ "haskell", "type-inference", "type-systems", "gadt" ]
"{\"accepted_answer_id\":125852,\"answer_count\":2,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[0.03607177734375,0.0019006729125976562,-0.003948211669921875,0.0055084228515625,0.0225067138671875,(...TRUNCATED)
[7,8,56,136,572,959,2661,3229,4517,10644,11343,12601,12765,14847,15869,20625,21373,23749,24750,29479(...TRUNCATED)
[0.002197265625,0.07421875,0.068359375,0.013427734375,0.091796875,0.04150390625,0.1162109375,0.00781(...TRUNCATED)
1baf9695-2442-5ea9-b380-90424f0e7f44
51,022
0
"Title: What is the simplest way to write web apps in Haskell?\n\nI would like to use Haskell more f(...TRUNCATED)
92
98
[ "haskell" ]
[ "web-applications", "haskell" ]
"{\"accepted_answer_id\":null,\"answer_count\":8,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[0.0093994140625,-0.0258941650390625,-0.03216552734375,0.00165557861328125,0.034759521484375,-0.0228(...TRUNCATED)
[18,23,42,70,100,442,765,1284,1286,1467,1884,1902,2046,2685,2806,3917,4358,4527,5351,5773,6183,6423,(...TRUNCATED)
[0.08203125,0.03564453125,0.01611328125,0.003662109375,0.005615234375,0.001953125,0.00390625,0.00390(...TRUNCATED)
7249717b-6ae1-5fd0-bfb5-4eee6d895f1a
51,028
0
"Title: Create background process in windows without visible console window\n\nHow do I create a bac(...TRUNCATED)
83
87
[ "haskell" ]
[ "windows", "haskell" ]
"{\"accepted_answer_id\":null,\"answer_count\":4,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[-0.008941650390625,-0.00876617431640625,-0.0260009765625,0.0172882080078125,0.035308837890625,-0.04(...TRUNCATED)
[7,10,23,47,98,111,678,756,903,1257,1528,1733,1884,2046,2663,9433,9803,11675,11907,14922,15490,20625(...TRUNCATED)
[0.007080078125,0.000244140625,0.04931640625,0.0264892578125,0.038330078125,0.076171875,0.0649414062(...TRUNCATED)
4d06f719-6f6a-53e4-91a4-d9f28477b081
59,711
0
"Title: Haskell list difference operator in F#\n\nIs there an equivalent operator to Haskell's list (...TRUNCATED)
27
30
[ "f#", "haskell" ]
[ "haskell", "f#", "functional-programming", "operators" ]
"{\"accepted_answer_id\":12435807,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_da(...TRUNCATED)
[0.00850677490234375,-0.0306854248046875,-0.0185546875,0.0063323974609375,0.03924560546875,-0.014869(...TRUNCATED)
[ 23, 47, 142, 563, 2071, 2685, 4904, 5303, 18991, 20625, 39933, 48962, 60212, 142508, 183234 ]
[0.0869140625,0.04736328125,0.03564453125,0.1123046875,0.0224609375,0.038818359375,0.1845703125,0.17(...TRUNCATED)
5765c21f-1e31-525a-913f-616ea7fb1fb7
60,569
0
"Title: How do I create an in-memory handle in Haskell?\n\nI want something that looks like a file h(...TRUNCATED)
46
56
[ "haskell" ]
[ "file-io", "haskell", "io" ]
"{\"accepted_answer_id\":67306,\"answer_count\":6,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED)
[0.005096435546875,-0.0174102783203125,-0.014373779296875,0.019561767578125,0.003055572509765625,-0.(...TRUNCATED)
[23,47,53,54,64,87,100,142,373,456,670,903,1284,1884,3444,4420,4527,6183,9844,11249,11435,18234,2062(...TRUNCATED)
[0.1650390625,0.035400390625,0.07861328125,0.006103515625,0.1474609375,0.011962890625,0.010498046875(...TRUNCATED)
End of preview. Expand in Data Studio

Stack2Graph vector database: haskell

This release contains 54778 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
41

Collection including Mo7art/Stack2Graph_VD_haskell