Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
36
36
question_id
int64
6.86k
80M
chunk_index
int32
0
22
embedding_text
stringlengths
54
8.26k
dense_tokens
int32
14
1.02k
sparse_tokens
int32
14
1.02k
languages
listlengths
1
5
tags
listlengths
1
5
payload_json
stringlengths
405
549
dense
list
sparse_indices
listlengths
9
446
sparse_values
listlengths
9
446
962ac9ed-ab13-55b8-93b4-3ba6fa349b8b
6,859
0
Title: Developing addins for World of Warcraft - Getting started? As a long time World of Warcraft player, and a passionate developer I have decided that I would like to combine the two and set about developing some addins. Not only to improve my gameplay experience but as a great opportunity to learn something new. ...
140
144
[ "lua" ]
[ "plugins", "lua", "add-on", "world-of-warcraft" ]
{"accepted_answer_id":6863,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":"2016-04-11T23:12:53.557000+00:00","creation_date":"2008-08-09T17:51:09.313000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["lua"],"last_activity_date":"2014-10-07T12:46:53.220000+00:00","last_edit_date":"2013-0...
[ 0.0152740478515625, 0.0204010009765625, -0.0032825469970703125, -0.0127105712890625, 0.046295166015625, -0.046783447265625, 0.00438690185546875, 0.0270843505859375, -0.01116180419921875, -0.0099029541015625, -0.0247039794921875, 0.01313018798828125, 0.04248046875, 0.00701141357421875, 0....
[ 54, 100, 111, 214, 738, 1632, 1672, 1733, 1810, 1884, 2291, 3060, 3525, 3642, 4527, 4989, 5161, 5423, 5425, 5550, 6626, 6661, 6782, 7228, 11249, 11522, 15190, 16912, 16981, 19882, 21407, 26859, 30698, 33976, 35773, 36096, 36497, 36802, 4354...
[ 0.0220947265625, 0.06298828125, 0.0830078125, 0.04345703125, 0.0087890625, 0.1259765625, 0.06298828125, 0.10302734375, 0.154296875, 0.0230712890625, 0.158203125, 0.01123046875, 0.03076171875, 0.0272216796875, 0.05615234375, 0.043212890625, 0.060302734375, 0.01953125, 0.2060546875...
4b61b187-a48c-5360-ba04-76d464af1dfe
71,239
0
Title: Is there a way to use Lua on BREW 3.0 platform? It looks like BREW 4.0 will have Lua included. But is it possible to use Lua on older BREW 3.0 (or even BREW 2.0)?
59
51
[ "lua" ]
[ "mobile", "lua", "brew-framework" ]
{"accepted_answer_id":null,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-09-16T11:04:30.143000+00:00","has_accepted_answer":false,"is_closed":false,"languages":["lua"],"last_activity_date":"2008-10-02T14:40:32.060000+00:00","last_edit_date":null,"question_id":71239,"score":4,...
[ 0.005077362060546875, -0.005107879638671875, 0.007213592529296875, -0.031585693359375, 0.033721923828125, -0.0308837890625, 0.00015211105346679688, 0.01092529296875, -0.0214996337890625, -0.01555633544921875, -0.03253173828125, 0.03302001953125, 0.052490234375, 0.0094451904296875, 0.0055...
[ 10, 11, 47, 83, 98, 442, 765, 1884, 2071, 2685, 3350, 3917, 4527, 7722, 13651, 16655, 17596, 23856, 33342, 40401, 48962, 99201, 111351, 114210 ]
[ 0.003173828125, 0.224609375, 0.020751953125, 0.0208740234375, 0.0712890625, 0.00830078125, 0.01708984375, 0.00048828125, 0.0164794921875, 0.005859375, 0.216796875, 0.07080078125, 0.171875, 0.1328125, 0.154296875, 0.1474609375, 0.25390625, 0.1455078125, 0.055419921875, 0.1972656...
116974ab-7bab-5250-8442-24a4c07d293f
87,889
0
"Title: Game Engine Scripting Languages\n\nI am trying to build out a useful 3d game engine out of t(...TRUNCATED)
130
138
[ "lua" ]
[ "lua", "scripting-language", "ogre3d", "squirrel" ]
"{\"accepted_answer_id\":88183,\"answer_count\":9,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED)
[0.00909423828125,0.01076507568359375,-0.0165252685546875,-0.016998291015625,0.02996826171875,-0.058(...TRUNCATED)
[7,28,42,70,71,107,136,138,159,186,214,339,363,375,450,566,707,756,931,1257,1286,1632,1810,1902,2174(...TRUNCATED)
[0.0703125,0.009033203125,0.0732421875,0.030517578125,0.078125,0.13671875,0.1083984375,0.1044921875,(...TRUNCATED)
59f5baa8-376d-59aa-97cf-8ff9ba00a19c
103,347
0
"Title: How do you glue Lua to C++ code?\n\nDo you use Luabind, toLua++, or some other library (if s(...TRUNCATED)
54
61
[ "c++", "lua" ]
[ "c++", "scripting", "lua" ]
"{\"accepted_answer_id\":null,\"answer_count\":4,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[0.017608642578125,-0.01568603515625,0.017730712890625,-0.00862884521484375,0.037628173828125,-0.038(...TRUNCATED)
[ 7, 11, 13, 47, 158, 313, 351, 502, 756, 1294, 3350, 4527, 11249, 18151, 18743, 21086, 35773, 37223, 51515, 89817 ]
[0.00927734375,0.1650390625,0.0966796875,0.1513671875,0.07373046875,0.041015625,0.0284423828125,0.06(...TRUNCATED)
cd8211f5-fa57-5e70-8372-de3b5a8ed549
124,455
0
"Title: How do you pre-size an array in Lua?\n\nI've got a Lua program that seems to be slower than (...TRUNCATED)
194
207
[ "lua" ]
[ "optimization", "lua" ]
"{\"accepted_answer_id\":null,\"answer_count\":6,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[0.0049896240234375,-0.0036602020263671875,-0.0231781005859375,0.00714111328125,0.00753021240234375,(...TRUNCATED)
[5,8,9,11,13,19,23,53,56,144,479,1379,1528,1632,1733,1815,1892,3035,3350,3509,3525,3642,3714,3917,52(...TRUNCATED)
[0.0147705078125,0.0751953125,0.10546875,0.1611328125,0.042724609375,0.1611328125,0.0172119140625,0.(...TRUNCATED)
296bfd04-7baf-5802-9219-b47ac34871c9
129,877
0
"Title: How do I write a generic memoize function?\n\nI'm writing a function to find triangle number(...TRUNCATED)
112
114
[ "lua" ]
[ "optimization", "recursion", "lua", "closures", "memoization" ]
"{\"accepted_answer_id\":141689,\"answer_count\":15,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED)
[0.0352783203125,-0.01210784912109375,-0.0245819091796875,-0.0011167526245117188,0.0418701171875,-0.(...TRUNCATED)
[4,47,54,83,87,163,425,432,442,538,645,757,805,1022,1221,1328,1927,2174,2499,3444,3564,3917,3996,511(...TRUNCATED)
[0.0240478515625,0.0087890625,0.03466796875,0.009765625,0.031005859375,0.1552734375,0.0673828125,0.1(...TRUNCATED)
faead0ca-f287-53f0-9d05-d45fca0d7676
132,397
0
"Title: Get back the output of os.execute in Lua\n\nWhen I do an \"os.execute\" in Lua, a console qu(...TRUNCATED)
57
67
[ "lua" ]
[ "lua" ]
"{\"accepted_answer_id\":143265,\"answer_count\":3,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[-0.00043702125549316406,-0.020263671875,-0.0208587646484375,-0.01351165771484375,0.0203857421875,-0(...TRUNCATED)
[5,11,23,54,70,111,232,362,1257,3350,3917,4420,4734,5570,7426,7565,10484,17368,20779,20903,20949,357(...TRUNCATED)
[0.051513671875,0.1748046875,0.033203125,0.0107421875,0.061279296875,0.01318359375,0.15234375,0.1240(...TRUNCATED)
2345274f-fb1f-59a5-84ba-337e84fc6977
142,417
0
"Title: Is there a way to determine the signature of a Lua function?\n\nRecently, Lee Baldwin showed(...TRUNCATED)
252
243
[ "lua" ]
[ "generics", "functional-programming", "lua" ]
"{\"accepted_answer_id\":142424,\"answer_count\":3,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[0.0220947265625,-0.00983428955078125,-0.017242431640625,-0.005340576171875,0.0223388671875,-0.01966(...TRUNCATED)
[7,11,47,70,106,111,113,144,153,163,177,188,223,285,289,420,432,1238,1632,2685,3350,3444,3564,3622,3(...TRUNCATED)
[0.04931640625,0.1689453125,0.010986328125,0.035400390625,0.0478515625,0.006103515625,0.044921875,0.(...TRUNCATED)
01464963-d337-55f6-bdf5-fbad9bd6bebe
143,234
0
"Title: Lua = operator as print\n\nIn Lua, using the = operator without an l-value seems to be equiv(...TRUNCATED)
432
467
[ "lua" ]
[ "lua" ]
"{\"accepted_answer_id\":143282,\"answer_count\":4,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[0.00646209716796875,-0.035491943359375,0.00875091552734375,-0.01012420654296875,0.0186920166015625,(...TRUNCATED)
[9,10,11,13,42,54,56,70,96,98,127,188,214,237,339,382,757,822,866,903,977,1019,1369,1815,2203,2256,2(...TRUNCATED)
[0.03759765625,0.078125,0.193359375,0.0150146484375,0.13671875,0.018310546875,0.078125,0.0322265625,(...TRUNCATED)
15516592-65fc-51da-9a9a-eb89a2dea640
146,704
0
"Title: Is _VERSION the only global variable left in Lua 5.1?\n\nPuzzled by the Lua 5.0 documentatio(...TRUNCATED)
96
95
[ "lua" ]
[ "lua" ]
"{\"accepted_answer_id\":146716,\"answer_count\":2,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[0.01800537109375,-0.004024505615234375,-0.039581298828125,-0.0109100341796875,0.01418304443359375,0(...TRUNCATED)
[7,11,23,70,83,101,339,397,756,765,841,959,1632,2071,2809,3350,4527,4734,5809,7108,7842,7964,8966,17(...TRUNCATED)
[0.011962890625,0.1787109375,0.0262451171875,0.01416015625,0.0673828125,0.0888671875,0.05712890625,0(...TRUNCATED)
End of preview. Expand in Data Studio

Stack2Graph vector database: lua

This release contains 25042 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
60

Collection including Mo7art/Stack2Graph_VD_lua