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
67120193_c0
67120193
kotlin
0
Title: how to make circle view? Problem title: how to make circle view? Tags: kotlin, android Problem: how to make circle view? I want to make a circle view in android
how to make circle view? how to make circle view? kotlin android how to make circle view? I want to make a circle view in android
[ -0.004791259765625, -0.007659912109375, 0.01348876953125, 0.01239013671875, 0.00738525390625, -0.0126953125, -0.00433349609375, -0.002655029296875, -0.01953125, 0.0069580078125, -0.01055908203125, -0.033203125, -0.00115966796875, 0.01348876953125, -0.004852294921875, -0.0126953125, -...
[ 3642, 47, 3249, 42154, 133, 21455, 32, 1975, 2397, 54527, 87, 3444, 10, 23 ]
[ 0.06689453125, 0.07672119140625, 0.128662109375, 0.206787109375, 0.1531982421875, 0.292724609375, 0.0004296302795410156, 0.0899658203125, 0.16162109375, 0.217041015625, 0.0089111328125, 0.06573486328125, 0.00933074951171875, 0.053375244140625 ]
embed
71091083_c0
71091083
kotlin
0
Title: I can't add id from XML Problem title: I can't add id from XML Tags: kotlin Problem: I can't add id from XML Why can't I add this id here? Code signals: XML
I can't add id from XML I can't add id from XML kotlin XML I can't add id from XML Why can't I add this id here?
[ -0.000774383544921875, 0.029541015625, -0.003143310546875, -0.027587890625, 0.0013427734375, 0.01226806640625, -0.0002536773681640625, -0.01080322265625, -0.004486083984375, -0.0198974609375, 0.013427734375, -0.03466796875, 0.00048828125, 0.01324462890625, 0.01153564453125, -0.01104736...
[ 87, 831, 3768, 18, 15190, 3447, 1295, 92537, 1975, 2397, 903, 3688 ]
[ 0.00644683837890625, 0.1317138671875, 0.08837890625, 0.11279296875, 0.17724609375, 0.23583984375, 0.134765625, 0.2666015625, 0.129638671875, 0.22021484375, 0.042144775390625, 0.08612060546875 ]
embed
76038324_c2
76038324
kotlin
2
VIHTA8z_DUHhHL, NTFFJc7lz-iY0azaFG_, NTFJ-07b4zoVMuhzz7V, NTFPn8JM8-MuKyJcslB, NTFPo8os6dQWBVYHw7g, NTFPopdL8b_izl86Nm7, NTFPq7GMsULeJyETC54, NTFPrD5JxU8oeU4FQMu, NTFPs9mkur4iNksqnR1, NTFPucbvPps1bGs3VdT
VIHTA8z_DUHhHL, NTFFJc7lz-iY0azaFG_, NTFJ-07b4zoVMuhzz7V, NTFPn8JM8-MuKyJcslB, NTFPo8os6dQWBVYHw7g, NTFPopdL8b_izl86Nm7, NTFPq7GMsULeJyETC54, NTFPrD5JxU8oeU4FQMu, NTFPs9mkur4iNksqnR1, NTFPucbvPps1bGs3VdT
[ 0.01019287109375, 0.0054931640625, -0.00860595703125, 0.01251220703125, -0.021484375, -0.0023651123046875, -0.007659912109375, -0.0189208984375, -0.004486083984375, 0.0201416015625, 0.0172119140625, -0.0076904296875, 0.013916015625, 0.001434326171875, -0.00762939453125, -0.030517578125...
[ 5947, 18544, 284, 1019, 169, 454, 18431, 841, 127, 48599, 4, 65779, 30110, 1375, 11440, 123254, 541, 30992, 9, 8368, 856, 51006, 103039, 571, 177, 127642, 275, 15276, 966, 12338, 1062, 34, 7, 14, 724, 618 ]
[ 0.287353515625, 0.1722412109375, 0.091552734375, 0.1378173828125, 0.0760498046875, 0.06597900390625, 0.1468505859375, 0.075927734375, 0.037872314453125, 0.24365234375, 0.1395263671875, 0.197265625, 0.1890869140625, 0.13525390625, 0.034088134765625, 0.019775390625, 0.101318359375, 0...
embed
49425758_c0
49425758
kotlin
0
"Title: Add buttons to label name\nProblem title: Add buttons to label name\nTags: kotlin, android\n(...TRUNCATED)
"Add buttons to label name Add buttons to label name kotlin android Add Add buttons to label name Ho(...TRUNCATED)
[0.0069580078125,0.00168609619140625,0.01220703125,-0.006011962890625,0.0037078857421875,0.001144409(...TRUNCATED)
[ 29117, 77679, 7, 47, 67967, 9351, 1975, 2397, 54527, 15190, 3952, 1884, 27211, 707, 53017 ]
[0.1102294921875,0.2445068359375,0.09405517578125,0.1165771484375,0.2451171875,0.1666259765625,0.108(...TRUNCATED)
embed
38346722_c0
38346722
kotlin
0
"Title: How to mock static methods in Kotlin?\nProblem title: How to mock static methods in Kotlin?\(...TRUNCATED)
"How to mock static methods in Kotlin? How to mock static methods in Kotlin? jmockit kotlin How Kotl(...TRUNCATED)
[-0.023193359375,0.01153564453125,0.02001953125,-0.0238037109375,-0.009521484375,-0.0089111328125,0.(...TRUNCATED)
[11249,8698,92,201939,150624,23,19856,2397,47,1647,31714,9488,1975,2501,2594,53234,12353,31577,55300(...TRUNCATED)
[0.054168701171875,0.2012939453125,0.1490478515625,0.2464599609375,0.1728515625,0.04296875,0.1326904(...TRUNCATED)
embed
70673996_c2
70673996
kotlin
2
"noetwFx7l3EmAWZZZLmpNta6NWtut43TTSe8Wn1A0Y596, xP2c, Mvi69, wp8e, J9K1PQrSwTxj4pk0Kwt4bhb4zETDULFHl(...TRUNCATED)
"noetwFx7l3EmAWZZZLmpNta6NWtut43TTSe8Wn1A0Y596, xP2c, Mvi69, wp8e, J9K1PQrSwTxj4pk0Kwt4bhb4zETDULFHl(...TRUNCATED)
[0.01904296875,0.00897216796875,-0.00457763671875,-0.0033416748046875,0.00186920166015625,0.02563476(...TRUNCATED)
[6237,32290,919,425,966,141,363,34139,85049,76362,2676,102,910,186620,17465,11548,13739,4233,11648,4(...TRUNCATED)
[0.2191162109375,0.196533203125,0.07196044921875,0.0445556640625,0.06268310546875,0.037109375,0.0821(...TRUNCATED)
embed
63837148_c0
63837148
kotlin
0
"Title: C# equivalent for kotlin inline classes\nProblem title: C# equivalent for kotlin inline clas(...TRUNCATED)
"C# equivalent for kotlin inline classes C# equivalent for kotlin inline classes c%23 kotlin C# equi(...TRUNCATED)
[0.0027008056640625,0.011962890625,0.004180908203125,-0.00107574462890625,0.0024871826171875,-0.0036(...TRUNCATED)
[ 313, 4904, 183234, 100, 1975, 2397, 23, 2256, 61112, 501, 3949, 3742, 2071, 2685, 142, 18507 ]
[0.0621337890625,0.216796875,0.2061767578125,0.06292724609375,0.131591796875,0.222412109375,0.075866(...TRUNCATED)
embed
79253051_c1
79253051
kotlin
1
"KO3J_qhI7jArzsM5eSETrEfVpAutbCrNwx0yHOK9axNDvPQyUOLi-MapE4uUI2YVgOQjI-SCsAg0FmIJ8Ei1jBxpSrFEvDnZDEP(...TRUNCATED)
"KO3J_qhI7jArzsM5eSETrEfVpAutbCrNwx0yHOK9axNDvPQyUOLi-MapE4uUI2YVgOQjI-SCsAg0FmIJ8Ei1jBxpSrFEvDnZDEP(...TRUNCATED)
[-0.00186920166015625,-0.0032958984375,-0.015380859375,-0.002655029296875,-0.0299072265625,-0.005645(...TRUNCATED)
[11841,363,1375,454,127,966,170,7614,54080,120482,284,434,2389,53,9092,14263,92830,9506,9,166179,334(...TRUNCATED)
[0.15869140625,0.11181640625,0.1092529296875,0.01580810546875,0.01263427734375,0.017303466796875,0.0(...TRUNCATED)
embed
70772031_c0
70772031
kotlin
0
"Title: Object inside of an array\nProblem title: Object inside of an array\nTags: kotlin\nProblem: (...TRUNCATED)
"Object inside of an array Object inside of an array kotlin Object www.google.com chrome..69i57j46j0(...TRUNCATED)
[0.01068115234375,0.0023956298828125,-0.01190185546875,-0.0242919921875,0.002777099609375,-0.0011825(...TRUNCATED)
[134549,46132,111,142,10298,53,1975,2397,59875,17656,13450,14212,12243,139662,30992,17376,122887,112(...TRUNCATED)
[0.240966796875,0.23828125,0.156494140625,0.0782470703125,0.2276611328125,0.1595458984375,0.16394042(...TRUNCATED)
embed
68415452_c0
68415452
kotlin
0
"Title: why is the result of "windowed" different?\nProblem title: why is the result of &q(...TRUNCATED)
"why is the result of "windowed" different? why is the result of "windowed" diff(...TRUNCATED)
[0.0037078857421875,0.007110595703125,-0.0003414154052734375,-0.02490234375,-0.016845703125,0.012084(...TRUNCATED)
[15400,83,16750,50777,2600,71,12921,111,76896,297,42486,1975,2397,442,188,154663,28864,678,32036,126(...TRUNCATED)
[0.1282958984375,0.06878662109375,0.1693115234375,0.1673583984375,0.1651611328125,0.1539306640625,0.(...TRUNCATED)
embed
End of preview. Expand in Data Studio

Kotlin StackOverflow Vector Dataset Datasheet

1. What This Dataset Is

This dataset is the Kotlin-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 Kotlin 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 Kotlin 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_kotlin_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
9