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
77443178_c0
77443178
typescript
0
Title: how can i install typescript Problem title: how can i install typescript Tags: installation, macos, typescript Problem: how can i install typescript
how can i install typescript how can i install typescript installation macos typescript how can i install typescript
[ 0.00390625, 0.01373291015625, -0.004119873046875, 0.0162353515625, -0.01025390625, -0.00726318359375, 0.003509521484375, -0.00020885467529296875, -0.016357421875, -0.000904083251953125, 0.004150390625, -0.041015625, -0.01275634765625, -0.003936767578125, 0.010986328125, 0.0093383789062...
[ 3642, 831, 17, 20600, 10644, 32032, 59720, 291, 7840 ]
[ 0.05743408203125, 0.09698486328125, 0.08135986328125, 0.2161865234375, 0.222412109375, 0.293701171875, 0.1431884765625, 0.07073974609375, 0.18896484375 ]
embed
73683897_c6
73683897
typescript
6
.273177, L80.0044017, M242.795048, L172.333425, C172.333425, C158.670702, L242.795048, EACA05, M72.5392022, C62.6442916, L74.1237964, C74.1237964, L72.5392022, DF3A32
.273177, L80.0044017, M242.795048, L172.333425, C172.333425, C158.670702, L242.795048, EACA05, M72.5392022, C62.6442916, L74.1237964, C74.1237964, L72.5392022, DF3A32
[ 0.016845703125, -0.00665283203125, -0.006927490234375, 0.020263671875, 0.021240234375, 0.01092529296875, 0.005615234375, 0.0091552734375, 0.0419921875, 0.0230712890625, -0.0026397705078125, -0.00732421875, -0.0172119140625, -0.00153350830078125, -0.002655029296875, 0.01080322265625, ...
[ 6, 5, 3768, 363, 144283, 4, 339, 1019, 37509, 141929, 2489, 276, 2357, 5442, 22377, 2525, 9285, 120883, 124618, 2588, 313, 137197, 108620, 162110, 241, 85955, 8194, 12825, 188758, 151159, 10837, 185355, 4235, 2485, 16360, 141520, 13307, 98411...
[ 0.147705078125, 0.1884765625, 0.2049560546875, 0.173828125, 0.212890625, 0.148193359375, 0.1461181640625, 0.1341552734375, 0.1778564453125, 0.1661376953125, 0.1441650390625, 0.1148681640625, 0.1724853515625, 0.082275390625, 0.1181640625, 0.103759765625, 0.1533203125, 0.093078613281...
embed
67953563_c0
67953563
typescript
0
Title: Typing variadic arguments Problem title: Typing variadic arguments Tags: generics, typescript Problem: Typing variadic arguments Code signals: Typing, Error, Array, args.reduce
Typing variadic arguments Typing variadic arguments generics typescript Typing Error Array args.reduce Typing variadic arguments I was writing a utility function which is closer to lodash zip but since I only wanted to pass arguments type of [any, Error[]] I decided to write my own function which is something similar t...
[ -0.00927734375, -0.016845703125, -0.01531982421875, 0.01080322265625, 0.012939453125, 0.01025390625, -0.0302734375, -0.0025177001953125, 0.014892578125, -0.005157470703125, 0.0107421875, -0.036376953125, 0.0184326171875, 0.0101318359375, -0.0068359375, -0.00933837890625, 0.0106201171...
[ 33417, 214, 16757, 18403, 10750, 189534, 10644, 32032, 212059, 69253, 53, 79459, 107, 106357, 32562, 19537, 939, 32354, 20903, 42, 459, 155892, 68330, 4734, 36663, 27875, 7, 4848, 1065, 68872, 33022, 759, 10002, 21373, 903, 104272, 959, 26785...
[ 0.19873046875, 0.0921630859375, 0.23974609375, 0.154541015625, 0.2344970703125, 0.1636962890625, 0.1361083984375, 0.181396484375, 0.1851806640625, 0.09149169921875, 0.0211944580078125, 0.14501953125, 0.1160888671875, 0.194091796875, 0.1190185546875, 0.1295166015625, 0.05426025390625,...
embed
51210923_c0
51210923
typescript
0
"Title: cannot define a JSON array\nProblem title: cannot define a JSON array\nTags: json, typescrip(...TRUNCATED)
"cannot define a JSON array cannot define a JSON array json typescript arrays JSON book1 his-1 book1(...TRUNCATED)
[-0.00482177734375,0.0198974609375,-0.020263671875,0.025146484375,-0.00726318359375,-0.005126953125,(...TRUNCATED)
[53418,61924,10,821,58627,10298,53,1647,1681,10644,32032,4778,12877,418,1919,5759,128468,31577,2046,(...TRUNCATED)
[0.153564453125,0.260009765625,0.04779052734375,0.1640625,0.240966796875,0.2340087890625,0.180297851(...TRUNCATED)
embed
42082330_c0
42082330
typescript
0
"Title: what is error in problom?\nProblem title: what is error in problom?\nTags: typescript, angul(...TRUNCATED)
"what is error in problom? what is error in problom? typescript angularjs Component InlineTemplate c(...TRUNCATED)
[0.01312255859375,-0.0137939453125,-0.016357421875,0.0029296875,-0.0159912109375,0.025146484375,-0.0(...TRUNCATED)
[2367,83,18499,23,502,106731,32,10644,32032,348,35975,28175,54137,360,2256,159065,19309,10576,2822,2(...TRUNCATED)
[0.036041259765625,0.0687255859375,0.265625,0.119873046875,0.1590576171875,0.297607421875,0.00054216(...TRUNCATED)
embed
53012916_c0
53012916
typescript
0
"Title: Type is not checking for any type\nProblem title: Type is not checking for any type\nTags: t(...TRUNCATED)
"Type is not checking for any type Type is not checking for any type typescript Type Foo fooList.map(...TRUNCATED)
[0.00665283203125,-0.005218505859375,-0.0098876953125,0.01470947265625,-0.017333984375,-0.0078125,0.(...TRUNCATED)
[60457,959,175199,100,2499,10644,32032,9572,31,5775,154663,62346,1299,206984,27781,18151,84751,18499(...TRUNCATED)
[0.25,0.103271484375,0.2254638671875,0.1136474609375,0.0648193359375,0.1873779296875,0.1641845703125(...TRUNCATED)
embed
66546065_c2
66546065
typescript
2
"9.gspxj, index.js:52:22, AppRouter.tsx:1:61, App.tsx:1:53, W20210309-14:48:24.731, main.tsx:1:27, m(...TRUNCATED)
"9.gspxj, index.js:52:22, AppRouter.tsx:1:61, App.tsx:1:53, W20210309-14:48:24.731, main.tsx:1:27, m(...TRUNCATED)
[0.01483154296875,0.00982666015625,-0.01806640625,-0.0208740234375,0.0042724609375,-0.00543212890625(...TRUNCATED)
[3569,9405,88684,170,4,63262,5,28175,33915,24070,5659,12724,25208,933,425,19721,12,11540,31690,601,1(...TRUNCATED)
[0.2034912109375,0.110107421875,0.1815185546875,0.2451171875,0.061676025390625,0.2183837890625,0.070(...TRUNCATED)
embed
74093134_c0
74093134
typescript
0
"Title: Sort an array of date ranges in typeScript\nProblem title: Sort an array of date ranges in t(...TRUNCATED)
"Sort an array of date ranges in typeScript Sort an array of date ranges in typeScript reactjs types(...TRUNCATED)
[-0.0089111328125,0.006561279296875,-0.0019989013671875,0.01513671875,-0.022216796875,-0.01385498046(...TRUNCATED)
[53666,10298,53,111,5622,37457,10644,147845,23,131300,28175,32032,69253,7,3444,12096,7639,42850,8659(...TRUNCATED)
[0.216552734375,0.1767578125,0.1204833984375,0.045867919921875,0.1329345703125,0.198486328125,0.1417(...TRUNCATED)
embed
67964426_c0
67964426
typescript
0
"Title: number prob in ts and js\nProblem title: number prob in ts and js\nTags: typescript, reactjs(...TRUNCATED)
"number prob in ts and js number prob in ts and js typescript reactjs javascript number prob in ts a(...TRUNCATED)
[0.01483154296875,-0.0027618408203125,-0.0179443359375,-0.028076171875,0.00262451171875,-0.010314941(...TRUNCATED)
[14012,43011,23,61636,136,1647,7,10644,32032,131300,28175,136951,75935,3173,17368,11435,83,111,5,933(...TRUNCATED)
[0.18701171875,0.2578125,0.07403564453125,0.1912841796875,0.1434326171875,0.14794921875,0.0726928710(...TRUNCATED)
embed
72467183_c0
72467183
typescript
0
"Title: make new array combination of others\nProblem title: make new array combination of others\nT(...TRUNCATED)
"make new array combination of others make new array combination of others javascript angular typesc(...TRUNCATED)
[-0.0262451171875,0.030029296875,-0.029541015625,0.01068115234375,-0.0096435546875,0.00250244140625,(...TRUNCATED)
[3249,3525,10298,53,162515,111,27060,136951,348,35975,10644,32032,34292,155103,4015,21224,23972,7764(...TRUNCATED)
[0.13134765625,0.196044921875,0.222412109375,0.1578369140625,0.2666015625,0.1192626953125,0.18457031(...TRUNCATED)
embed
End of preview. Expand in Data Studio

Typescript StackOverflow Vector Dataset Datasheet

1. What This Dataset Is

This dataset is the Typescript-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 Typescript 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 Typescript 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_typescript_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
11