Dataset Viewer
Auto-converted to Parquet Duplicate
chunk_id
large_stringlengths
7
11
question_id
large_stringlengths
4
8
language
large_stringclasses
1 value
chunk_index
int64
0
5
chunk_text
large_stringlengths
128
2.78k
sparse_text
large_stringlengths
116
3.65k
dense_vector
listlengths
3.58k
3.58k
sparse_indices
listlengths
9
228
sparse_values
listlengths
9
228
export_source
large_stringclasses
1 value
19195346_c0
19195346
fsharp
0
Title: returning boolean value in function Problem title: returning boolean value in function Tags: f%23 Problem: returning boolean value in function Code signals: var1, var2
returning boolean value in function returning boolean value in function f%23 var1 var2 returning boolean value in function I have this function: This returns an error saying that the function expects the value returned to have type bool, not unit. What I want to achieve is to return true whenever x != y so the loop sho...
[ 0.015869140625, 0.0030364990234375, -0.023681640625, -0.000812530517578125, 0.0057373046875, 0.04296875, -0.00927734375, 0.013427734375, 0.00616455078125, 0.0166015625, 0.01287841796875, -0.00128173828125, -0.005157470703125, 0.01275634765625, 0.003143310546875, 0.0302734375, 0.00303...
[ 30646, 214, 337, 31, 34677, 34292, 23, 32354, 1238, 3949, 3742, 285, 418, 304, 765, 903, 18499, 41206, 7, 176377, 47, 10644, 142484, 959, 25072, 4865, 87, 3444, 69307, 83, 29568, 217684, 1022, 711, 1369, 113, 221, 40956, 5608, 7279, 268...
[ 0.2020263671875, 0.06610107421875, 0.095703125, 0.159423828125, 0.222412109375, 0.17236328125, 0.10546875, 0.2259521484375, 0.12646484375, 0.10302734375, 0.203125, 0.1483154296875, 0.049957275390625, 0.1080322265625, 0.040985107421875, 0.038848876953125, 0.1358642578125, 0.19494628...
embed
76625066_c0
76625066
fsharp
0
Title: F# - type conversion bool to int Problem title: F# - type conversion bool to int Tags: type-conversion, f%23 Problem: F# - type conversion bool to int I can't figure out why I get this error:
F# - type conversion bool to int F# - type conversion bool to int type-conversion f%23 F# - type conversion bool to int I can't figure out why I get this error:
[ -0.012939453125, 0.01275634765625, 0.01397705078125, 0.00732421875, -0.00909423828125, 0.0235595703125, -0.0185546875, 0.0084228515625, -0.003021240234375, 0.00665283203125, 0.002197265625, 0.006378173828125, -0.005157470703125, 0.0115966796875, 0.0224609375, -0.01092529296875, -0.00...
[ 563, 4904, 10644, 142477, 142484, 47, 23, 18, 2271, 46354, 1238, 3949, 3742, 831, 26366, 15400, 87, 2046, 903, 18499, 12 ]
[ 0.1043701171875, 0.197509765625, 0.206787109375, 0.1644287109375, 0.193115234375, 0.097412109375, 0.12255859375, 0.16357421875, 0.045501708984375, 0.1243896484375, 0.0694580078125, 0.009033203125, 0.1424560546875, 0.0176849365234375, 0.068115234375, 0.078857421875, 0.0139923095703125...
embed
7284809_c0
7284809
fsharp
0
Title: F# - Sort a matrix containing tuples Problem title: F# - Sort a matrix containing tuples Tags: sorting, matrix, f%23, tuples Problem: F# - Sort a matrix containing tuples Code signals: Sort, Matrix
F# - Sort a matrix containing tuples F# - Sort a matrix containing tuples sorting matrix f%23 tuples Sort Matrix F# - Sort a matrix containing tuples I do not find a way to sort the values included in the columns of the following matrix of tuples : I would like to sort each column depending on the second element of the...
[ 0.01373291015625, 0.00909423828125, 0.006866455078125, -0.00732421875, 0.0035858154296875, -0.013916015625, -0.00927734375, -0.0021209716796875, 0.002197265625, 0.017578125, -0.013427734375, 0.02685546875, -0.0093994140625, 0.0123291015625, -0.0322265625, 0.006439208984375, -0.002563...
[ 563, 4904, 20, 53666, 10, 50944, 425, 70541, 214, 370, 99726, 12096, 1238, 3949, 3742, 194234, 87, 959, 7413, 3917, 47, 142424, 99201, 23, 3365, 316, 1779, 25632, 111, 1884, 12638, 96819, 17932, 12830, 8705, 27781, 3688, 35166, 129745 ]
[ 0.0960693359375, 0.1619873046875, 0.019805908203125, 0.2059326171875, 0.0156707763671875, 0.1612548828125, 0.0997314453125, 0.127197265625, 0.039093017578125, 0.128662109375, 0.199462890625, 0.21630859375, 0.0816650390625, 0.056121826171875, 0.1219482421875, 0.1787109375, 0.007293701...
embed
3326512_c0
3326512
fsharp
0
"Title: F# priority queue\nProblem title: F# priority queue\nTags: f%23, priority-queue\nProblem: F#(...TRUNCATED)
"F# priority queue F# priority queue f%23 priority-queue F# priority queue Does the F# library inclu(...TRUNCATED)
[0.00738525390625,0.0230712890625,0.010009765625,-0.0118408203125,-0.00408935546875,-0.0014343261718(...TRUNCATED)
[ 563, 4904, 25343, 53, 41, 13388, 1238, 3949, 3742, 944, 101790, 35773, 1294, 26698, 10, 32, 831, 6275, 163, 208124, 23 ]
[0.1416015625,0.2340087890625,0.2288818359375,0.1536865234375,0.1763916015625,0.1962890625,0.0947265(...TRUNCATED)
embed
22807941_c0
22807941
fsharp
0
"Title: F# Condition Statement\nProblem title: F# Condition Statement\nTags: f%23\nProblem: F# Condi(...TRUNCATED)
"F# Condition Statement F# Condition Statement f%23 Condition Statement F# Condition Statement How t(...TRUNCATED)
[0.009521484375,0.00445556640625,-0.00726318359375,-0.002288818359375,-0.0059814453125,0.01208496093(...TRUNCATED)
[ 563, 4904, 46347, 1363, 22836, 674, 1238, 3949, 3742, 11249, 47, 33022, 9844 ]
[0.134521484375,0.2041015625,0.212890625,0.0430908203125,0.169921875,0.0240020751953125,0.0999755859(...TRUNCATED)
embed
8448_c0
8448
fsharp
0
"Title: F# curried function\nProblem title: F# curried function\nTags: currying, functional-programm(...TRUNCATED)
"F# curried function F# curried function currying functional-programming f%23 F# curried function An(...TRUNCATED)
[0.0167236328125,-0.0089111328125,0.023193359375,-0.0032806396484375,0.0164794921875,0.016845703125,(...TRUNCATED)
[563,4904,9709,46572,32354,198555,214,123309,28966,1238,3949,3742,3630,765,10,8,16797,27781,12601,78(...TRUNCATED)
[0.1431884765625,0.2059326171875,0.1314697265625,0.2030029296875,0.2064208984375,0.2259521484375,0.1(...TRUNCATED)
embed
49211743_c0
49211743
fsharp
0
"Title: Gerenics changes parameter from 'a to obj\nProblem title: Gerenics changes parameter fr(...TRUNCATED)
"Gerenics changes parameter from 'a to obj Gerenics changes parameter from 'a to obj f%23 (...TRUNCATED)
[-0.006866455078125,0.006561279296875,0.00128173828125,0.016845703125,0.007415771484375,-0.018798828(...TRUNCATED)
[8022,33,28021,65572,171859,1295,54764,3768,74,11,47,995,170,1238,3742,158,2816,4288,189534,212059,1(...TRUNCATED)
[0.18359375,0.154296875,0.140625,0.18017578125,0.252197265625,0.1102294921875,0.0251312255859375,0.0(...TRUNCATED)
embed
3189035_c0
3189035
fsharp
0
"Title: Seq count number of elements\nProblem title: Seq count number of elements\nTags: f%23, count(...TRUNCATED)
"Seq count number of elements Seq count number of elements f%23 count sequence Seq Seq count number (...TRUNCATED)
[0.0130615234375,0.02001953125,-0.0026702880859375,0.020751953125,0.0203857421875,-0.000459671020507(...TRUNCATED)
[ 503, 864, 54529, 14012, 80854, 1238, 3949, 3742, 40, 944, 70, 28, 1544, 525, 3917, 47, 23, 3956, 563, 4904 ]
[0.1229248046875,0.2303466796875,0.233642578125,0.162109375,0.22216796875,0.0936279296875,0.07897949(...TRUNCATED)
embed
2946103_c0
2946103
fsharp
0
"Title: A simple way to swap rows in a matrix for F#\nProblem title: A simple way to swap rows in a (...TRUNCATED)
"A simple way to swap rows in a matrix for F# A simple way to swap rows in a matrix for F# f%23 matr(...TRUNCATED)
[-0.0035552978515625,0.01275634765625,0.0198974609375,0.00433349609375,-0.004180908203125,-0.0480957(...TRUNCATED)
[ 8781, 3917, 47, 202317, 15555, 7, 23, 50944, 425, 100, 563, 4904, 1238, 3949, 3742, 62, 10, 194234 ]
[0.145751953125,0.078369140625,0.042572021484375,0.227294921875,0.22021484375,0.040435791015625,0.04(...TRUNCATED)
embed
71344405_c5
71344405
fsharp
5
"006671355318000576, -0.02449338530147379, 0.04478202409774672, -0.2629400383137885, 0.1954843319620(...TRUNCATED)
"006671355318000576, -0.02449338530147379, 0.04478202409774672, -0.2629400383137885, 0.1954843319620(...TRUNCATED)
[0.0206298828125,0.0021820068359375,0.0186767578125,-0.006622314453125,0.004486083984375,0.028930664(...TRUNCATED)
[7227,142745,2681,158976,156874,8194,11835,4,20,99929,2357,12977,104342,141520,89678,157376,170665,1(...TRUNCATED)
[0.164794921875,0.1883544921875,0.035491943359375,0.1563720703125,0.134033203125,0.1162109375,0.1884(...TRUNCATED)
embed
End of preview. Expand in Data Studio

F# StackOverflow Vector Dataset Datasheet

1. What This Dataset Is

This dataset is the F#-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 F# 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 F# 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_fsharp_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
23