chunk_id large_stringlengths 7 11 ⌀ | question_id large_stringlengths 4 8 | language large_stringclasses 1
value | chunk_index int64 0 6 ⌀ | chunk_text large_stringlengths 140 2.75k ⌀ | sparse_text large_stringlengths 85 4.87k | dense_vector listlengths 3.58k 3.58k ⌀ | sparse_indices listlengths 10 235 ⌀ | sparse_values listlengths 10 235 ⌀ | export_source large_stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|
47748323_c0 | 47748323 | assembly | 0 | Title: GDB disass main
Problem title: GDB disass main
Tags: assembly, gcc, gdb, c
Problem: GDB disass main
Code signals: GDB, Dump, DWORD, PTR | GDB disass main GDB disass main assembly gcc gdb c GDB Dump DWORD PTR GDB disass main I'm doing a security project for my school. For this project I have a binary, and I have to do 2 things, make a pseudo code of this binary and do the exploit. To get better in ASM I'm trying to do exactly the same source code in c. I ... | [
0.021484375,
0.004608154296875,
-0.01153564453125,
0.0220947265625,
-0.01007080078125,
0.022705078125,
-0.02001953125,
0.012939453125,
-0.01263427734375,
-0.0224609375,
-0.004791259765625,
-0.01092529296875,
0.004791259765625,
0.028564453125,
0.00830078125,
0.009033203125,
0,
0.007... | [
527,
39463,
6392,
7,
5201,
10,
89845,
38526,
22109,
238,
706,
48073,
501,
786,
2676,
30439,
36639,
28981,
20594,
48031,
13452,
10696,
2394,
6635,
54,
116,
8966,
3249,
74189,
18151,
162471,
2046,
11522,
23,
62,
18148,
66161,
5701,
31344,
2... | [
0.10333251953125,
0.27294921875,
0.2152099609375,
0.142822265625,
0.1798095703125,
0.02398681640625,
0.14501953125,
0.044708251953125,
0.0830078125,
0.068603515625,
0.080810546875,
0.23974609375,
0.1348876953125,
0.14453125,
0.17138671875,
0.01763916015625,
0.111572265625,
0.163452... | embed |
58461575_c0 | 58461575 | assembly | 0 | Title: Load array from .byte char
Problem title: Load array from .byte char
Tags: arm, assembly
Problem: Load array from .byte char
Code signals: byte, Load | Load array from .byte char Load array from .byte char arm assembly byte Load Load array from .byte char I have an array stored like this I was wondering how can i load this into an array? Thanks .global map map: | [
0.006744384765625,
-0.00080108642578125,
0.000255584716796875,
0.03515625,
-0.00823974609375,
-0.001434326171875,
0.01708984375,
0.020263671875,
-0.000934600830078125,
0.00762939453125,
-0.00469970703125,
-0.00872802734375,
-0.0238037109375,
-0.018798828125,
-0.02099609375,
-0.00656127... | [
2091,
712,
10298,
53,
1295,
5,
61028,
21441,
16294,
89845,
38526,
390,
67,
765,
4343,
71,
1884,
903,
149016,
3642,
831,
72367,
3934,
142,
22362,
156566,
22288
] | [
0.1346435546875,
0.09857177734375,
0.2017822265625,
0.1707763671875,
0.1331787109375,
0.04046630859375,
0.2080078125,
0.2236328125,
0.1666259765625,
0.09368896484375,
0.0024204254150390625,
0.096923828125,
0.0975341796875,
0.0159454345703125,
0.13232421875,
0.026153564453125,
0.06549... | embed |
5460259_c0 | 5460259 | assembly | 0 | Title: Why don't the bytes intersect?
Problem title: Why don't the bytes intersect?
Tags: assembly, gdb
Problem: Why don't the bytes intersect?
Code signals: Why | Why don't the bytes intersect? Why don't the bytes intersect? assembly gdb Why Why don't the bytes intersect? Why don't the bytes intersect?? | [
0.00007200241088867188,
-0.006134033203125,
0.004547119140625,
0.01104736328125,
-0.0277099609375,
0.0208740234375,
-0.0030517578125,
-0.0093994140625,
0.00946044921875,
0.05712890625,
0.00604248046875,
0.0230712890625,
0.009521484375,
0.0196533203125,
-0.00421142578125,
-0.00364685058... | [
44084,
2301,
3768,
18,
390,
1636,
1940,
7,
24762,
10,
89845,
38526,
706,
48073,
70,
4767
] | [
0.1636962890625,
0.13427734375,
0.0897216796875,
0.1605224609375,
0.173095703125,
0.15576171875,
0.1712646484375,
0.1632080078125,
0.1400146484375,
0.0101318359375,
0.1502685546875,
0.09490966796875,
0.061126708984375,
0.1812744140625,
0.0020751953125,
0.0400390625
] | embed |
10765952_c0 | 10765952 | assembly | 0 | "Title: MIPS register content\nProblem title: MIPS register content\nTags: assembly, mips\nProblem: (...TRUNCATED) | "MIPS register content MIPS register content assembly mips MIPS NOP LUI ADDIU ADDI SLL ADD SRL SRA S(...TRUNCATED) | [-0.01153564453125,0.0107421875,-0.011474609375,0.0400390625,0.000560760498046875,0.0177001953125,-0(...TRUNCATED) | [13763,9059,68067,10941,89845,324,6423,9520,683,33457,24057,54491,17507,23708,170007,12280,32811,116(...TRUNCATED) | [0.15625,0.2125244140625,0.302490234375,0.2156982421875,0.12939453125,0.1361083984375,0.149291992187(...TRUNCATED) | embed |
67869693_c0 | 67869693 | assembly | 0 | "Title: How does assembly store letters?\nProblem title: How does assembly store letters?\nTags: ass(...TRUNCATED) | "How does assembly store letters? How does assembly store letters? assembly gdb x86 yasm How msg1 ms(...TRUNCATED) | [0.023681640625,-0.00762939453125,-0.0184326171875,0.04541015625,-0.00089263916015625,0.014587402343(...TRUNCATED) | [11249,14602,10,89845,38526,4343,120820,706,48073,15276,151,39,68163,177,418,304,363,1022,26366,3642(...TRUNCATED) | [0.10247802734375,0.0677490234375,0.0457763671875,0.1956787109375,0.1590576171875,0.1837158203125,0.(...TRUNCATED) | embed |
30267704_c0 | 30267704 | assembly | 0 | "Title: Segmentation fault cmovl\nProblem title: Segmentation fault cmovl\nTags: linux, assembly\nPr(...TRUNCATED) | "Segmentation fault cmovl Segmentation fault cmovl linux assembly Segmentation Compiling A1MINUS Err(...TRUNCATED) | [-0.012939453125,-0.006500244140625,0.004180908203125,0.02392578125,-0.0234375,0.0064697265625,-0.01(...TRUNCATED) | [38462,674,2320,193857,1827,515,141,11508,6077,89845,15612,49725,62,84139,8762,212059,9030,363,28412(...TRUNCATED) | [0.21826171875,0.195068359375,0.09228515625,0.21826171875,0.1314697265625,0.1956787109375,0.1328125,(...TRUNCATED) | embed |
75088914_c0 | 75088914 | assembly | 0 | "Title: Inline assembly with branch\nProblem title: Inline assembly with branch\nTags: inline-assemb(...TRUNCATED) | "Inline assembly with branch Inline assembly with branch inline-assembly riscv gcc assembly Inline h(...TRUNCATED) | [-0.0196533203125,0.0023193359375,-0.01470947265625,0.010498046875,0.0035400390625,-0.012939453125,0(...TRUNCATED) | [360,2256,89845,678,32845,206,38526,23,46012,334,22109,764,2631,425,6954,160017,39,25632,18151,9790,(...TRUNCATED) | [0.070556640625,0.229248046875,0.1688232421875,0.0841064453125,0.139404296875,0.07086181640625,0.030(...TRUNCATED) | embed |
33497255_c0 | 33497255 | assembly | 0 | "Title: What's an offset?\nProblem title: What's an offset?\nTags: mips, offset, assembly\(...TRUNCATED) | "What's an offset? What's an offset? mips offset assembly What BEQ Description Branches Op(...TRUNCATED) | [0.0174560546875,0.01092529296875,-0.0084228515625,0.033447265625,0.015625,0.00372314453125,-0.00160(...TRUNCATED) | [4865,54764,3768,74,7,142,5773,3509,32,324,6423,89845,38526,9622,2737,70643,21110,17007,102203,12974(...TRUNCATED) | [0.1190185546875,0.025726318359375,0.10791015625,0.0882568359375,0.07666015625,0.156982421875,0.2819(...TRUNCATED) | embed |
44099578_c2 | 44099578 | assembly | 2 | " _main, EFj, text:0040154C, text:0040154F, text:00401550, text:00401552, text:00401554, text:004015(...TRUNCATED) | " _main, EFj, text:0040154C, text:0040154F, text:00401550, text:00401552, text:00401554, text:004015(...TRUNCATED) | [0.0169677734375,0.004547119140625,0.00909423828125,0.00799560546875,-0.0174560546875,0.007934570312(...TRUNCATED) | [101,24931,4,51779,170,7986,6632,2839,132363,441,919,2525,12744,12338,11663,285,1197,12975,119477,16(...TRUNCATED) | [0.115966796875,0.217529296875,0.030609130859375,0.180419921875,0.2288818359375,0.18212890625,0.0787(...TRUNCATED) | embed |
10395831_c0 | 10395831 | assembly | 0 | "Title: Is ADD A,5 allowed?\nProblem title: Is ADD A,5 allowed?\nTags: assembly, x86-16\nProblem: Is(...TRUNCATED) | "Is ADD A,5 allowed? Is ADD A,5 allowed? assembly x86-16 ADD x86-16 Is ADD A,5 allowed? Now A and 5 (...TRUNCATED) | [-0.00982666015625,0.00274658203125,0.0087890625,0.032958984375,-0.0291748046875,0.00787353515625,-0(...TRUNCATED) | [2071,62,24057,4,758,107003,89845,38526,15276,13528,14240,136,190,15044,621,168894,442,151169,53,836(...TRUNCATED) | [0.03948974609375,0.1890869140625,0.2156982421875,0.0587158203125,0.229736328125,0.1915283203125,0.1(...TRUNCATED) | embed |
Assembly StackOverflow Vector Dataset Datasheet
1. What This Dataset Is
This dataset is the Assembly-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 Assembly 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 Assembly shard
- the archive may contain both metadata-only and retrieval-ready vector rows depending on the export mode
4. Recommended Preprocessing
- Read
dataset_manifest.jsonfirst and use it as the source of truth for included Parquet files. - Load all Parquet shards for this repository into your vector indexing pipeline.
- Rebuild or restore the Qdrant collection
stackoverflow_assembly_vector. - 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:
- Clone and configure Stack2Graph (
.envwith HF token and service paths). - Clone and configure Stack2Graph (
.envwith HF token and service paths). - Start required local services:
docker compose up -d
- 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
- 28