Dataset Viewer
Auto-converted to Parquet Duplicate
chunk_id
large_string
question_id
large_string
language
large_string
chunk_index
int64
chunk_text
large_string
sparse_text
large_string
dense_vector
list
sparse_indices
list
sparse_values
list
export_source
large_string
1232370_c0
1232370
lua
0
Title: Lua and C-struct Problem title: Lua and C-struct Tags: c, lua Problem: Lua and C-struct how can I use c-struct in lua? Code signals: Lua, C-struct
Lua and C-struct Lua and C-struct c lua Lua C-struct Lua and C-struct how can I use c-struct in lua?
[ 0.039306640625, 0.015869140625, -0.004058837890625, 0.01263427734375, 0.000072479248046875, 0.00982666015625, 0.00408935546875, 0.00848388671875, 0.0155029296875, -0.00518798828125, -0.000576019287109375, -0.019775390625, 0.00244140625, 0.00189208984375, 0.0164794921875, -0.00909423828...
[ 3350, 11, 136, 313, 9, 36716, 501, 27761, 3642, 831, 87, 4527, 23, 32 ]
[ 0.1796875, 0.156005859375, 0.10064697265625, 0.16455078125, 0.09478759765625, 0.2783203125, 0.1693115234375, 0.22998046875, 0.078857421875, 0.05938720703125, 0.035797119140625, 0.1566162109375, 0.06646728515625, 0.0073089599609375 ]
embed
49907620_c0
49907620
lua
0
Title: How to fuse array in Lua Problem title: How to fuse array in Lua Tags: arrays, lua Problem: How to fuse array in Lua Code signals: How, Lua, array1, array2
How to fuse array in Lua How to fuse array in Lua arrays lua How Lua array1 array2 How to fuse array in Lua how can I fuse two array into one to be like: or
[ 0.0260009765625, -0.01177978515625, -0.00616455078125, 0.00274658203125, -0.0120849609375, 0.032958984375, -0.0159912109375, 0.001068115234375, 0.0169677734375, 0.016357421875, -0.0025634765625, 0.005584716796875, 0.01031494140625, -0.0069580078125, 0, -0.031494140625, -0.00405883789...
[ 11249, 57574, 13, 10298, 53, 23, 3350, 11, 47, 4778, 27761, 418, 304, 3642, 831, 6626, 3934, 1632, 1884, 707 ]
[ 0.051727294921875, 0.2125244140625, 0.1552734375, 0.197998046875, 0.1591796875, 0.064697265625, 0.1810302734375, 0.16943359375, 0.031280517578125, 0.05084228515625, 0.186767578125, 0.002300262451171875, 0.0780029296875, 0.019622802734375, 0.0016641616821289062, 0.0927734375, 0.097839...
embed
30493826_c2
30493826
lua
2
0823135, 0.81379765272141} {10, 30, 20} = {0.85286849737167, -0.0052361427806318, 0.52209949493408, -0.5, -0.29619812965393, 0.81379765272141} {20, 10, 30} = {0.92541658878326, 0.21461015939713, 0.3123245537281,
0823135, 0.81379765272141} {10, 30, 20} = {0.85286849737167, -0.0052361427806318, 0.52209949493408, -0.5, -0.29619812965393, 0.81379765272141} {20, 10, 30} = {0.92541658878326, 0.21461015939713, 0.3123245537281,
[ -0.01708984375, -0.0028076171875, -0.0189208984375, -0.00089263916015625, -0.01556396484375, 0.00677490234375, -0.0224609375, 0.008544921875, 0.0164794921875, 0.032958984375, -0.0034332275390625, 0.013671875, -0.00010585784912109375, -0.029541015625, -0.00860595703125, 0.006591796875, ...
[ 3843, 3742, 88622, 4, 6, 132208, 128780, 14773, 187065, 12825, 146893, 8152, 10666, 963, 496, 387, 2203, 12744, 172222, 12977, 115252, 165066, 20, 37509, 8659, 152837, 99263, 15748, 1819, 81730, 61107, 5046, 162823, 144836, 93645, 133684, 11648...
[ 0.1611328125, 0.1754150390625, 0.2374267578125, 0.1087646484375, 0.053619384765625, 0.17333984375, 0.1436767578125, 0.1126708984375, 0.1378173828125, 0.1331787109375, 0.1781005859375, 0.06787109375, 0.072998046875, 0.21142578125, 0.25732421875, 0.2149658203125, 0.124755859375, 0.09...
embed
64382872_c0
64382872
lua
0
"Title: Lua remove first directory from path\nProblem title: Lua remove first directory from path\nT(...TRUNCATED)
"Lua remove first directory from path Lua remove first directory from path lua path Lua string.match(...TRUNCATED)
[0.0257568359375,-0.00045013427734375,-0.012939453125,0.0255126953125,-0.024169921875,0.001411437988(...TRUNCATED)
[3350,11,87388,5117,14364,53,1295,60875,27761,79315,98753,11435,124326,5442,363,831,70,32316,37842,4(...TRUNCATED)
[0.1749267578125,0.137451171875,0.17822265625,0.17529296875,0.2008056640625,0.127197265625,0.1339111(...TRUNCATED)
embed
62955255_c0
62955255
lua
0
"Title: Loadstring Error: attempted to call a nil value\nProblem title: Loadstring Error: attempted (...TRUNCATED)
"Loadstring Error: attempted to call a nil value Loadstring Error: attempted to call a nil value lua(...TRUNCATED)
[0.0247802734375,-0.007232666015625,-0.0025177001953125,0.02880859375,-0.02587890625,0.0050354003906(...TRUNCATED)
[2091,712,91693,212059,12,81887,297,11782,17324,34292,27761,5201,822,11,20927,47,87,13695,20949,1849(...TRUNCATED)
[0.1552734375,0.137451171875,0.27978515625,0.1754150390625,0.0161895751953125,0.1689453125,0.0934448(...TRUNCATED)
embed
3477676_c0
3477676
lua
0
"Title: Is Lua an object-oriented language?\nProblem title: Is Lua an object-oriented language?\nTag(...TRUNCATED)
"Is Lua an object-oriented language? Is Lua an object-oriented language? lua Lua Is Lua an object-or(...TRUNCATED)
[0.02392578125,0.005889892578125,0.01806640625,0.007293701171875,0.0019683837890625,0.00503540039062(...TRUNCATED)
[ 2071, 3350, 11, 142, 36746, 49133, 46876, 297, 27761, 9, 903, 30563, 27983, 11814, 237 ]
[0.036346435546875,0.2091064453125,0.2088623046875,0.050628662109375,0.224853515625,0.1966552734375,(...TRUNCATED)
embed
498087_c0
498087
lua
0
"Title: Is there a library like Rails for Lua?\nProblem title: Is there a library like Rails for Lua(...TRUNCATED)
"Is there a library like Rails for Lua? Is there a library like Rails for Lua? ruby-on-rails lua Rai(...TRUNCATED)
[0.005889892578125,0.018798828125,0.0022430419921875,-0.0086669921875,-0.01190185546875,0.0157470703(...TRUNCATED)
[ 2685, 35773, 1294, 1884, 85736, 7, 100, 3350, 11, 21922, 53, 191, 68823, 27761, 10 ]
[0.03802490234375,0.2037353515625,0.134033203125,0.077392578125,0.218017578125,0.1246337890625,0.110(...TRUNCATED)
embed
38550142_c0
38550142
lua
0
"Title: How to isolate numbers separated by stars in Lua?\nProblem title: How to isolate numbers sep(...TRUNCATED)
"How to isolate numbers separated by stars in Lua? How to isolate numbers separated by stars in Lua?(...TRUNCATED)
[0.01092529296875,-0.0164794921875,0.003814697265625,0.01092529296875,-0.0174560546875,0.01892089843(...TRUNCATED)
[11249,47,54015,67,101935,84797,71,390,6057,7,23,3350,11,10298,4778,109728,5740,27761,79315,4516,532(...TRUNCATED)
[0.0736083984375,0.037261962890625,0.2049560546875,0.078369140625,0.173828125,0.17578125,0.041290283(...TRUNCATED)
embed
40989270_c0
40989270
lua
0
"Title: Lua: "Attempt to index a nill value"\nProblem title: Lua: "Attempt to index a(...TRUNCATED)
"Lua: "Attempt to index a nill value" Lua: "Attempt to index a nill value" lua L(...TRUNCATED)
[-0.016845703125,0.0026397705078125,0.00787353515625,-0.01544189453125,-0.01300048828125,0.031494140(...TRUNCATED)
[3350,11,41502,28848,34224,18,63262,300,1181,34292,27761,1913,83,26301,4785,6460,8262,31267,67948,61(...TRUNCATED)
[0.220458984375,0.2037353515625,0.0212860107421875,0.0634765625,0.1739501953125,0.059967041015625,0.(...TRUNCATED)
embed
48493285_c0
48493285
lua
0
"Title: Lua Nested Lists\nProblem title: Lua Nested Lists\nTags: ti-nspire, lua\nProblem: Lua Nested(...TRUNCATED)
"Lua Nested Lists Lua Nested Lists ti-nspire lua Lua Nested Lists platform.window:invalidate on.pain(...TRUNCATED)
[0.00946044921875,0.01708984375,-0.0052490234375,-0.010986328125,0.00604248046875,0.0235595703125,0.(...TRUNCATED)
[3350,11,28701,71,32036,1053,19,93685,27761,13651,24293,73,7013,17489,98,74908,18,22109,3509,1484,10(...TRUNCATED)
[0.1661376953125,0.136474609375,0.2607421875,0.14208984375,0.236083984375,0.1461181640625,0.01235961(...TRUNCATED)
embed
End of preview. Expand in Data Studio

LUA StackOverflow Vector Dataset Datasheet

1. What This Dataset Is

This dataset is the LUA-specific vector shard of the Stack2Graph StackOverflow retrieval corpus. Each Hugging Face dataset repository contains exactly one language dataset.

It is optimized for dense+sparse retrieval, Qdrant restoration, and embedding-based RAG experiments.

It is used in the Stack2Graph project as the vector counterpart to the language-scoped RDF knowledge graph shards.

See the Stack2Graph repository for more details: https://github.com/tha-atlas/Stack2Graph

2. Repository Layout

dataset_manifest.json
question_metadata_*.parquet
chunk_records_*.parquet
question_records_*.parquet
  • dataset_manifest.json: language-scoped manifest for this dataset shard.
  • question_metadata_*.parquet: per-question metadata and retrieval bookkeeping.
  • chunk_records_*.parquet: chunk-level vector rows when parent-child indexing is enabled.
  • question_records_*.parquet: question-level vector rows when chunking is disabled or exported alongside chunk data.

3. Data Model And Coverage

The dataset is derived from Stack Overflow questions selected for the LUA programming language. It contains the structured records needed to rebuild the Stack2Graph Qdrant collection for that language.

Coverage scope:

  • records are retained when they match the Stack2Graph supported language-tag set
  • this repository contains only the LUA shard
  • the archive may contain both metadata-only and retrieval-ready vector rows depending on the export mode

4. Recommended Preprocessing

  1. Read dataset_manifest.json first and use it as the source of truth for included Parquet files.
  2. Load all Parquet shards for this repository into your vector indexing pipeline.
  3. Rebuild or restore the Qdrant collection stackoverflow_lua_vector.
  4. Preserve attribution and license metadata during downstream export.

5. Automatic Download And Vector DB Setup

You do not need to regenerate embeddings from GraphDB to use this dataset.

In the Stack2Graph repository, you can use the automation script python -m experiment.load_hf_datasets_into_services --skip-kg to download dataset artifacts and prepare the vector database service state automatically.

Typical workflow:

  1. Clone and configure Stack2Graph (.env with HF token and service paths).
  2. Clone and configure Stack2Graph (.env with HF token and service paths).
  3. Start required local services:
docker compose up -d
  1. Run the loader script:
python -m experiment.load_hf_datasets_into_services --skip-kg

For manual usage without automation, directly ingest the listed Parquet files into your vector database.

6. Quality Notes And Caveats

  • A Stack Overflow question may belong to multiple language shards when tagged with multiple languages.
  • Embeddings and sparse representations depend on the configured export pipeline and model versions.
  • As with community-generated data, content may include noise, bias, and temporal drift.

7. Intended Use

  • semantic retrieval and reranking
  • RAG and hybrid retriever experiments
  • vector database benchmarking and diagnostics
  • language-scoped developer tooling research

8. Limitations

  • Not a complete mirror of all Stack Overflow content.
  • Not all export modes include the same row types or chunk layouts.
  • Best used together with the Stack2Graph retrieval pipeline and Qdrant-compatible tooling.

9. Licensing And Attribution

This dataset inherits Stack Overflow source licensing and attribution requirements. Ensure compliant attribution and redistribution practices in all derived artifacts.

10. Suggested Citation

If you use this dataset, cite the Stack2Graph work:

  • Stack2Graph: A Structured Knowledge Representation of Stack Overflow Data for Retrieval-based Question Answering
Downloads last month
19