Dataset Viewer
Auto-converted to Parquet Duplicate
chunk_id
large_stringlengths
4
12
question_id
large_stringlengths
1
8
language
large_stringclasses
1 value
chunk_index
int64
0
35
chunk_text
large_stringlengths
119
3.27k
sparse_text
large_stringlengths
76
3.67k
dense_vector
listlengths
3.58k
3.58k
sparse_indices
listlengths
0
275
sparse_values
listlengths
0
275
export_source
large_stringclasses
1 value
12634982_c0
12634982
csharp
0
Title: C# QR bit array decode Problem title: C# QR bit array decode Tags: qr-code, c%23 Problem: C# QR bit array decode
C# QR bit array decode C# QR bit array decode qr-code c%23 C# QR bit array decode I was wondering is there any libraries that can decode QR code bit array instead of image. For eaxample: Would become "Hi". I don't need any of the image functionality.
[ 0.009521484375, 0.0208740234375, -0.0184326171875, 0.00885009765625, -0.004730224609375, -0.002777099609375, -0.0228271484375, 0.007171630859375, 0.00093841552734375, 0.0174560546875, -0.00506591796875, -0.0238037109375, 0.0057373046875, -0.01531982421875, -0.00970458984375, -0.0123291...
[ 313, 4904, 79631, 4785, 10298, 53, 8, 40899, 8096, 42, 501, 3949, 3742, 149016, 2685, 2499, 35773, 10484, 450, 831, 18151, 64457, 111, 29569, 3798, 33209, 154559, 24209, 20861, 87, 2301, 18, 3871, 123309, 2481 ]
[ 0.06671142578125, 0.2257080078125, 0.238525390625, 0.1861572265625, 0.2000732421875, 0.1396484375, 0.1734619140625, 0.2381591796875, 0.07080078125, 0.110595703125, 0.040557861328125, 0.07061767578125, 0.16943359375, 0.0631103515625, 0.030914306640625, 0.027191162109375, 0.20739746093...
embed
2722598_c0
2722598
csharp
0
Title: compare two ip with C# Problem title: compare two ip with C# Tags: c%23, ip Problem: compare two ip with C# Code signals: ip1, ip2
compare two ip with C# compare two ip with C# c%23 ip ip1 ip2 compare two ip with C# How I can compare two IP address? I need some like this:
[ 0.00732421875, 0.009765625, -0.00970458984375, 0.0302734375, 0.0038604736328125, -0.0023956298828125, -0.01007080078125, 0.02490234375, -0.000499725341796875, 0.008544921875, -0.005767822265625, 0.02197265625, 0.0016632080078125, 0.0157470703125, -0.0185546875, 0.00445556640625, -0.0...
[ 69101, 6626, 17, 254, 678, 313, 4904, 501, 3949, 3742, 418, 304, 11249, 87, 831, 8021, 29823, 3871, 3060, 1884, 903 ]
[ 0.234130859375, 0.16845703125, 0.07598876953125, 0.1790771484375, 0.13623046875, 0.1082763671875, 0.2451171875, 0.046905517578125, 0.004486083984375, 0.1185302734375, 0.09197998046875, 0.1688232421875, 0.037017822265625, 0.042816162109375, 0.07275390625, 0.19775390625, 0.131958007812...
embed
60464481_c0
60464481
csharp
0
Title: C# define array like PHP Problem title: C# define array like PHP Tags: arrays, c%23 Problem: C# define array like PHP Code signals: PHP
C# define array like PHP C# define array like PHP arrays c%23 PHP C# define array like PHP I have PHP array code like this: How can I do in C#?
[ 0.02783203125, 0.03271484375, -0.00946044921875, 0.0262451171875, -0.009521484375, -0.00933837890625, -0.007232666015625, 0.003326416015625, 0.01275634765625, 0.00775146484375, -0.004638671875, 0.0126953125, 0.00182342529296875, 0.0159912109375, 0.0216064453125, 0.014404296875, -0.00...
[ 313, 4904, 61924, 10298, 53, 1884, 47302, 4778, 501, 3949, 3742, 87, 765, 18151, 903, 11249, 831, 54, 23 ]
[ 0.07061767578125, 0.236572265625, 0.20703125, 0.2369384765625, 0.1683349609375, 0.1820068359375, 0.294189453125, 0.07470703125, 0.01611328125, 0.054779052734375, 0.1494140625, 0.0120849609375, 0.056671142578125, 0.180419921875, 0.08197021484375, 0.068115234375, 0.0794677734375, 0.0...
embed
5453366_c0
5453366
csharp
0
"Title: create dll file in c#\nProblem title: create dll file in c#\nTags: dll, c%23\nProblem: creat(...TRUNCATED)
"create dll file in c# create dll file in c# dll c%23 create dll file in c# How can I create a dll f(...TRUNCATED)
[0.01611328125,0.01214599609375,-0.01275634765625,0.031494140625,-0.007781982421875,0.00680541992187(...TRUNCATED)
[ 28282, 81717, 11435, 23, 501, 4904, 3949, 3742, 11249, 831, 87, 10, 313, 32 ]
[0.19970703125,0.289794921875,0.248779296875,0.1038818359375,0.07354736328125,0.244873046875,0.05938(...TRUNCATED)
embed
3164344_c0
3164344
csharp
0
"Title: smtp error please have a glance\nProblem title: smtp error please have a glance\nTags: socke(...TRUNCATED)
"smtp error please have a glance smtp error please have a glance sockets c%23 smtp smtp error please(...TRUNCATED)
[0.01104736328125,0.0400390625,0.005096435546875,-0.00732421875,0.0169677734375,-0.01165771484375,-0(...TRUNCATED)
[14050,18,254,18499,22936,765,10,67233,329,221,27853,7,501,3949,3742,7808,214,903,131527,12960,20662(...TRUNCATED)
[0.1424560546875,0.1182861328125,0.1597900390625,0.215576171875,0.1689453125,0.121826171875,0.114868(...TRUNCATED)
embed
51404084_c0
51404084
csharp
0
"Title: Build c# for mac\nProblem title: Build c# for mac\nTags: c%23, sqlite, unity-game-engine, ma(...TRUNCATED)
"Build c# for mac Build c# for mac c%23 sqlite unity-game-engine macos mono Build Build c# for mac I(...TRUNCATED)
[0.0093994140625,0.040283203125,-0.005401611328125,0.0201416015625,0.006317138671875,0.0076599121093(...TRUNCATED)
[121137,501,4904,100,19138,3742,95255,67,51,2481,35311,128897,291,7840,22460,31577,45367,12353,13798(...TRUNCATED)
[0.22607421875,0.04168701171875,0.2210693359375,0.12255859375,0.191650390625,0.0635986328125,0.19519(...TRUNCATED)
embed
58069682_c0
58069682
csharp
0
"Title: Javascript bitwise to c#\nProblem title: Javascript bitwise to c#\nTags: c%23, javascript\nP(...TRUNCATED)
"Javascript bitwise to c# Javascript bitwise to c# c%23 javascript Javascript Javascript bitwise to (...TRUNCATED)
[-0.009765625,0.0244140625,-0.01190185546875,-0.012451171875,-0.0050048828125,0.011962890625,-0.0077(...TRUNCATED)
[ 74181, 4785, 90825, 47, 501, 4904, 3949, 3742, 136951 ]
[0.212158203125,0.1580810546875,0.22900390625,0.128173828125,0.0843505859375,0.2237548828125,0.07824(...TRUNCATED)
embed
541712_c0
541712
csharp
0
"Title: ftp login using c#\nProblem title: ftp login using c#\nTags: ftp, c%23\nProblem: ftp login u(...TRUNCATED)
"ftp login using c# ftp login using c# ftp c%23 c# ftp login using c# How do you Login to FTP using (...TRUNCATED)
[0.02099609375,0.0255126953125,0.0052490234375,0.0019989013671875,0.006622314453125,-0.0162353515625(...TRUNCATED)
[ 2480, 254, 73655, 17368, 501, 4904, 6, 3949, 3742, 11249, 54, 398, 122986, 47, 162379, 313 ]
[0.1497802734375,0.1519775390625,0.1954345703125,0.11273193359375,0.0572509765625,0.243896484375,0.0(...TRUNCATED)
embed
1514565_c0
1514565
csharp
0
"Title: ? in my file name\nProblem title: ? in my file name\nTags: windows, file, c%23\nProblem: ? i(...TRUNCATED)
"? in my file name ? in my file name windows file c%23 ? in my file name is there any way to write ?(...TRUNCATED)
[0.03466796875,0.00250244140625,0.006072998046875,-0.00054931640625,-0.003265380859375,-0.0089111328(...TRUNCATED)
[ 705, 23, 759, 11435, 9351, 54825, 501, 3949, 3742, 2685, 2499, 3917, 47, 33022, 16188, 10 ]
[0.107177734375,0.1285400390625,0.08538818359375,0.1895751953125,0.1751708984375,0.12890625,0.046966(...TRUNCATED)
embed
4091326_c0
4091326
csharp
0
"Title: deep copy hashtable\nProblem title: deep copy hashtable\nTags: c%23\nProblem: deep copy hash(...TRUNCATED)
"deep copy hashtable deep copy hashtable c%23 deep copy hashtable How do I deep copy a hashtable to (...TRUNCATED)
[0.0032958984375,-0.0033721923828125,-0.01055908203125,0.006988525390625,0.007110595703125,-0.028076(...TRUNCATED)
[ 53894, 43658, 1556, 127, 22819, 3949, 3742, 11249, 54, 87, 10, 47, 15700, 3525, 32 ]
[0.1971435546875,0.244873046875,0.162841796875,0.1011962890625,0.2509765625,0.07830810546875,0.17529(...TRUNCATED)
embed
End of preview. Expand in Data Studio

C# StackOverflow Vector Dataset Datasheet

1. What This Dataset Is

This dataset is the C#-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 C# 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 C# 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_csharp_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
37