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 127 3.8k ⌀ | sparse_text large_stringlengths 120 5.55k | dense_vector listlengths 3.58k 3.58k ⌀ | sparse_indices listlengths 2 238 ⌀ | sparse_values listlengths 2 238 ⌀ | export_source large_stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|
47951906_c0 | 47951906 | haskell | 0 | Title: Words from string to list
Problem title: Words from string to list
Tags: haskell
Problem: Words from string to list
Code signals: string, Words, Test1.hs:13:17 | Words from string to list Words from string to list haskell string Words Test1.hs:13:17 Words from string to list I'm trying to write a Haskell function which would read a string and return a list with the words from the string saved in it. Here's how I did it: But I get this error: I'm new to Haskell so I don't have t... | [
0.000804901123046875,
-0.0164794921875,
-0.02978515625,
0.0166015625,
-0.010498046875,
0.0191650390625,
-0.002532958984375,
-0.0103759765625,
0.009765625,
-0.01318359375,
-0.01129150390625,
-0.01190185546875,
0.004638671875,
0.00921630859375,
-0.00677490234375,
0.02197265625,
0.01428... | [
22543,
7,
1295,
79315,
47,
5303,
1556,
142508,
8647,
127,
22618,
22950,
31577,
33022,
20625,
32354,
12301,
30646,
34153,
57,
4126,
23,
903,
18499,
3525,
27689,
6863,
6002,
86531,
129745,
4358
] | [
0.228515625,
0.0596923828125,
0.164306640625,
0.256591796875,
0.1358642578125,
0.2305908203125,
0.123779296875,
0.2144775390625,
0.1700439453125,
0.051513671875,
0.036865234375,
0.047515869140625,
0.054534912109375,
0.0548095703125,
0.1104736328125,
0.1334228515625,
0.1212158203125,
... | embed |
23668532_c0 | 23668532 | haskell | 0 | Title: Argument of groupBy's Lambda
Problem title: Argument of groupBy's Lambda
Tags: haskell
Problem: Argument of groupBy's Lambda
Code signals: Argument, Lambda | Argument of groupBy's Lambda Argument of groupBy's Lambda haskell Argument Lambda Argument of groupBy's Lambda Learn You a Haskell shows the groupBy function: In groupBy 's first argument, what is the meaning of the lambda's 2 arguments: x and y ? | [
0.034912109375,
0.0203857421875,
-0.0196533203125,
0.006622314453125,
0.00335693359375,
0.0162353515625,
0.0026702880859375,
0.009033203125,
0.00167083740234375,
0.00021076202392578125,
-0.00958251953125,
-0.0208740234375,
0.015380859375,
0.0017547607421875,
-0.0162353515625,
-0.006256... | [
112140,
111,
21115,
75358,
3768,
122930,
85,
1556,
142508,
134031,
2583,
20625,
45831,
32354,
5117,
10750,
2367,
83,
70,
91084,
21,
6492,
7,
116,
1022,
136,
113
] | [
0.2354736328125,
0.0299835205078125,
0.1944580078125,
0.25830078125,
0.082763671875,
0.1859130859375,
0.1815185546875,
0.10791015625,
0.2509765625,
0.11297607421875,
0.07196044921875,
0.11553955078125,
0.055023193359375,
0.1483154296875,
0.11846923828125,
0.26123046875,
0.02743530273... | embed |
47110148_c0 | 47110148 | haskell | 0 | Title: Parse error in where. Haskell
Problem title: Parse error in where. Haskell
Tags: haskell
Problem: Parse error in where. Haskell
Code signals: Parse, Haskell, Double, Perhaps, e.g | Parse error in where. Haskell Parse error in where. Haskell haskell Parse Haskell Double Perhaps e.g Parse error in where. Haskell i'm having an error in this piece of code This is the ERROR that ghci give to me Thanks in advance StackOverflow programmers :D! | [
0.00799560546875,
0.01611328125,
-0.0150146484375,
-0.008544921875,
-0.00445556640625,
0.0302734375,
-0.031494140625,
-0.0113525390625,
0.0003986358642578125,
0.0103759765625,
-0.0294189453125,
-0.04052734375,
0.02783203125,
-0.02392578125,
-0.0103759765625,
0.004119873046875,
-0.018... | [
2392,
184,
18499,
23,
7440,
5,
20625,
142508,
1556,
107172,
181799,
17,
39,
19441,
903,
63847,
18151,
151206,
24638,
31380,
318,
8337,
163,
129745,
6512,
2594,
156673,
118664,
77848
] | [
0.1661376953125,
0.135009765625,
0.2457275390625,
0.1412353515625,
0.1820068359375,
0.00611114501953125,
0.1502685546875,
0.2548828125,
0.1475830078125,
0.2000732421875,
0.07232666015625,
0.01250457763671875,
0.00026416778564453125,
0.08245849609375,
0.06256103515625,
0.0699462890625,
... | embed |
53936636_c0 | 53936636 | haskell | 0 | "Title: A map function that operates on pairs\nProblem title: A map function that operates on pairs\(...TRUNCATED) | "A map function that operates on pairs A map function that operates on pairs haskell Parse Prelude A(...TRUNCATED) | [0.0048828125,0.0164794921875,0.00543212890625,0.01092529296875,-0.00848388671875,0.040771484375,-0.(...TRUNCATED) | [62,22288,32354,450,160404,7,98,80836,1556,142508,2392,184,1914,822,112,31577,33022,83,1884,1284,517(...TRUNCATED) | [0.1151123046875,0.2744140625,0.2376708984375,0.0836181640625,0.176513671875,0.1617431640625,0.16979(...TRUNCATED) | embed |
3927284_c0 | 3927284 | haskell | 0 | "Title: identify programming language\nProblem title: identify programming language\nTags: haskell, (...TRUNCATED) | "identify programming language identify programming language haskell programming-languages sudoku Ma(...TRUNCATED) | [0.01129150390625,0.00080108642578125,0.019287109375,0.01806640625,-0.0084228515625,0.0174560546875,(...TRUNCATED) | [135812,56037,449,46876,1556,142508,196651,8932,38067,12321,32036,5,10433,7,24762,30607,903,140992,1(...TRUNCATED) | [0.2203369140625,0.1688232421875,0.1331787109375,0.2281494140625,0.1336669921875,0.2279052734375,0.1(...TRUNCATED) | embed |
26829759_c0 | 26829759 | haskell | 0 | "Title: My Haskell Function crashes on complie\nProblem title: My Haskell Function crashes on compli(...TRUNCATED) | "My Haskell Function crashes on complie My Haskell Function crashes on complie haskell Haskell Macul(...TRUNCATED) | [-0.004241943359375,-0.01116943359375,-0.002288818359375,-0.00830078125,-0.0002002716064453125,0.029(...TRUNCATED) | [2646,20625,142508,28670,10763,150631,90,98,9969,6387,1556,911,25667,3378,52782,31577,40226,67,6329,(...TRUNCATED) | [0.07763671875,0.17333984375,0.29150390625,0.148681640625,0.0821533203125,0.2296142578125,0.07324218(...TRUNCATED) | embed |
5808983_c0 | 5808983 | haskell | 0 | "Title: haskell IO() whats wrong here?\nProblem title: haskell IO() whats wrong here?\nTags: io, inp(...TRUNCATED) | "haskell IO() whats wrong here? haskell IO() whats wrong here? io input haskell Enter str:thelist ER(...TRUNCATED) | [-0.003143310546875,-0.00164794921875,0.00026702880859375,0.017822265625,-0.01953125,0.0390625,-0.01(...TRUNCATED) | [1556,142508,17780,132,2367,7,44691,3688,22995,107730,60816,7704,2347,6562,151206,24638,5895,1019,12(...TRUNCATED) | [0.145263671875,0.22021484375,0.25634765625,0.1114501953125,0.1285400390625,0.09259033203125,0.20849(...TRUNCATED) | embed |
55785558_c0 | 55785558 | haskell | 0 | "Title: Haskell Integer not acting as Integer\nProblem title: Haskell Integer not acting as Integer\(...TRUNCATED) | "Haskell Integer not acting as Integer Haskell Integer not acting as Integer haskell variable-assign(...TRUNCATED) | [-0.012939453125,0.0038299560546875,0.01214599609375,0.017822265625,0.00921630859375,0.021728515625,(...TRUNCATED) | [20625,142508,44401,959,1030,1916,237,1556,77336,162,31304,13204,137175,51776,6626,107730,44116,3654(...TRUNCATED) | [0.1849365234375,0.2442626953125,0.231689453125,0.130126953125,0.1409912109375,0.0831298828125,0.091(...TRUNCATED) | embed |
42633046_c0 | 42633046 | haskell | 0 | "Title: How to properly use guards in Haskell?\nProblem title: How to properly use guards in Haskell(...TRUNCATED) | "How to properly use guards in Haskell? How to properly use guards in Haskell? function list haskell(...TRUNCATED) | [-0.0185546875,-0.00921630859375,0.0225830078125,-0.021728515625,0.0036468505859375,0.01470947265625(...TRUNCATED) | [11249,155965,4527,56050,7,23,20625,142508,47,32354,5303,1556,88,195,6562,275,3525,33022,8781,11814,(...TRUNCATED) | [0.06561279296875,0.154296875,0.1400146484375,0.27587890625,0.2012939453125,0.06158447265625,0.15368(...TRUNCATED) | embed |
37746472_c0 | 37746472 | haskell | 0 | "Title: What is the extension for Haskell?\nProblem title: What is the extension for Haskell?\nTags:(...TRUNCATED) | "What is the extension for Haskell? What is the extension for Haskell? haskell What Haskell What is (...TRUNCATED) | [0.0162353515625,0.01458740234375,0.020263671875,0.00927734375,-0.003082275390625,0.00872802734375,-(...TRUNCATED) | [
4865,
83,
70,
111938,
100,
20625,
142508,
1556,
5608,
4527,
11435
] | [0.058563232421875,0.035186767578125,0.0259552001953125,0.2529296875,0.04144287109375,0.16748046875,(...TRUNCATED) | embed |
Haskell StackOverflow Vector Dataset Datasheet
1. What This Dataset Is
This dataset is the Haskell-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 Haskell 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 Haskell 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_haskell_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
- 36