Dataset Viewer
Auto-converted to Parquet Duplicate
id
string
question_id
int64
chunk_index
int32
embedding_text
string
dense_tokens
int32
sparse_tokens
int32
languages
list
tags
list
payload_json
string
dense
list
sparse_indices
list
sparse_values
list
6f7c7b4d-ad29-5e7c-9611-cae90c7308a0
50,373
0
Title: MultiMap in Scala I'm trying to mixin the MultiMap trait with a HashMap like so: val children:MultiMap[Integer, TreeNode] = new HashMap[Integer, Set[TreeNode]] with MultiMap[Integer, TreeNode] The definition for the MultiMap trait is: trait MultiMap[A, B] extends Map[A, Set[B]] Meaning that a Multi...
214
278
[ "scala" ]
[ "generics", "scala" ]
{"accepted_answer_id":50420,"answer_count":2,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-09-08T18:32:58.790000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["scala"],"last_activity_date":"2015-08-09T02:03:43.037000+00:00","last_edit_date":"2015-08-09T02:03:43.037000+00:00...
[ 0.0175018310546875, 0.016326904296875, -0.00945281982421875, -0.007633209228515625, 0.031005859375, -0.004695892333984375, 0.004787445068359375, 0.01103973388671875, 0.02630615234375, 0.031707763671875, -0.001064300537109375, 0.00862884521484375, -0.007045745849609375, -0.01538848876953125...
[ 11, 23, 62, 66, 67, 73, 112, 118, 191, 217, 221, 335, 561, 571, 619, 678, 1505, 1884, 1927, 3334, 3502, 3525, 3650, 5021, 7154, 9969, 10644, 12921, 13438, 14037, 17664, 18499, 19308, 19335, 19943, 20020, 22819, 29102, 31577, 34759, 3720...
[ 0.1142578125, 0.052978515625, 0.0201416015625, 0.031005859375, 0.1083984375, 0.0859375, 0.076171875, 0.09423828125, 0.138671875, 0.0673828125, 0.001220703125, 0.059814453125, 0.05517578125, 0.056640625, 0.1142578125, 0.043212890625, 0.0732421875, 0.01220703125, 0.0184326171875, ...
65245fe4-672b-5567-a07a-e39e4461a86f
54,010
0
Title: Returning an element from a List in Scala I've recently been working on a beginner's project in Scala, and have a beginner question about Scala's Lists. Say I have a list of tuples ( List[Tuple2[String, String]], for example). Is there a convenience method to return the first occurence of a specified tuple fr...
87
106
[ "scala" ]
[ "scala", "list" ]
{"accepted_answer_id":null,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-09-10T13:15:29.083000+00:00","has_accepted_answer":false,"is_closed":false,"languages":["scala"],"last_activity_date":"2015-09-27T21:08:00.367000+00:00","last_edit_date":null,"question_id":54010,"score":...
[ 0.023956298828125, 0.00893402099609375, -0.022369384765625, -0.00899505615234375, 0.006137847900390625, 0.0022640228271484375, 0.00547027587890625, -0.028564453125, 0.0168914794921875, 0.01617431640625, -0.007171630859375, -0.0017328262329101562, 0.0008282661437988281, 0.00519561767578125,...
[ 7, 11, 23, 47, 214, 304, 370, 390, 1295, 1679, 3535, 5117, 5303, 6620, 8305, 8560, 8705, 9655, 9842, 12830, 13452, 15665, 20697, 23351, 30646, 32036, 48962, 50080, 55300, 58735, 63559, 71713, 74918, 78684, 99726, 152653, 173340 ]
[ 0.020263671875, 0.14453125, 0.044189453125, 0.03662109375, 0.0615234375, 0.10107421875, 0.0966796875, 0.035400390625, 0.115234375, 0.030517578125, 0.1337890625, 0.1142578125, 0.177734375, 0.0615234375, 0.068359375, 0.1552734375, 0.169921875, 0.04345703125, 0.0185546875, 0.17285...
b6bc3e16-0fca-5688-939e-ed6f0d91617b
102,496
0
"Title: Compatible encryption between C# and PHP, ColdFusion, Ruby, Python\n\nWe're developing a ser(...TRUNCATED)
135
154
[ "c#", "php", "ruby", "scala" ]
[ "scala", "c#", "php", "ruby", "encryption" ]
"{\"accepted_answer_id\":103117,\"answer_count\":8,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[-0.008087158203125,-0.0007100105285644531,-0.0202178955078125,0.0023937225341796875,0.0129623413085(...TRUNCATED)
[8,22,23,54,71,83,110,136,249,313,442,581,678,707,1830,1888,2053,2661,2684,3173,3444,3871,4343,4516,(...TRUNCATED)
[0.1552734375,0.099609375,0.03466796875,0.028076171875,0.035400390625,0.0185546875,0.02001953125,0.0(...TRUNCATED)
b81eebb3-dbb9-544d-9cdb-72b567e7d44f
105,834
0
"Title: Does the JVM prevent tail call optimizations?\n\nI saw this quote on the question: What is a(...TRUNCATED)
90
104
[ "java", "scala" ]
[ "java", "jvm", "scala", "tail-recursion" ]
"{\"accepted_answer_id\":105897,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[0.0143280029296875,-0.004535675048828125,0.008056640625,0.011993408203125,0.028289794921875,-0.0353(...TRUNCATED)
[9,11,18,54,98,107,821,831,903,1363,1467,2071,4127,4516,5256,8060,8562,11782,15970,17311,17475,20531(...TRUNCATED)
[0.0174560546875,0.1806640625,0.0634765625,0.0216064453125,0.017578125,0.003662109375,0.1591796875,0(...TRUNCATED)
b9267c42-7e0b-564f-ba62-d57ed9af0690
118,750
0
"Title: How to count rows in Lift (Scala's web framework)\n\nI want to add a property to my User mod(...TRUNCATED)
90
103
[ "scala" ]
[ "scala", "lift" ]
"{\"accepted_answer_id\":119310,\"answer_count\":1,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[0.02105712890625,-0.0161895751953125,-0.006008148193359375,-0.00743865966796875,0.0171356201171875,(...TRUNCATED)
[7,8,23,47,71,91,420,568,765,903,1295,1467,1884,2046,2806,3299,3444,6755,8244,11249,13269,14012,1519(...TRUNCATED)
[0.0703125,0.018798828125,0.0167236328125,0.034912109375,0.04833984375,0.005126953125,0.003662109375(...TRUNCATED)
700c1ca6-1aac-58f9-8b06-c777c8b6f7bc
120,702
0
"Title: Recursive overloading semantics in the Scala REPL - JVM languages\n\nUsing Scala's command l(...TRUNCATED)
243
289
[ "scala" ]
[ "scala", "recursion", "jvm", "jvm-languages" ]
"{\"accepted_answer_id\":122338,\"answer_count\":4,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[0.01128387451171875,0.005107879638671875,0.009979248046875,-0.0132293701171875,0.03497314453125,-0.(...TRUNCATED)
[8,11,12,18,22,23,31,56,214,297,360,420,425,484,645,821,853,1239,1957,2967,3584,3789,4939,5775,5844,(...TRUNCATED)
[0.048583984375,0.109375,0.017822265625,0.0986328125,0.00146484375,0.0267333984375,0.1396484375,0.00(...TRUNCATED)
8f5d57f7-8ba6-59d9-85da-2a46672ad9ab
170,500
0
"Title: Language features to implement relational algebra\n\nI've been trying to encode a relational(...TRUNCATED)
426
496
[ "scala" ]
[ "orm", "scala", "dsl", "type-systems", "database-relations" ]
"{\"accepted_answer_id\":null,\"answer_count\":2,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[0.0308380126953125,0.027191162109375,0.00473785400390625,0.003162384033203125,0.0272979736328125,-0(...TRUNCATED)
[8,11,22,23,47,62,83,100,144,285,289,291,304,370,429,493,618,831,1371,1556,1606,1821,1830,1940,2060,(...TRUNCATED)
[0.1259765625,0.10693359375,0.03076171875,0.009033203125,0.023681640625,0.0625,0.0252685546875,0.051(...TRUNCATED)
e06e02db-10a9-5837-9ed9-5c97a4044d2d
171,489
0
"Title: Explicit Type Conversion in Scala\n\nLets say I have the following code:\n \nabstract class (...TRUNCATED)
92
106
[ "scala" ]
[ "scala", "type-conversion" ]
"{\"accepted_answer_id\":171531,\"answer_count\":1,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[-0.0094757080078125,0.0175018310546875,0.00006181001663208008,-0.0201416015625,0.00893402099609375,(...TRUNCATED)
[9,11,31,42,70,93,186,214,285,313,397,903,1052,1657,1663,1909,2203,2749,3444,4568,5062,5465,5775,722(...TRUNCATED)
[0.026123046875,0.0732421875,0.13671875,0.057373046875,0.008544921875,0.0927734375,0.00341796875,0.0(...TRUNCATED)
a23c0be6-64f4-54a5-a989-d6e4c4a98b57
185,972
0
"Title: How do I create a heterogeneous Array in Scala?\n\nIn javascript, we can do:\n \n[\"a string(...TRUNCATED)
52
61
[ "scala" ]
[ "arrays", "scala" ]
"{\"accepted_answer_id\":188235,\"answer_count\":4,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[0.017974853515625,0.01294708251953125,-0.02471923828125,0.0052337646484375,0.0128326416015625,-0.02(...TRUNCATED)
[4,11,23,53,54,106,127,152,209,425,831,7332,10821,11249,15292,28282,32354,34292,48962,69253,77099,79(...TRUNCATED)
[0.009521484375,0.1728515625,0.00439453125,0.1396484375,0.02734375,0.04150390625,0.083984375,0.03027(...TRUNCATED)
457fed72-14a7-557a-88fb-e21ecedd5a11
190,368
0
"Title: Getting the string representation of a type at runtime in Scala\n\nIn Scala, is it possible (...TRUNCATED)
61
74
[ "scala" ]
[ "scala", "types" ]
"{\"accepted_answer_id\":190574,\"answer_count\":4,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[0.0036754608154296875,-0.019561767578125,-0.0001080632209777832,0.0006775856018066406,-0.0037212371(...TRUNCATED)
[8,11,19,23,47,70,83,99,111,188,214,360,442,618,1363,2046,3957,6032,7722,10644,11675,18811,28412,315(...TRUNCATED)
[0.006103515625,0.1796875,0.046875,0.0184326171875,0.033203125,0.054931640625,0.042236328125,0.11035(...TRUNCATED)
End of preview. Expand in Data Studio

Stack2Graph vector database: scala

This release contains 127374 text chunks from Stack Overflow with dense and sparse embeddings, selected by the producer's programming-language memberships. Memberships can overlap: a chunk may occur in several language datasets. These labels describe programming languages, not the natural language of the text. extra-languages, when present, contains source rows without a language match. An absent language is never replaced with an empty dataset.

Files and fields

data/vectors-*.parquet contains Zstandard-compressed tables. Each row has a stable id, question_id, chunk_index, embedding_text, model token counts, languages, tags, dense, sparse_indices, sparse_values and payload_json. The last field preserves the complete original Qdrant payload, including source snapshot identity, source dates, scores and answer flags when available. Dense values are float32 representations of the producer's stored float16 values; this does not recover precision discarded during embedding. Sparse weights preserve float32 values and uint32 token indices.

On Hugging Face, load the vectors config with datasets.load_dataset and use streaming for large releases. The dataset viewer uses only the explicitly listed Parquet files. data/dataset.tar.gz is the portable package also used by MDC: extract it to obtain the same Parquet bytes, README and publication.json. The archive is an exchange dataset, not a Qdrant binary snapshot. Import in bounded batches using each row's id, named dense/sparse vectors and decoded payload_json. Recreate collection settings deliberately for your Qdrant version.

Provenance and reproducibility

{
  "after_id": -9223372036854775808,
  "chunk_overlap": 128,
  "chunk_tokens": 1024,
  "collection": "stackoverflow_questions",
  "dense_dimension": 4096,
  "dense_model": "Qwen/Qwen3-Embedding-8B",
  "dense_revision": "1d8ad4ca9b3dd8059ad90a75d4983776a23d44af",
  "question_limit": null,
  "registry_digest": "d2a7357c04e7f47d9bb598189aeeb7db0680d6b35f0d9695d8d2e544121afb8e",
  "snapshot_digest": "56fe643952cec74b17ea13d91edc8ad95181326156177c94cce48d3fed9834b9",
  "snapshot_id": "stackexchange_20260630_sakura",
  "sparse_model": "BAAI/bge-m3",
  "sparse_revision": "5617a9f61b028005a4858fdac845db406aefb181"
}

Export identity: bc9f696c9588560e3be547879c58b96c50c64e3828495471bee43e504392ec7f. Point-ID configuration digest: d16d58c9e7b8007664e3f77b4e9f4a1689a8b8de2c6727b479595621b25e3460. Point IDs use the same snapshot/configuration/question/chunk UUID derivation as the project's Qdrant loader. publication.json lists exact file sizes, SHA-256 hashes, row count, source identity and model/chunking settings. On HF, release.json additionally verifies all managed remote files. Only locally finalized runs with matching stage/report counts are published. The uploader does not re-embed text or query a running database.

Uses and limitations

Intended for dense, sparse and hybrid retrieval, retrieval-augmented generation and reproducible search experiments. Retrieval quality depends on the pinned models and chunking configuration. Overlapping chunks and language memberships are not independent samples; split evaluations by source question to avoid leakage. Source questions can contain personal data, obsolete code, errors and biases. Source-window limits are recorded above. No retrieval benchmark or completeness beyond the recorded source window is claimed.

Attribution and licensing

Derived from Stack Overflow content. Preserve the original post/author attribution and applicable Stack Overflow licensing when redistributing or displaying source content. Question IDs and source snapshot are retained to resolve source posts. This publication declares CC BY-SA 4.0; embedding model licenses and any upstream obligations still apply. Pinned model names and revisions above identify their model cards for review.

Source and procedures: https://github.com/tha-atlas/Stack2Graph. When citing this dataset, include the dataset repository, immutable release revision, source snapshot, export identity, model revisions and the project.

Project citation: Kleybolte, Ventura and Zarcone (2026), Stack2Graph, KG-LLM at LREC26. https://doi.org/10.63317/583q4d3mwbdu.

Downloads last month
30

Collection including Mo7art/Stack2Graph_VD_scala