chunk_id large_stringlengths 7 11 ⌀ | question_id large_stringlengths 4 8 | language large_stringclasses 1
value | chunk_index int64 0 7 ⌀ | chunk_text large_stringlengths 163 2.82k ⌀ | sparse_text large_stringlengths 129 3.52k | dense_vector listlengths 3.58k 3.58k ⌀ | sparse_indices listlengths 10 234 ⌀ | sparse_values listlengths 10 234 ⌀ | export_source large_stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|
4536046_c0 | 4536046 | erlang | 0 | Title: test if a string is a number
Problem title: test if a string is a number
Tags: erlang
Problem: test if a string is a number How to test if a string is composed only of digits ? | test if a string is a number test if a string is a number erlang test if a string is a number How to test if a string is composed only of digits ? | [
-0.033935546875,
-0.017822265625,
-0.00469970703125,
0.0267333984375,
-0.01043701171875,
0.013671875,
-0.00087738037109375,
-0.0025482177734375,
0.004852294921875,
-0.004608154296875,
-0.0107421875,
-0.026123046875,
-0.0260009765625,
0.00445556640625,
0.014404296875,
0.014404296875,
... | [
3034,
2174,
79315,
83,
10,
14012,
72,
3066,
11249,
47,
150350,
71,
4734,
111,
153939,
7
] | [
0.2269287109375,
0.1334228515625,
0.287353515625,
0.151123046875,
0.10211181640625,
0.1884765625,
0.124267578125,
0.240234375,
0.012115478515625,
0.039215087890625,
0.127685546875,
0.04345703125,
0.1273193359375,
0.0693359375,
0.201904296875,
0.0799560546875
] | embed |
4888729_c0 | 4888729 | erlang | 0 | Title: Erlang mime type
Problem title: Erlang mime type
Tags: mime, file, erlang
Problem: Erlang mime type How can i know mime type of file with Erlang? Thank you.
Code signals: Erlang | Erlang mime type Erlang mime type mime file erlang Erlang Erlang mime type How can i know mime type of file with Erlang? Thank you. | [
0.0230712890625,
0.005401611328125,
0.01519775390625,
0.028076171875,
0.01904296875,
-0.006561279296875,
-0.0162353515625,
0.021240234375,
-0.01513671875,
-0.03125,
0.028076171875,
0.000553131103515625,
0.00579833984375,
0.0087890625,
0.037109375,
0.01116943359375,
-0.0361328125,
-... | [
1004,
3066,
324,
282,
10644,
11435,
72,
831,
17,
3714,
111,
678
] | [
0.1673583984375,
0.26611328125,
0.1842041015625,
0.2010498046875,
0.181640625,
0.18115234375,
0.0755615234375,
0.043365478515625,
0.025482177734375,
0.111328125,
0.06280517578125,
0.0601806640625
] | embed |
1811516_c0 | 1811516 | erlang | 0 | Title: Integrating Erlang with C++
Problem title: Integrating Erlang with C++
Tags: erlang, c%2B%2B
Problem: Integrating Erlang with C++ What interfaces exist to tie Erlang with C++?
Code signals: Integrating, Erlang | Integrating Erlang with C++ Integrating Erlang with C++ erlang c%2B%2B Integrating Erlang Integrating Erlang with C++ What interfaces exist to tie Erlang with C++? | [
0.0184326171875,
-0.00775146484375,
0.000286102294921875,
0.01171875,
0.0062255859375,
0.0047607421875,
-0.00104522705078125,
0.020263671875,
-0.00604248046875,
-0.0272216796875,
-0.007354736328125,
-0.016357421875,
-0.003265380859375,
0.0247802734375,
0.0198974609375,
0.010986328125,
... | [
91969,
1004,
3066,
678,
313,
37223,
1916,
72,
501,
167218,
101758,
7,
32316,
4817
] | [
0.197265625,
0.16162109375,
0.283935546875,
0.1669921875,
0.078857421875,
0.27392578125,
0.07611083984375,
0.11993408203125,
0.07916259765625,
0.036285400390625,
0.1885986328125,
0.0233306884765625,
0.07904052734375,
0.146240234375
] | embed |
2432200_c0 | 2432200 | erlang | 0 | "Title: Erlang: Mnesia or Mysql?\nProblem title: Erlang: Mnesia or Mysql?\nTags: erlang, mnesia, dat(...TRUNCATED) | "Erlang: Mnesia or Mysql? Erlang: Mnesia or Mysql? erlang mnesia database Erlang Mnesia Mysql Erlang(...TRUNCATED) | [0.01287841796875,0.0179443359375,0.004425048828125,0.0289306640625,0.004852294921875,0.009216308593(...TRUNCATED) | [
1004,
3066,
12,
276,
86,
3478,
707,
2646,
7,
99247,
32,
72,
49097,
63399,
4865,
57976,
13439,
4527,
678,
44084
] | [0.1820068359375,0.29052734375,0.0557861328125,0.09698486328125,0.2052001953125,0.27587890625,0.1157(...TRUNCATED) | embed |
2312307_c0 | 2312307 | erlang | 0 | "Title: What is an Erlang hrl file?\nProblem title: What is an Erlang hrl file?\nTags: header-files,(...TRUNCATED) | "What is an Erlang hrl file? What is an Erlang hrl file? header-files erlang What Erlang What is an (...TRUNCATED) | [0.015869140625,-0.00445556640625,-0.003936767578125,0.006195068359375,0.00115966796875,0.0004882812(...TRUNCATED) | [
4865,
1004,
3066,
10979,
141,
11435,
10336,
56,
29822,
72,
83,
4097,
23658,
35773,
191619
] | [0.029632568359375,0.1312255859375,0.235595703125,0.11572265625,0.1502685546875,0.1968994140625,0.09(...TRUNCATED) | embed |
35161949_c0 | 35161949 | erlang | 0 | "Title: weird erlang behavior, dealing with large bitstrings\nProblem title: weird erlang behavior, (...TRUNCATED) | "weird erlang behavior, dealing with large bitstrings weird erlang behavior, dealing with large bits(...TRUNCATED) | [0.02392578125,0.0166015625,-0.0081787109375,-0.00506591796875,0.003509521484375,-0.0002880096435546(...TRUNCATED) | [179459,72,3066,123166,184017,678,21334,4785,91693,3647,13307,112,40899,56,141,7,96760,29569,4633,92(...TRUNCATED) | [0.1573486328125,0.15966796875,0.2646484375,0.1219482421875,0.08575439453125,0.0275115966796875,0.11(...TRUNCATED) | embed |
3586681_c0 | 3586681 | erlang | 0 | "Title: Reverse a Integer Erlang\nProblem title: Reverse a Integer Erlang\nTags: erlang\nProblem: Re(...TRUNCATED) | "Reverse a Integer Erlang Reverse a Integer Erlang erlang Reverse Integer Erlang Reverse a Integer E(...TRUNCATED) | [-0.0390625,0.0244140625,0.00164794921875,0.0247802734375,-0.009521484375,0.013916015625,-0.00263977(...TRUNCATED) | [853,37676,10,44401,1004,3066,72,87,444,16487,100,23468,3917,47,39531,184,142,892,1505,23,89536,8705(...TRUNCATED) | [0.118408203125,0.296142578125,0.0418701171875,0.24169921875,0.1844482421875,0.2978515625,0.17016601(...TRUNCATED) | embed |
5475280_c0 | 5475280 | erlang | 0 | "Title: Install Erlang on SUSE\nProblem title: Install Erlang on SUSE\nTags: opensuse, erlang, erlan(...TRUNCATED) | "Install Erlang on SUSE Install Erlang on SUSE opensuse erlang erlang-otp Install Erlang SUSE Instal(...TRUNCATED) | [0.004425048828125,0.012939453125,0.00567626953125,0.01226806640625,-0.01165771484375,-0.01647949218(...TRUNCATED) | [
107951,
1004,
3066,
98,
159,
78441,
9803,
76167,
72,
818,
254,
3630,
17997,
3642,
47,
20600,
294,
4541,
617,
21373
] | [0.1624755859375,0.200439453125,0.323974609375,0.11212158203125,0.0689697265625,0.1990966796875,0.11(...TRUNCATED) | embed |
5271174_c0 | 5271174 | erlang | 0 | "Title: How to get N bits from binary\nProblem title: How to get N bits from binary\nTags: erlang\nP(...TRUNCATED) | "How to get N bits from binary How to get N bits from binary erlang binary How How to get N bits fro(...TRUNCATED) | [-0.017822265625,-0.00099945068359375,-0.007293701171875,0.00384521484375,0.00787353515625,0.0106811(...TRUNCATED) | [
11249,
47,
2046,
541,
4785,
7,
1295,
2394,
6635,
72,
3066,
765,
3642,
442,
304,
4904,
35046,
5117
] | [0.08599853515625,0.0865478515625,0.143798828125,0.21142578125,0.21240234375,0.1190185546875,0.12524(...TRUNCATED) | embed |
24746291_c0 | 24746291 | erlang | 0 | "Title: Erlang repetition string in string\nProblem title: Erlang repetition string in string\nTags:(...TRUNCATED) | "Erlang repetition string in string Erlang repetition string in string erlang Erlang Erlang repetiti(...TRUNCATED) | [-0.0164794921875,-0.0087890625,-0.0220947265625,0.028076171875,-0.00750732421875,0.01177978515625,0(...TRUNCATED) | [
1004,
3066,
57346,
1363,
79315,
23,
72,
87,
765,
11249,
54,
74481,
67,
14012,
111,
2055,
238,
5256
] | [0.147216796875,0.256103515625,0.289306640625,0.023956298828125,0.2254638671875,0.0538330078125,0.07(...TRUNCATED) | embed |
Erlang StackOverflow Vector Dataset Datasheet
1. What This Dataset Is
This dataset is the Erlang-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 Erlang 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 Erlang 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_erlang_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
- 13