Dataset Viewer
Auto-converted to Parquet Duplicate
chunk_id
large_stringlengths
7
12
question_id
large_stringlengths
4
8
language
large_stringclasses
1 value
chunk_index
int64
0
18
chunk_text
large_stringlengths
107
3.02k
sparse_text
large_stringlengths
108
12.8k
dense_vector
listlengths
3.58k
3.58k
sparse_indices
listlengths
4
275
sparse_values
listlengths
4
275
export_source
large_stringclasses
1 value
26860396_c0
26860396
powershell
0
Title: sort number strings Problem title: sort number strings Tags: powershell Problem: sort number strings
sort number strings sort number strings powershell sort number strings Read text file data: and then sort the result: I have tried get-content file txt | sort-object -unique , but the result is:
[ 0.005584716796875, -0.005950927734375, -0.00421142578125, 0.007110595703125, -0.00994873046875, -0.000728607177734375, 0.0016326904296875, -0.0002918243408203125, 0.00762939453125, 0.035400390625, -0.031494140625, 0.01043701171875, 0.006378173828125, 0.018798828125, -0.000843048095703125...
[ 12096, 14012, 79315, 14537, 128019, 4764, 7986, 11435, 2053, 16750, 37842, 2046, 69246, 124326, 187694, 34, 45602 ]
[ 0.2490234375, 0.1656494140625, 0.2183837890625, 0.1474609375, 0.211669921875, 0.1744384765625, 0.13623046875, 0.1475830078125, 0.11474609375, 0.119140625, 0.03265380859375, 0.04730224609375, 0.1558837890625, 0.15673828125, 0.1591796875, 0.00765228271484375, 0.147705078125 ]
embed
48273549_c0
48273549
powershell
0
Title: skip a command in powershell Problem title: skip a command in powershell Tags: powershell, curl Problem: skip a command in powershell Code signals: SCAN, ROUND
skip a command in powershell skip a command in powershell powershell curl SCAN ROUND skip a command in powershell I have 20 curl commands in powershell. I created a loop to run them continually. When a command responses too long maybe it is error, i want to skip it to the others commands continue.
[ -0.005859375, -0.0023956298828125, 0.006988525390625, 0.0194091796875, -0.00909423828125, 0.0107421875, 0.003753662109375, -0.006011962890625, 0.00634765625, 0.0203857421875, -0.00946044921875, 0.02197265625, -0.021240234375, 0.02587890625, -0.018310546875, 0.021484375, -0.0066528320...
[ 21658, 75101, 14537, 128019, 10, 23, 9709, 141, 99849, 19452, 34384, 765, 387, 7, 75935, 40956, 11675, 2856, 9454, 57553, 5792, 4989, 51139, 18499, 3444, 47, 442, 27060, 21342 ]
[ 0.2171630859375, 0.2734375, 0.1265869140625, 0.2626953125, 0.0261688232421875, 0.0239105224609375, 0.18310546875, 0.1947021484375, 0.2109375, 0.1689453125, 0.1556396484375, 0.046173095703125, 0.13330078125, 0.1044921875, 0.066162109375, 0.170654296875, 0.0902099609375, 0.0028076171...
embed
25369723_c0
25369723
powershell
0
Title: PowerShell math wrong Problem title: PowerShell math wrong Tags: powershell, powershell-2.0 Problem: PowerShell math wrong Code signals: PowerShell, powershell-2.0
PowerShell math wrong PowerShell math wrong powershell powershell-2.0 PowerShell powershell-2.0 PowerShell math wrong Why does PowerShell seem to give me wrong answers sometimes when the answer is between 0 and 1?
[ 0.00555419921875, 0.01019287109375, -0.01531982421875, 0.0079345703125, -0.01336669921875, 0.0052490234375, -0.021728515625, 0.013671875, -0.0003414154052734375, 0.0208740234375, -0.00909423828125, 0.0223388671875, 0.00872802734375, 0.025634765625, 0.0133056640625, 0.00701904296875, ...
[ 17170, 294, 79544, 48909, 44691, 14537, 128019, 73011, 44084, 14602, 48903, 8337, 163, 35166, 68018, 3229, 17721, 757, 136, 106 ]
[ 0.2025146484375, 0.12939453125, 0.25146484375, 0.231201171875, 0.21630859375, 0.1336669921875, 0.25634765625, 0.181884765625, 0.041015625, 0.0260009765625, 0.07763671875, 0.022552490234375, 0.010040283203125, 0.17236328125, 0.114990234375, 0.0406494140625, 0.10400390625, 0.14587402...
embed
56906050_c1
56906050
powershell
1
"1, a16990384-3, a2169135-3, a2289685-3, a2310806-3, Active, a16991667-3, a2064837-3, a2282463-3, a2(...TRUNCATED)
"1, a16990384-3, a2169135-3, a2289685-3, a2310806-3, Active, a16991667-3, a2064837-3, a2282463-3, a2(...TRUNCATED)
[-0.0002994537353515625,-0.002197265625,-0.0087890625,0.031494140625,-0.013427734375,-0.015991210937(...TRUNCATED)
[106,4,10,2485,61158,117180,8316,304,141492,88622,127126,171141,3742,168630,910,88441,12183,142745,1(...TRUNCATED)
[0.1978759765625,0.1180419921875,0.2178955078125,0.189453125,0.2353515625,0.2744140625,0.25927734375(...TRUNCATED)
embed
38403068_c0
38403068
powershell
0
"Title: Sorting dates in a textfile\nProblem title: Sorting dates in a textfile\nTags: sorting, powe(...TRUNCATED)
"Sorting dates in a textfile Sorting dates in a textfile sorting powershell Sorting D5412 Bingo Debb(...TRUNCATED)
[0.0140380859375,-0.01202392578125,0.022705078125,0.0140380859375,-0.0068359375,-0.00872802734375,-0(...TRUNCATED)
[53666,214,112474,23,7986,29822,12096,14537,128019,391,12338,1530,73751,31,262,5125,76569,2844,11435(...TRUNCATED)
[0.2237548828125,0.057861328125,0.2108154296875,0.039398193359375,0.1231689453125,0.19384765625,0.24(...TRUNCATED)
embed
46083794_c0
46083794
powershell
0
"Title: Assign data to a string\nProblem title: Assign data to a string\nTags: powershell\nProblem: (...TRUNCATED)
"Assign data to a string Assign data to a string powershell Assign Get-Process Handles NPM CPU Proce(...TRUNCATED)
[0.0203857421875,-0.01470947265625,-0.02099609375,0.050048828125,-0.00933837890625,0.002853393554687(...TRUNCATED)
[1301,31304,2053,47,79315,14537,128019,20779,10752,26531,10639,1577,20266,86039,123996,163612,7704,3(...TRUNCATED)
[0.07598876953125,0.255615234375,0.18115234375,0.127197265625,0.264404296875,0.1387939453125,0.22155(...TRUNCATED)
embed
73113493_c1
73113493
powershell
1
"BhYjEtZjY3OC00ZmZkLWE1NTEtNWUzYTU5ZTg0NjEwIiwiUGFnZVNpemUiOjUwMCwiSW5jbHVkZUdyb3VwcyI6dHJ1ZSwiSW5jb(...TRUNCATED)
"BhYjEtZjY3OC00ZmZkLWE1NTEtNWUzYTU5ZTg0NjEwIiwiUGFnZVNpemUiOjUwMCwiSW5jbHVkZUdyb3VwcyI6dHJ1ZSwiSW5jb(...TRUNCATED)
[-0.00213623046875,0.02734375,0.002777099609375,-0.00482177734375,-0.00104522705078125,0.017578125,-(...TRUNCATED)
[64885,1723,170,69824,1511,363,29065,7049,24592,19454,618,647,2452,72508,89023,101422,856,2408,71,84(...TRUNCATED)
[0.1094970703125,0.03399658203125,0.0220794677734375,0.03924560546875,0.0887451171875,0.008697509765(...TRUNCATED)
embed
69011497_c2
69011497
powershell
2
" ae9272376db629622f1c9fc5e775d266fd1997f69c72a1d1f1eb7592968c4c3fdf2c2471b55f225fc73333363bb1566ea5(...TRUNCATED)
"_cond Powershell: how to create a link to a website I have a litte problem. Right now I have the fo(...TRUNCATED)
[-0.00872802734375,-0.02099609375,-0.0108642578125,0.0078125,-0.00087738037109375,0.0084228515625,-0(...TRUNCATED)
[101,2271,71,17170,128019,3642,47,28282,10,3126,4165,765,5794,2967,25632,18151,131492,11435,140992,6(...TRUNCATED)
[0.031890869140625,0.0958251953125,0.0906982421875,0.15185546875,0.264404296875,0.080322265625,0.161(...TRUNCATED)
embed
32887353_c1
32887353
powershell
1
"00000001_2015_9_1.xml, aa_bb_000000001_2015_9_15.xml, aa_bb_000000001_2015_10_1.xml, aa_bb_00000000(...TRUNCATED)
"00000001_2015_9_1.xml, aa_bb_000000001_2015_9_15.xml, aa_bb_000000001_2015_10_1.xml, aa_bb_00000000(...TRUNCATED)
[0.006256103515625,0.0079345703125,-0.01165771484375,0.007232666015625,-0.004486083984375,0.00570678(...TRUNCATED)
[6,197094,6746,454,5357,1126,115187,5,131492,4,10,11,5125,34479,1837,963,97259,758,1019,2592,130171,(...TRUNCATED)
[0.019134521484375,0.2410888671875,0.236572265625,0.1041259765625,0.277587890625,0.2144775390625,0.2(...TRUNCATED)
embed
11369768_c0
11369768
powershell
0
"Title: Powershell: Invalid regular expression\nProblem title: Powershell: Invalid regular expressio(...TRUNCATED)
"Powershell: Invalid regular expression Powershell: Invalid regular expression powershell file-io wi(...TRUNCATED)
[0.004486083984375,-0.0186767578125,0.01104736328125,0.0093994140625,-0.0240478515625,0.0107421875,0(...TRUNCATED)
[17170,128019,360,7013,71,20324,125195,14537,11435,846,54825,425,254,1238,5,25724,11627,75220,145755(...TRUNCATED)
[0.1966552734375,0.281982421875,0.0748291015625,0.19580078125,0.060150146484375,0.2017822265625,0.23(...TRUNCATED)
embed
End of preview. Expand in Data Studio

Powershell StackOverflow Vector Dataset Datasheet

1. What This Dataset Is

This dataset is the Powershell-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 Powershell 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 Powershell 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_powershell_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
15