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
39328243_c0
39328243
swift
0
Title: Failed to run application Problem title: Failed to run application Tags: swift, macos Problem: Failed to run application Code signals: Failed
Failed to run application Failed to run application swift macos Failed Failed to run application When I'm running app it gives the build target failed with these issues, but when I run my app to another mac it runs successfully. What's the issue?
[ 0.00144195556640625, 0.0123291015625, -0.00958251953125, 0.01611328125, -0.008056640625, 0.000579833984375, 0.0126953125, 0.0007781982421875, -0.017578125, 0.006866455078125, -0.00049591064453125, -0.01141357421875, -0.0103759765625, 0.0274658203125, 0.0057373046875, -0.007476806640625...
[ 190355, 297, 47, 11675, 38415, 91, 2452, 2480, 291, 7840, 51042, 4027, 76199, 45367, 30388, 165523, 6097, 37348, 15700, 19138, 127877, 65771, 31089 ]
[ 0.192626953125, 0.09197998046875, 0.059326171875, 0.1685791015625, 0.189697265625, 0.0169219970703125, 0.1456298828125, 0.125, 0.07037353515625, 0.150146484375, 0.1414794921875, 0.1728515625, 0.013763427734375, 0.1624755859375, 0.2408447265625, 0.2010498046875, 0.012969970703125, 0...
embed
66802939_c3
66802939
swift
3
5, e97d-49f4-b82d-1d6d6bc94640.png, fd2e9c97-89c9-42dd-80b7-967d5ec21da8, e97d-49f4-b82d-1d6d6bc94640.mp4, f972e303412d, mp4, c31cd859-efa6-4351-836a-2e92f800808a
5, e97d-49f4-b82d-1d6d6bc94640.png, fd2e9c97-89c9-42dd-80b7-967d5ec21da8, e97d-49f4-b82d-1d6d6bc94640.mp4, f972e303412d, mp4, c31cd859-efa6-4351-836a-2e92f800808a
[ 0.001556396484375, 0.01068115234375, -0.0106201171875, 0.033935546875, -0.0026092529296875, 0.0037384033203125, -0.0135498046875, -0.0012359619140625, 0, 0.03125, -0.0118408203125, 0.0081787109375, -0.001190185546875, -0.00002574920654296875, -0.01300048828125, 0.01397705078125, -0.0...
[ 190, 4, 28, 14773, 71, 9, 12977, 420, 35748, 275, 12012, 5759, 910, 65037, 14889, 169898, 5, 128468, 1238, 304, 13, 1126, 18949, 238, 124596, 4028, 84632, 50775, 206331, 3240, 3117, 85, 1019, 2676, 617, 1197, 10289, 1530, 9607, 501, 501...
[ 0.264892578125, 0.128662109375, 0.1083984375, 0.266357421875, 0.146484375, 0.0909423828125, 0.2431640625, 0.109130859375, 0.1102294921875, 0.099365234375, 0.1773681640625, 0.074951171875, 0.0821533203125, 0.1146240234375, 0.235107421875, 0.27783203125, 0.1173095703125, 0.3220214843...
embed
37520944_c4
37520944
swift
4
.9, pk1.9, s1.9, a1.9, p1.10, pk1.10, s1.10, a1.10, p1.11, pk1.11, s1.11, a1.11, p1.12, pk1.12, s1.12, a1.12, p2.1, pk2.1, s2.1, a2.1, p2.2, pk2.2, s2.2, a2.2, p2.3, pk2.3, s2.3
.9, pk1.9, s1.9, a1.9, p1.10, pk1.10, s1.10, a1.10, p1.11, pk1.11, s1.11, a1.11, p1.12, pk1.12, s1.12, a1.12, p2.1, pk2.1, s2.1, a2.1, p2.2, pk2.2, s2.2, a2.2, p2.3, pk2.3, s2.3
[ -0.00445556640625, -0.005584716796875, -0.030517578125, 0.016357421875, -0.005615234375, -0.00141143798828125, -0.00665283203125, 0.0054931640625, 0.0223388671875, 0.029052734375, 0.019775390625, 0.01708984375, 0.00140380859375, -0.0150146484375, -0.0035400390625, 0.00167083740234375, ...
[ 6, 5, 1126, 4, 38988, 158304, 91, 10, 915, 418, 963, 92134, 304, 68107, 70147, 120883 ]
[ 0.1650390625, 0.1859130859375, 0.2666015625, 0.105224609375, 0.2069091796875, 0.28271484375, 0.17431640625, 0.1688232421875, 0.13623046875, 0.1163330078125, 0.1806640625, 0.156494140625, 0.129638671875, 0.204345703125, 0.1829833984375, 0.2034912109375 ]
embed
58474729_c22
58474729
swift
22
"uczpzdG9yaz0idXJuOmV1OnN0b3JrOm5hbWVzOnRjOlNUT1JLOjEuMDphc3NlcnRpb24iIHhtbG5zOnNhbWwycD0idXJuOm9hc2(...TRUNCATED)
"uczpzdG9yaz0idXJuOmV1OnN0b3JrOm5hbWVzOnRjOlNUT1JLOjEuMDphc3NlcnRpb24iIHhtbG5zOnNhbWwycD0idXJuOm9hc2(...TRUNCATED)
[-0.0026397705078125,0.0169677734375,-0.0235595703125,-0.011962890625,0.0087890625,-0.0220947265625,(...TRUNCATED)
[75,1863,254,14724,724,1126,83086,275,17632,17014,19,2357,1456,397,169,87455,434,334,4235,568,14,571(...TRUNCATED)
[0.0887451171875,0.051971435546875,0.00738525390625,0.04986572265625,0.08892822265625,0.104614257812(...TRUNCATED)
embed
64049516_c0
64049516
swift
0
"Title: Swift flatMap chain unwrap\nProblem title: Swift flatMap chain unwrap\nTags: swift, combine\(...TRUNCATED)
"Swift flatMap chain unwrap Swift flatMap chain unwrap swift combine Swift Future Error AnyPublisher(...TRUNCATED)
[0.0130615234375,0.0361328125,-0.021728515625,0.022216796875,-0.00041961669921875,-0.00958251953125,(...TRUNCATED)
[130643,49878,166179,121293,51,434,13631,2452,2480,70163,94724,212059,28541,143145,15227,56,9563,393(...TRUNCATED)
[0.265380859375,0.23974609375,0.2369384765625,0.2147216796875,0.07830810546875,0.04498291015625,0.19(...TRUNCATED)
embed
58826778_c0
58826778
swift
0
"Title: Aggregate Action with CoreData\nProblem title: Aggregate Action with CoreData\nTags: swift, (...TRUNCATED)
"Aggregate Action with CoreData Aggregate Action with CoreData swift nsexpression core-data Aggregat(...TRUNCATED)
[0.000949859619140625,-0.01019287109375,-0.0211181640625,0.02880859375,0.00811767578125,-0.003173828(...TRUNCATED)
[12342,68722,2182,57945,678,31365,137989,2452,2480,1779,204629,56458,10135,3647,112892,36746,6626,15(...TRUNCATED)
[0.01458740234375,0.18994140625,0.028778076171875,0.1866455078125,0.0809326171875,0.165771484375,0.1(...TRUNCATED)
embed
52600055_c2
52600055
swift
2
"00e7la, U0131l, U0131r, U011fal, U0131, U015f, U015eili, U00fcneyi, U00fcnaybat, Arjantin, U011flar(...TRUNCATED)
"00e7la, U0131l, U0131r, U011fal, U0131, U015f, U015eili, U00fcneyi, U00fcnaybat, Arjantin, U011flar(...TRUNCATED)
[0.00897216796875,0.0006256103515625,-0.00177001953125,-0.00103759765625,0.0146484375,-0.01245117187(...TRUNCATED)
[7227,966,143,4,345,6746,5016,141,42,136485,8710,1837,420,2104,7049,140443,10186,14,13650,2848,1172,(...TRUNCATED)
[0.215087890625,0.091064453125,0.18701171875,0.0885009765625,0.13232421875,0.1082763671875,0.2126464(...TRUNCATED)
embed
44474451_c0
44474451
swift
0
"Title: IBAction sender type\nProblem title: IBAction sender type\nTags: ios, swift\nProblem: IBActi(...TRUNCATED)
"IBAction sender type IBAction sender type ios swift IBAction IBAction sender type what is the diffe(...TRUNCATED)
[-0.0079345703125,0.01214599609375,-0.00092315673828125,0.01068115234375,-0.0107421875,-0.0122680664(...TRUNCATED)
[88049,10763,59146,10644,17,232,91,2452,2480,2367,83,70,60212,17721,33457,25267,8789,1507,2982,3789,(...TRUNCATED)
[0.2364501953125,0.1861572265625,0.1776123046875,0.1640625,0.07135009765625,0.1416015625,0.020904541(...TRUNCATED)
embed
39809591_c0
39809591
swift
0
"Title: Music player error\nProblem title: Music player error\nTags: ios, swift, xcode\nProblem: Mus(...TRUNCATED)
"Music player error Music player error ios swift xcode Music AVAudioPlayer URL audioPlayer.prepareTo(...TRUNCATED)
[-0.0089111328125,0.01422119140625,-0.00074005126953125,0.0159912109375,-0.005126953125,-0.001762390(...TRUNCATED)
[13703,58585,18499,17,232,2452,2480,1022,40899,47688,43521,142581,31862,18215,4692,16082,7763,97054,(...TRUNCATED)
[0.186767578125,0.261474609375,0.2091064453125,0.0579833984375,0.1539306640625,0.1439208984375,0.122(...TRUNCATED)
embed
55511034_c0
55511034
swift
0
"Title: get constraints of view\nProblem title: get constraints of view\nTags: swift, ios\nProblem: (...TRUNCATED)
"get constraints of view get constraints of view swift ios get constraints of view How to get leadin(...TRUNCATED)
[0.00177001953125,0.0021514892578125,0.006622314453125,-0.01214599609375,0.0146484375,-0.02514648437(...TRUNCATED)
[2046,158,2816,4288,7,111,21455,91,2452,2480,17,232,47,105207,141037,214,2663,136,103136,111481,1004(...TRUNCATED)
[0.1124267578125,0.1175537109375,0.1920166015625,0.17333984375,0.0802001953125,0.1265869140625,0.239(...TRUNCATED)
embed
End of preview. Expand in Data Studio

Swift StackOverflow Vector Dataset Datasheet

1. What This Dataset Is

This dataset is the Swift-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 Swift 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 Swift 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_swift_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
8