Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
36
36
question_id
int64
458k
57.1M
chunk_index
int32
0
19
embedding_text
stringlengths
37
9.5k
dense_tokens
int32
9
1.02k
sparse_tokens
int32
10
1.02k
languages
listlengths
1
4
tags
listlengths
1
5
payload_json
stringlengths
409
564
dense
list
sparse_indices
listlengths
7
460
sparse_values
listlengths
7
460
fbca3c21-62d3-539d-b6c9-a667f64af964
458,304
0
Title: How can I programmatically determine if my app is running in the iphone simulator? As the question states, I would mainly like to know whether or not my code is running in the simulator, but would also be interested in knowing the specific iphone version that is running or being simulated. EDIT: I added the w...
122
133
[ "objective-c", "swift" ]
[ "ios", "objective-c", "swift", "xcode", "ios-simulator" ]
{"accepted_answer_id":458388,"answer_count":21,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2009-01-19T16:55:32.907000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["objective-c","swift"],"last_activity_date":"2022-10-21T10:06:45.840000+00:00","last_edit_date":"2018-08-08T13:10...
[ -0.0207977294921875, -0.0204315185546875, -0.0071868896484375, -0.007129669189453125, -0.0023021697998046875, 0.0139617919921875, 0.01081085205078125, 0.00015878677368164062, 0.012176513671875, -0.01556396484375, -0.043243408203125, 0.01568603515625, 0.039215087890625, -0.00920867919921875...
[ 18, 23, 47, 70, 83, 450, 479, 748, 759, 831, 903, 959, 1290, 1884, 2174, 2806, 3004, 3674, 3714, 4027, 5844, 6183, 6275, 8035, 8951, 9655, 11249, 11389, 11720, 16487, 18151, 19048, 22691, 26698, 29458, 36766, 39041, 40226, 48962, 51042, ...
[ 0.09228515625, 0.10107421875, 0.012451171875, 0.011474609375, 0.06640625, 0.00634765625, 0.0732421875, 0.025634765625, 0.043701171875, 0.054443359375, 0.01318359375, 0.036865234375, 0.185546875, 0.055419921875, 0.095703125, 0.007568359375, 0.0703125, 0.07763671875, 0.1162109375, ...
c0bb52cd-0852-58a9-a78a-1c7f4f48d00c
576,265
0
Title: Convert NSDate to NSString How do I convert, NSDate to NSString so that only the year in @"yyyy" format is output to the string?
33
41
[ "objective-c", "swift" ]
[ "objective-c", "swift", "nsstring", "nsdate" ]
{"accepted_answer_id":930786,"answer_count":19,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2009-02-23T01:18:24.413000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["objective-c","swift"],"last_activity_date":"2021-11-28T17:31:01.313000+00:00","last_edit_date":"2018-11-07T13:57...
[ -0.01375579833984375, -0.01221466064453125, -0.020172119140625, -0.0276336669921875, 0.003246307373046875, 0.00848388671875, -0.021942138671875, 0.01239776611328125, 0.01381683349609375, -0.009307861328125, 0.0166015625, -0.01387786865234375, 0.0252685546875, -0.034881591796875, 0.005989...
[ 23, 47, 54, 70, 214, 221, 1374, 1657, 4734, 6602, 9384, 11249, 11549, 34034, 48962, 52700, 71713, 79315, 86291, 96760, 140992 ]
[ 0.033447265625, 0.1123046875, 0.0150146484375, 0.064453125, 0.158203125, 0.005859375, 0.1357421875, 0.0615234375, 0.1015625, 0.2197265625, 0.171875, 0.007568359375, 0.1513671875, 0.224609375, 0.06884765625, 0.2294921875, 0.2236328125, 0.21875, 0.2734375, 0.1884765625, 0.15136...
65f41199-97e4-58d6-996c-a9786a3f43ac
675,887
0
"Title: Hiding UITabBar when pushing a UIView\n\nI have a UITabBarController where the default view (...TRUNCATED)
115
142
[ "objective-c", "swift" ]
[ "ios", "objective-c", "swift", "uitabbarcontroller", "uinavigationbar" ]
"{\"accepted_answer_id\":1702380,\"answer_count\":9,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED)
[0.0009784698486328125,-0.00902557373046875,-0.005916595458984375,-0.01488494873046875,0.01147460937(...TRUNCATED)
[13,47,70,112,214,345,603,979,988,990,1274,3229,3444,5928,6305,6706,7722,8108,8852,9843,14677,19048,(...TRUNCATED)
[0.0145263671875,0.0380859375,0.00732421875,0.1728515625,0.08740234375,0.068359375,0.111328125,0.121(...TRUNCATED)
817e9f46-94c3-5538-9fbd-d1cfce0d832e
838,724
0
Title: How can I scan barcodes on iOS? How can I simply scan barcodes on iPhone and/or iPad?
26
27
[ "swift" ]
[ "ios", "swift", "iphone", "cocoa-touch", "barcode" ]
"{\"accepted_answer_id\":862656,\"answer_count\":12,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED)
[-0.005512237548828125,-0.01299285888671875,-0.023712158203125,-0.03338623046875,-0.0144195556640625(...TRUNCATED)
[ 64, 98, 136, 831, 988, 4289, 11249, 13964, 17987, 42856, 44954, 48962, 97432 ]
[0.01416015625,0.048095703125,0.0390625,0.072265625,0.2109375,0.18359375,0.0576171875,0.2294921875,0(...TRUNCATED)
13e8b305-91f3-557e-871b-48b4a057433d
861,986
0
"Title: How do I enable directional lock for a UIScrollView?\n\nI have a UIScrollView with a UIView (...TRUNCATED)
47
62
[ "swift" ]
[ "ios", "swift", "uiscrollview" ]
"{\"accepted_answer_id\":862046,\"answer_count\":3,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[0.0192718505859375,0.0063323974609375,0.0174560546875,-0.0019855499267578125,-0.017333984375,-0.018(...TRUNCATED)
[22,54,87,214,289,297,1022,2886,3444,4734,11249,21455,27722,33102,46132,48225,48962,56776,61278,7925(...TRUNCATED)
[0.049560546875,0.009521484375,0.00390625,0.0751953125,0.146484375,0.052978515625,0.1162109375,0.126(...TRUNCATED)
a207403f-c95f-5289-877f-e4d398f259fb
1,246,198
0
"Title: Show iPhone cut copy paste menu on UILabel\n\n \nCan we enable the cut copy paste menu for a(...TRUNCATED)
64
76
[ "swift" ]
[ "ios", "swift", "iphone", "xcode", "cocoa-touch" ]
"{\"accepted_answer_id\":null,\"answer_count\":12,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED)
[0.02593994140625,-0.0175323486328125,0.0133819580078125,-0.0157470703125,-0.0020275115966796875,-0.(...TRUNCATED)
[22,47,98,100,237,345,442,642,831,959,2886,3642,3871,4171,4289,6159,8026,10941,16444,17367,19388,436(...TRUNCATED)
[0.058349609375,0.00439453125,0.0185546875,0.0126953125,0.025146484375,0.103515625,0.0311279296875,0(...TRUNCATED)
f392ad9f-df48-51e2-991d-b037668bd5fb
1,268,509
0
"Title: iOS: Convert UTC NSDate to local Timezone\n\nHow do I convert a UTC NSDate to local timezone(...TRUNCATED)
33
38
[ "objective-c", "swift" ]
[ "ios", "objective-c", "swift", "timezone", "nsdate" ]
"{\"accepted_answer_id\":null,\"answer_count\":15,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED)
[0.0177001953125,-0.002017974853515625,0.004871368408203125,-0.01195526123046875,-0.0002036094665527(...TRUNCATED)
[12,23,47,54,64,313,707,1657,1733,2940,4000,5844,11249,11549,13964,18979,19055,48962,52700,86291,967(...TRUNCATED)
[0.010009765625,0.0009765625,0.109375,0.029296875,0.047607421875,0.1240234375,0.0247802734375,0.0898(...TRUNCATED)
4eea71e6-e46c-53eb-9796-80030b0ba9de
1,320,988
0
"Title: Saving CGImageRef to a png file?\n\nin my Cocoa application, I load a .jpg file from disk, m(...TRUNCATED)
56
62
[ "objective-c", "swift" ]
[ "swift", "objective-c", "cocoa", "core-graphics", "cgimage" ]
"{\"accepted_answer_id\":1321390,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED)
[-0.032684326171875,-0.0180206298828125,0.0177764892578125,-0.0208892822265625,-0.00698089599609375,(...TRUNCATED)
[5,6,11,47,54,67,237,831,947,1295,4358,6496,11249,11435,25687,27117,28338,38415,45258,48962,56367,59(...TRUNCATED)
[0.0380859375,0.00830078125,0.138671875,0.09619140625,0.0157470703125,0.007080078125,0.04833984375,0(...TRUNCATED)
40e2d450-ab61-555b-ad3f-7f003a1955d9
1,375,145
0
"Title: Is there a way to setTitle on a UIButton that updates all UIControlStates at once?\n\nI have(...TRUNCATED)
94
144
[ "swift" ]
[ "iphone", "swift" ]
"{\"accepted_answer_id\":1375168,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED)
[0.0013408660888671875,-0.006168365478515625,-0.0068817138671875,0.0005807876586914062,0.00649642944(...TRUNCATED)
[10,12,32,47,90,98,99,100,450,756,959,981,1176,1507,1884,2071,2685,3917,5423,6863,11341,11343,11522,(...TRUNCATED)
[0.0177001953125,0.0291748046875,0.00390625,0.0595703125,0.00390625,0.032470703125,0.0201416015625,0(...TRUNCATED)
0acd599d-7558-58b6-be51-6d0d536661dc
1,442,822
0
"Title: What is the second parameter of NSLocalizedString()?\n\nWhat is the *comment parameter in:\n(...TRUNCATED)
120
165
[ "objective-c", "swift" ]
[ "ios", "objective-c", "swift", "xcode", "localization" ]
"{\"accepted_answer_id\":1442846,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED)
[0.025634765625,-0.011505126953125,-0.0007824897766113281,0.0213470458984375,-0.007274627685546875,-(...TRUNCATED)
[11,18,70,132,136,214,277,661,674,841,1374,1418,1632,2886,3871,4842,6626,6661,11389,12638,13817,1494(...TRUNCATED)
[0.087890625,0.0240478515625,0.00244140625,0.07177734375,0.013427734375,0.1171875,0.1181640625,0.083(...TRUNCATED)
End of preview. Expand in Data Studio

Stack2Graph vector database: swift

This release contains 373570 text chunks from Stack Overflow with dense and sparse embeddings, selected by the producer's programming-language memberships. Memberships can overlap: a chunk may occur in several language datasets. These labels describe programming languages, not the natural language of the text. extra-languages, when present, contains source rows without a language match. An absent language is never replaced with an empty dataset.

Files and fields

data/vectors-*.parquet contains Zstandard-compressed tables. Each row has a stable id, question_id, chunk_index, embedding_text, model token counts, languages, tags, dense, sparse_indices, sparse_values and payload_json. The last field preserves the complete original Qdrant payload, including source snapshot identity, source dates, scores and answer flags when available. Dense values are float32 representations of the producer's stored float16 values; this does not recover precision discarded during embedding. Sparse weights preserve float32 values and uint32 token indices.

On Hugging Face, load the vectors config with datasets.load_dataset and use streaming for large releases. The dataset viewer uses only the explicitly listed Parquet files. data/dataset.tar.gz is the portable package also used by MDC: extract it to obtain the same Parquet bytes, README and publication.json. The archive is an exchange dataset, not a Qdrant binary snapshot. Import in bounded batches using each row's id, named dense/sparse vectors and decoded payload_json. Recreate collection settings deliberately for your Qdrant version.

Provenance and reproducibility

{
  "after_id": -9223372036854775808,
  "chunk_overlap": 128,
  "chunk_tokens": 1024,
  "collection": "stackoverflow_questions",
  "dense_dimension": 4096,
  "dense_model": "Qwen/Qwen3-Embedding-8B",
  "dense_revision": "1d8ad4ca9b3dd8059ad90a75d4983776a23d44af",
  "question_limit": null,
  "registry_digest": "d2a7357c04e7f47d9bb598189aeeb7db0680d6b35f0d9695d8d2e544121afb8e",
  "snapshot_digest": "56fe643952cec74b17ea13d91edc8ad95181326156177c94cce48d3fed9834b9",
  "snapshot_id": "stackexchange_20260630_sakura",
  "sparse_model": "BAAI/bge-m3",
  "sparse_revision": "5617a9f61b028005a4858fdac845db406aefb181"
}

Export identity: bc9f696c9588560e3be547879c58b96c50c64e3828495471bee43e504392ec7f. Point-ID configuration digest: d16d58c9e7b8007664e3f77b4e9f4a1689a8b8de2c6727b479595621b25e3460. Point IDs use the same snapshot/configuration/question/chunk UUID derivation as the project's Qdrant loader. publication.json lists exact file sizes, SHA-256 hashes, row count, source identity and model/chunking settings. On HF, release.json additionally verifies all managed remote files. Only locally finalized runs with matching stage/report counts are published. The uploader does not re-embed text or query a running database.

Uses and limitations

Intended for dense, sparse and hybrid retrieval, retrieval-augmented generation and reproducible search experiments. Retrieval quality depends on the pinned models and chunking configuration. Overlapping chunks and language memberships are not independent samples; split evaluations by source question to avoid leakage. Source questions can contain personal data, obsolete code, errors and biases. Source-window limits are recorded above. No retrieval benchmark or completeness beyond the recorded source window is claimed.

Attribution and licensing

Derived from Stack Overflow content. Preserve the original post/author attribution and applicable Stack Overflow licensing when redistributing or displaying source content. Question IDs and source snapshot are retained to resolve source posts. This publication declares CC BY-SA 4.0; embedding model licenses and any upstream obligations still apply. Pinned model names and revisions above identify their model cards for review.

Source and procedures: https://github.com/tha-atlas/Stack2Graph. When citing this dataset, include the dataset repository, immutable release revision, source snapshot, export identity, model revisions and the project.

Project citation: Kleybolte, Ventura and Zarcone (2026), Stack2Graph, KG-LLM at LREC26. https://doi.org/10.63317/583q4d3mwbdu.

Downloads last month
40

Collection including Mo7art/Stack2Graph_VD_swift