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
148
2.58k
sparse_text
large_stringlengths
96
3.09k
dense_vector
listlengths
3.58k
3.58k
sparse_indices
listlengths
9
249
sparse_values
listlengths
9
249
export_source
large_stringclasses
1 value
12561779_c0
12561779
lisp
0
Title: list should be a lambda expression Problem title: list should be a lambda expression Tags: lisp, lambda Problem: list should be a lambda expression Code signals: SYSTEM, EXPAND-FORM, NOT, MEMBER, MOVE, NIL
list should be a lambda expression list should be a lambda expression lisp lambda SYSTEM EXPAND-FORM NOT MEMBER MOVE NIL list should be a lambda expression I've just started learning LISP and I'm just getting my head around the logic for it, however I've run into an error I can't find the solution for..I'm sure it's be...
[ 0.0108642578125, 0.0087890625, -0.00335693359375, 0.01129150390625, -0.00347900390625, 0.0181884765625, 0.00933837890625, 0.02587890625, 0.010986328125, 0.0022735595703125, 0.0035552978515625, -0.000637054443359375, -0.00567626953125, -0.0098876953125, -0.00958251953125, 0.006103515625...
[ 5303, 5608, 186, 10, 21, 6492, 85, 125195, 400, 7008, 55858, 90420, 104165, 45029, 98533, 86725, 276, 108582, 125901, 541, 16444, 26859, 52080, 16970, 9434, 10336, 62775, 11675, 18499, 7413, 29806, 33740, 49129, 35412, 32354, 6057, 56816, 426...
[ 0.25732421875, 0.166015625, 0.109375, 0.05438232421875, 0.10205078125, 0.1962890625, 0.148681640625, 0.2509765625, 0.134521484375, 0.194580078125, 0.09521484375, 0.03375244140625, 0.0986328125, 0.135009765625, 0.212646484375, 0.0863037109375, 0.0745849609375, 0.2144775390625, 0.1...
embed
2314033_c0
2314033
lisp
0
Title: What do you use newlisp for? Problem title: What do you use newlisp for? Tags: newlisp, scripting, lisp Problem: What do you use newlisp for? Do you use newlisp? What have you used it for? Code signals: What
What do you use newlisp for? What do you use newlisp for? newlisp scripting lisp What What do you use newlisp for? Do you use newlisp? What have you used it for?
[ -0.002838134765625, -0.00213623046875, -0.001983642578125, 0.01470947265625, -0.02197265625, 0.0311279296875, 0.013671875, 0.01708984375, -0.0028228759765625, -0.0037384033203125, -0.0015716552734375, -0.03125, -0.0091552734375, 0.006622314453125, -0.01220703125, 0.006805419921875, 0...
[ 4865, 54, 398, 4527, 3525, 4086, 254, 100, 26499, 214, 400, 7008, 765, 11814, 442 ]
[ 0.0887451171875, 0.03363037109375, 0.032379150390625, 0.122802734375, 0.1591796875, 0.1671142578125, 0.2269287109375, 0.1112060546875, 0.1448974609375, 0.05853271484375, 0.0926513671875, 0.201171875, 0.008941650390625, 0.052825927734375, 0.0233154296875 ]
embed
530255_c0
530255
lisp
0
Title: LISP variable exchange Problem title: LISP variable exchange Tags: lisp, common-lisp Problem: LISP variable exchange How can I exchange two variables in LISP without using a third variable? Code signals: LISP
LISP variable exchange LISP variable exchange lisp common-lisp LISP LISP variable exchange How can I exchange two variables in LISP without using a third variable?
[ 0.006317138671875, 0.0216064453125, -0.02783203125, 0.005340576171875, -0.001953125, 0.005859375, -0.031982421875, 0.0181884765625, 0.006134033203125, -0.0023651123046875, 0.021484375, 0.0303955078125, 0.01611328125, 0.00677490234375, 0.0068359375, 0.01806640625, 0.005096435546875, ...
[ 16970, 9434, 77336, 121122, 400, 7008, 39210, 4086, 254, 831, 6626, 15490, 17368, 50960 ]
[ 0.1156005859375, 0.2127685546875, 0.23876953125, 0.221435546875, 0.0797119140625, 0.1446533203125, 0.08648681640625, 0.06500244140625, 0.1024169921875, 0.0171661376953125, 0.129638671875, 0.07293701171875, 0.057952880859375, 0.11041259765625 ]
embed
6358355_c0
6358355
lisp
0
"Title: Vertical align floats on decimal dot\nProblem title: Vertical align floats on decimal dot\nT(...TRUNCATED)
"Vertical align floats on decimal dot Vertical align floats on decimal dot common-lisp vertical-alig(...TRUNCATED)
[0.0380859375,-0.001953125,-0.0206298828125,-0.01080322265625,0.0198974609375,0.003082275390625,0.01(...TRUNCATED)
[1446,70760,143420,21917,9821,98,32380,2749,20633,39210,4086,254,79259,38496,9384,400,7008,8781,3917(...TRUNCATED)
[0.12066650390625,0.12249755859375,0.24267578125,0.1727294921875,0.1207275390625,0.0985107421875,0.1(...TRUNCATED)
embed
1360562_c0
1360562
lisp
0
"Title: Lisp void-variable error when evaluating function\nProblem title: Lisp void-variable error w(...TRUNCATED)
"Lisp void-variable error when evaluating function Lisp void-variable error when evaluating function(...TRUNCATED)
[0.01043701171875,0.00714111328125,-0.017578125,0.0142822265625,-0.000934600830078125,0.008544921875(...TRUNCATED)
[1261,7008,2292,71,21690,2886,18499,151575,214,32354,400,15296,14783,418,304,212467,3698,20990,52544(...TRUNCATED)
[0.1849365234375,0.2392578125,0.21142578125,0.071533203125,0.189208984375,0.114013671875,0.204956054(...TRUNCATED)
embed
63769177_c1
63769177
lisp
1
"4) (1 2 3 4)) and from l3, (1 1 2 2 3 3 4 4) then i had change the second value of l1, (setf (nth 1(...TRUNCATED)
"4) (1 2 3 4)) and from l3, (1 1 2 2 3 3 4 4) then i had change the second value of l1, (setf (nth 1(...TRUNCATED)
[-0.0081787109375,0.0201416015625,-0.00946044921875,-0.0002422332763671875,0.00848388671875,0.003326(...TRUNCATED)
[13956,2858,116,138,1295,96,363,106,201,1902,15549,17932,34292,418,3509,420,927,17727,77816,4163,609(...TRUNCATED)
[0.2208251953125,0.0516357421875,0.0753173828125,0.1414794921875,0.06231689453125,0.0924072265625,0.(...TRUNCATED)
embed
6865142_c0
6865142
lisp
0
"Title: Lisp, cons and (number . number) difference\nProblem title: Lisp, cons and (number . number)(...TRUNCATED)
"Lisp, cons and (number . number) difference Lisp, cons and (number . number) difference cons lisp q(...TRUNCATED)
[0.0101318359375,0.0308837890625,-0.00494384765625,0.00457763671875,-0.0125732421875,0.0115356445312(...TRUNCATED)
[ 1261, 7008, 4, 158, 7, 136, 2606, 1297, 5, 14012, 60212, 400, 66747, 83, 70, 17721, 23 ]
[0.2122802734375,0.26220703125,0.03656005859375,0.2164306640625,0.1195068359375,0.11688232421875,0.1(...TRUNCATED)
embed
24343999_c0
24343999
lisp
0
"Title: The Seasoned Schemer: Intersectall (page 49)\nProblem title: The Seasoned Schemer: Intersect(...TRUNCATED)
"The Seasoned Schemer: Intersectall (page 49) The Seasoned Schemer: Intersectall (page 49) functiona(...TRUNCATED)
[0.00811767578125,-0.0145263671875,-0.002838134765625,0.022216796875,-0.007080078125,0.0264892578125(...TRUNCATED)
[85135,297,34702,1991,5337,39797,91569,77814,123309,28966,34003,7560,150370,400,7008,9191,7218,581,8(...TRUNCATED)
[0.2296142578125,0.1148681640625,0.13232421875,0.17919921875,0.0411376953125,0.09161376953125,0.1478(...TRUNCATED)
embed
38414925_c0
38414925
lisp
0
"Title: How to define recursive cond macro with if form in lisp?\nProblem title: How to define recur(...TRUNCATED)
"How to define recursive cond macro with if form in lisp? How to define recursive cond macro with if(...TRUNCATED)
[-0.0137939453125,0.017822265625,-0.005462646484375,0.01190185546875,0.01708984375,0.015869140625,0.(...TRUNCATED)
[11249,61924,195625,5844,158,71,111789,678,2174,3173,23,400,7008,2497,1340,150370,39210,4086,254,151(...TRUNCATED)
[0.032012939453125,0.176025390625,0.1888427734375,0.12744140625,0.1671142578125,0.1893310546875,0.21(...TRUNCATED)
embed
78545100_c0
78545100
lisp
0
"Title: Error handling mode on saving application is ignored\nProblem title: Error handling mode on (...TRUNCATED)
"Error handling mode on saving application is ignored Error handling mode on saving application is i(...TRUNCATED)
[0.00022602081298828125,-0.000774383544921875,-0.004241943359375,-0.01507568359375,-0.005126953125,0(...TRUNCATED)
[212059,45064,13736,6496,38415,124962,57,20450,1667,107,34937,39210,4086,254,400,7008,14,2146,75,277(...TRUNCATED)
[0.1973876953125,0.2137451171875,0.164306640625,0.0950927734375,0.154052734375,0.173095703125,0.0832(...TRUNCATED)
embed
End of preview. Expand in Data Studio

Lisp StackOverflow Vector Dataset Datasheet

1. What This Dataset Is

This dataset is the Lisp-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 Lisp 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 Lisp 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_lisp_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
18