chunk_id large_stringlengths 4 12 ⌀ | question_id large_stringlengths 1 8 | language large_stringclasses 1
value | chunk_index int64 0 17 ⌀ | chunk_text large_stringlengths 137 3.42k ⌀ | sparse_text large_stringlengths 73 9.62k | dense_vector listlengths 3.58k 3.58k ⌀ | sparse_indices listlengths 3 285 ⌀ | sparse_values listlengths 3 285 ⌀ | export_source large_stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|
243816_c0 | 243816 | .net | 0 | Title: key down in .net
Problem title: key down in .net
Tags: .net
Problem: key down in .net How to validate iscontrolkeys in textbox keydown event in .net? | key down in .net key down in .net .net key down in .net How to validate iscontrolkeys in textbox keydown event in .net? | [
0.000823974609375,
0.0074462890625,
0.012939453125,
-0.0028076171875,
-0.01373291015625,
-0.024169921875,
0.006988525390625,
0.00433349609375,
-0.00021457672119140625,
0.00946044921875,
0.003753662109375,
-0.006195068359375,
0.01953125,
0.0177001953125,
-0.0272216796875,
0.003356933593... | [
22799,
7565,
23,
5,
1179,
44622,
67,
83,
81988,
19770,
7,
7986,
11728,
34695,
19732
] | [
0.1663818359375,
0.2283935546875,
0.0284271240234375,
0.01214599609375,
0.1759033203125,
0.1685791015625,
0.08612060546875,
0.10113525390625,
0.2254638671875,
0.189453125,
0.040618896484375,
0.07452392578125,
0.152099609375,
0.239013671875,
0.12841796875
] | embed |
102082_c0 | 102082 | .net | 0 | Title: C#.net datagrid
Problem title: C#.net datagrid
Tags: c%23, datagrid, .net
Problem: C#.net datagrid How to add child rows in datagrid c#.net windows forms? | C#.net datagrid C#.net datagrid c%23 datagrid .net C#.net datagrid How to add child rows in datagrid c#.net windows forms? | [
0.033447265625,
0.03564453125,
-0.0086669921875,
-0.00151824951171875,
-0.006927490234375,
-0.01153564453125,
0.0120849609375,
0.0206298828125,
0.00165557861328125,
-0.022705078125,
0.01226806640625,
-0.0216064453125,
-0.0220947265625,
0.0306396484375,
-0.00836181640625,
0.009826660156... | [
4904,
1179,
2053,
120067,
3742,
11249,
15190,
29041,
15555,
7,
54825,
3173
] | [
0.168701171875,
0.1260986328125,
0.1103515625,
0.2509765625,
0.10443115234375,
0.02838134765625,
0.126953125,
0.2255859375,
0.236572265625,
0.08795166015625,
0.132568359375,
0.2059326171875
] | embed |
2891724_c0 | 2891724 | .net | 0 | Title: Is this an F# structured printf bug?
Problem title: Is this an F# structured printf bug?
Tags: .net, printf, f%23
Problem: Is this an F# structured printf bug? | Is this an F# structured printf bug? Is this an F# structured printf bug? .net printf f%23 Is this an F# structured printf bug? Code: Output: So right aligning %c does not work as I expect... F# 2.0 build 4.0.30319.1 | [
0.0093994140625,
0.0035247802734375,
0.0191650390625,
0.0185546875,
-0.003631591796875,
0.017333984375,
-0.00182342529296875,
-0.009521484375,
0.0091552734375,
0.0223388671875,
0.0120849609375,
0.004608154296875,
0.00848388671875,
-0.0205078125,
0.02783203125,
0.0084228515625,
-0.004... | [
2071,
903,
142,
563,
4904,
45646,
71,
28412,
420,
54608,
1179,
1238,
3949,
3742,
28864,
13538,
7077,
1061,
7108,
90795,
592,
1745,
238,
14602,
959,
4488,
237,
41206,
16655,
45367,
40401,
1197,
2947
] | [
0.07330322265625,
0.121826171875,
0.039093017578125,
0.1568603515625,
0.2236328125,
0.209228515625,
0.057891845703125,
0.166015625,
0.1258544921875,
0.1793212890625,
0.145751953125,
0.117431640625,
0.025787353515625,
0.1317138671875,
0.0160675048828125,
0.0806884765625,
0.04949951171... | embed |
6954289_c0 | 6954289 | .net | 0 | "Title: How I can split a RTF file\nProblem title: How I can split a RTF file\nTags: rtf, parsing, .(...TRUNCATED) | "How I can split a RTF file How I can split a RTF file rtf parsing .net How RTF BreakPage How I can (...TRUNCATED) | [-0.00982666015625,0.0064697265625,-0.00225830078125,0.01190185546875,0.0072021484375,0.019653320312(...TRUNCATED) | [11249,87,831,65450,10,627,30992,11435,3198,420,366,6953,1179,131904,147101,3444,47,76228,4904,75034(...TRUNCATED) | [0.1104736328125,0.08770751953125,0.1146240234375,0.263671875,0.03680419921875,0.1483154296875,0.292(...TRUNCATED) | embed |
12581839_c0 | 12581839 | .net | 0 | "Title: Get all unique variations\nProblem title: Get all unique variations\nTags: linq, math, c%23,(...TRUNCATED) | "Get all unique variations Get all unique variations linq math c%23 .net Get Schedule List Get all u(...TRUNCATED) | [-0.0000762939453125,0.0145263671875,0.00274658203125,-0.00775146484375,-0.01165771484375,-0.0022277(...TRUNCATED) | [20779,756,36998,143834,7,96,44982,48909,3742,1179,230074,32036,18507,765,4163,5303,6044,80889,11914(...TRUNCATED) | [0.1351318359375,0.1865234375,0.2437744140625,0.279052734375,0.086669921875,0.043701171875,0.1749267(...TRUNCATED) | embed |
959448_c0 | 959448 | .net | 0 | "Title: Split CSV String\nProblem title: Split CSV String\nTags: .net, csv, split, string, vb.net\nP(...TRUNCATED) | "Split CSV String Split CSV String .net csv split string vb.net Split CSV Dim mystring.split vb.net (...TRUNCATED) | [0.0026702880859375,0.00167083740234375,-0.00750732421875,0.02197265625,-0.005279541015625,0.0119018(...TRUNCATED) | [46474,313,43486,23351,214,1179,20763,334,65450,79315,86482,45247,759,91693,7008,4353,2806,87,25632,(...TRUNCATED) | [0.236083984375,0.08251953125,0.279052734375,0.1893310546875,0.056976318359375,0.163818359375,0.0745(...TRUNCATED) | embed |
5005240_c0 | 5005240 | .net | 0 | "Title: Silverlight WCF Error\nProblem title: Silverlight WCF Error\nTags: wcf, silverlight, .net\nP(...TRUNCATED) | "Silverlight WCF Error Silverlight WCF Error wcf silverlight .net Silverlight WCF Error ChannelBase (...TRUNCATED) | [0.0299072265625,0.01202392578125,-0.0115966796875,0.0103759765625,-0.0142822265625,-0.0093383789062(...TRUNCATED) | [57035,20016,37808,919,212059,148,67466,115392,1179,55969,63473,31358,38415,100,209,14633,11782,221,(...TRUNCATED) | [0.19775390625,0.245361328125,0.1483154296875,0.1983642578125,0.189697265625,0.010040283203125,0.146(...TRUNCATED) | embed |
3958571_c0 | 3958571 | .net | 0 | "Title: cpu usage of a thread\nProblem title: cpu usage of a thread\nTags: .net, c%23, performanceco(...TRUNCATED) | "cpu usage of a thread cpu usage of a thread .net c%23 performancecounter cpu usage of a thread how (...TRUNCATED) | [0.00421142578125,-0.02392578125,-0.006927490234375,0.00689697265625,-0.006195068359375,-0.025146484(...TRUNCATED) | [
1766,
127689,
111,
10,
86997,
501,
6,
5,
1179,
3949,
3742,
23718,
71013,
56,
3642,
47,
2046,
70,
23,
4904
] | [0.246826171875,0.2001953125,0.09393310546875,0.061126708984375,0.251708984375,0.069580078125,0.0173(...TRUNCATED) | embed |
5311124_c0 | 5311124 | .net | 0 | "Title: How to empty a list in C#?\nProblem title: How to empty a list in C#?\nTags: c%23, .net\nPro(...TRUNCATED) | "How to empty a list in C#? How to empty a list in C#? c%23 .net How How to empty a list in C#? I wa(...TRUNCATED) | [0.00160980224609375,0.0189208984375,0.00701904296875,0.01904296875,-0.026123046875,0.00473022460937(...TRUNCATED) | [
11249,
47,
201505,
10,
5303,
23,
313,
4904,
32,
501,
3949,
3742,
1179,
3444,
54,
450
] | [0.0843505859375,0.09661865234375,0.243408203125,0.06658935546875,0.2388916015625,0.0885009765625,0.(...TRUNCATED) | embed |
1789099_c0 | 1789099 | .net | 0 | "Title: audio comparison\nProblem title: audio comparison\nTags: actionscript, c, .net, php, javascr(...TRUNCATED) | "audio comparison audio comparison actionscript c .net php javascript audio comparison How to compar(...TRUNCATED) | [-0.00628662109375,0.0034027099609375,-0.0146484375,0.03125,-0.0087890625,0.0194091796875,0.01452636(...TRUNCATED) | [
18215,
225490,
22631,
32032,
501,
1179,
3958,
136951,
11249,
69101,
6626,
102158,
47,
1957,
70,
60212,
111,
2856
] | [0.251953125,0.2412109375,0.1251220703125,0.1689453125,0.059478759765625,0.125732421875,0.1174316406(...TRUNCATED) | embed |
.Net StackOverflow Vector Dataset Datasheet
1. What This Dataset Is
This dataset is the .Net-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 .Net 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 .Net 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_.net_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
- 339