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
be35ea2a-f41e-5314-ac99-cc4df8f370d8
31,672
0
Title: Learning FORTRAN In the Modern Era I've recently come to maintain a large amount of scientific calculation-intensive FORTRAN code. I'm having difficulties getting a handle on all of the, say, nuances, of a forty year old language, despite google & two introductory level books. The code is rife with "performance...
143
162
[ "fortran" ]
[ "fortran" ]
{"accepted_answer_id":67624,"answer_count":10,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-28T04:36:25.570000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["fortran"],"last_activity_date":"2021-01-02T00:06:33.273000+00:00","last_edit_date":null,"question_id":31672,"scor...
[ 0.007686614990234375, -0.0294342041015625, -0.0119781494140625, 0.0197906494140625, 0.018829345703125, -0.0220489501953125, -0.033599853515625, -0.01525115966796875, 0.0296783447265625, -0.00989532470703125, -0.05316162109375, 0.0309906005859375, -0.002948760986328125, 0.0043182373046875, ...
[ 8, 9, 64, 70, 71, 98, 100, 315, 360, 618, 645, 756, 939, 959, 1121, 1380, 3387, 3934, 5037, 5039, 6602, 6626, 9904, 10332, 13648, 14154, 14825, 16087, 17366, 17777, 17997, 18151, 18799, 19441, 20949, 21027, 21334, 21896, 25841, 26484, 2...
[ 0.1796875, 0.00634765625, 0.04638671875, 0.02001953125, 0.0078125, 0.0196533203125, 0.048828125, 0.095703125, 0.068359375, 0.14453125, 0.09912109375, 0.03173828125, 0.109375, 0.046630859375, 0.0927734375, 0.039306640625, 0.05615234375, 0.08349609375, 0.1005859375, 0.193359375, ...
c54184d3-65a9-5827-92d6-2dfbfaf344e5
128,445
0
Title: Calling 32bit Code from 64bit Process I have an application that we're trying to migrate to 64bit from 32bit. It's .NET, compiled using the x64 flags. However, we have a large number of DLLs written in FORTRAN 90 compiled for 32bit. The functions in the FORTRAN DLLs are fairly simple: you put data in, you pull ...
274
282
[ ".net", "fortran" ]
[ ".net", "migration", "x86", "64-bit", "fortran" ]
{"accepted_answer_id":128477,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-09-24T17:15:51.530000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","fortran"],"last_activity_date":"2016-10-09T11:39:55.457000+00:00","last_edit_date":null,"question_id":1284...
[ -0.01210784912109375, -0.013031005859375, -0.00054931640625, 0.00013637542724609375, 0.0270538330078125, 0.0061492919921875, -0.0156707763671875, -0.0148773193359375, 0.0162353515625, -0.0232391357421875, -0.01204681396484375, 0.0086669921875, -0.006610870361328125, 0.00959014892578125, ...
[ 5, 7, 17, 18, 23, 47, 67, 70, 83, 87, 110, 136, 214, 256, 313, 352, 375, 377, 391, 398, 405, 493, 618, 642, 756, 765, 831, 1022, 1295, 1328, 1456, 1733, 1884, 2053, 2510, 2685, 2789, 2886, 3137, 3622, 3884, 3917, 4171, 4734, 591...
[ 0.052734375, 0.1220703125, 0.000732421875, 0.0595703125, 0.09375, 0.0693359375, 0.037353515625, 0.016357421875, 0.0230712890625, 0.025146484375, 0.04833984375, 0.001220703125, 0.028564453125, 0.08203125, 0.0009765625, 0.0908203125, 0.013427734375, 0.0634765625, 0.109375, 0.0012...
c263c4e3-4d00-5fdd-843d-772607febb6c
146,159
0
"Title: Is Fortran easier to optimize than C for heavy calculations?\n\nFrom time to time I read tha(...TRUNCATED)
121
132
[ "c", "fortran" ]
[ "c", "performance", "fortran" ]
"{\"accepted_answer_id\":146186,\"answer_count\":23,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED)
[0.00391387939453125,-0.0284423828125,0.00026702880859375,0.033233642578125,0.0284423828125,-0.02282(...TRUNCATED)
[18,19,47,56,83,100,163,186,313,450,621,707,765,831,959,1556,1603,1733,2060,2071,2367,3501,3714,4027(...TRUNCATED)
[0.06298828125,0.0947265625,0.0203857421875,0.1337890625,0.08740234375,0.111328125,0.002197265625,0.(...TRUNCATED)
47134754-454d-5e23-aada-fc27abc58504
221,170
0
Title: Private function in Fortran How do I declare a private function in Fortran?
21
20
[ "fortran" ]
[ "fortran" ]
"{\"accepted_answer_id\":222289,\"answer_count\":4,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[0.0006594657897949219,-0.004230499267578125,0.0025482177734375,-0.004261016845703125,0.039093017578(...TRUNCATED)
[ 10, 23, 54, 87, 1603, 11249, 14375, 19953, 32354, 48962, 86111, 159978 ]
[0.0400390625,0.040283203125,0.017333984375,0.04150390625,0.25390625,0.0341796875,0.2392578125,0.171(...TRUNCATED)
649d3d83-24d6-5173-aef2-6be82081628b
229,362
0
"Title: Protected Memory Violation calling FORTRAN DLL from C#\n\nI am trying to call out to a legac(...TRUNCATED)
388
445
[ ".net", "c#", "fortran" ]
[ "c#", ".net", "interop", "fortran", "dllimport" ]
"{\"accepted_answer_id\":229525,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[-0.00927734375,-0.0249481201171875,-0.00768280029296875,0.00862884521484375,-0.005496978759765625,-(...TRUNCATED)
[4,5,6,7,10,11,15,16,31,47,70,71,83,111,126,127,132,142,186,191,214,268,271,297,313,357,391,441,442,(...TRUNCATED)
[0.00244140625,0.00244140625,0.002685546875,0.00439453125,0.00048828125,0.0252685546875,0.0007324218(...TRUNCATED)
8d003342-5716-53c5-b49c-d3810b2424bf
247,143
0
"Title: Matching FORTRAN rounding in C#\n\nFORTRAN provides several functions to convert a double pr(...TRUNCATED)
310
362
[ "c#", "fortran" ]
[ "c#", "fortran", "rounding", "truncation" ]
"{\"accepted_answer_id\":247171,\"answer_count\":3,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[0.039459228515625,-0.005084991455078125,-0.0037822723388671875,-0.007205963134765625,-0.01279449462(...TRUNCATED)
[5,7,9,10,18,19,23,47,62,64,106,132,136,142,214,300,313,335,391,397,425,525,527,541,563,571,618,660,(...TRUNCATED)
[0.020263671875,0.06103515625,0.03369140625,0.099609375,0.1142578125,0.1005859375,0.1083984375,0.085(...TRUNCATED)
36819145-8fa4-5250-8c2b-6723b7b91636
260,192
0
"Title: mtrace for a fortran program\n\nI'm trying to use mtrace to detect memory leaks in a fortran(...TRUNCATED)
690
765
[ "c", "fortran" ]
[ "c", "gcc", "memory-leaks", "fortran", "mtrace" ]
"{\"accepted_answer_id\":360428,\"answer_count\":4,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[0.006206512451171875,-0.030242919921875,-0.00855255126953125,0.00286102294921875,0.0147018432617187(...TRUNCATED)
[4,5,6,7,8,10,11,12,13,15,16,18,20,23,25,31,33,39,47,53,54,58,64,70,71,74,83,87,90,92,95,98,100,106,(...TRUNCATED)
[0.00634765625,0.005859375,0.005859375,0.005615234375,0.083984375,0.005859375,0.1083984375,0.0053710(...TRUNCATED)
d5b57633-6250-5a32-803a-da2f5c16beb7
275,458
0
"Title: Conversion of Fortran 77 code to C++\n\nHas anyone converted a large (ours is 550,000 lines)(...TRUNCATED)
94
95
[ "c++", "fortran" ]
[ "c++", "translation", "fortran" ]
"{\"accepted_answer_id\":null,\"answer_count\":6,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[-0.00757598876953125,-0.0176544189453125,0.006801605224609375,0.02685546875,0.01235198974609375,-0.(...TRUNCATED)
[5,10,47,56,71,83,100,111,190,238,313,454,707,1277,1388,1528,1603,1657,1884,3934,4271,4527,4865,5282(...TRUNCATED)
[0.003173828125,0.076171875,0.166015625,0.07373046875,0.091796875,0.03369140625,0.1162109375,0.02136(...TRUNCATED)
178b8709-87d4-514c-8e5c-06f52274b416
290,799
0
"Title: How can I find out which library is home to a given object?\n\nI'm programming in FORTRAN an(...TRUNCATED)
141
156
[ "c", "fortran" ]
[ "c", "unix", "linker", "fortran", "sgi" ]
"{\"accepted_answer_id\":290815,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED)
[0.0188751220703125,-0.03271484375,0.0215301513671875,-0.0112457275390625,-0.0156402587890625,-0.007(...TRUNCATED)
[11,31,47,56,71,83,87,107,136,304,309,313,454,497,831,903,992,1294,1528,1810,2046,3126,3129,3584,371(...TRUNCATED)
[0.0654296875,0.109375,0.05517578125,0.05615234375,0.010986328125,0.07177734375,0.02587890625,0.0859(...TRUNCATED)
1b84051e-d750-508e-9872-3236792e4ef7
322,846
0
"Title: Convert Fortran to C or C++\n\nI have some numeric code that I need to convert to C or C++. (...TRUNCATED)
158
170
[ "c", "c++", "fortran" ]
[ "c++", "c", "fortran" ]
"{\"accepted_answer_id\":null,\"answer_count\":4,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[-0.01299285888671875,-0.039703369140625,0.00528717041015625,0.0240936279296875,-0.00095224380493164(...TRUNCATED)
[18,23,25,47,56,83,238,282,304,313,479,678,707,748,765,1238,1286,1603,1657,2806,3126,3642,3714,3773,(...TRUNCATED)
[0.0712890625,0.0087890625,0.061279296875,0.1513671875,0.1171875,0.018310546875,0.08837890625,0.1445(...TRUNCATED)
End of preview. Expand in Data Studio

Stack2Graph vector database: fortran

This release contains 16226 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
44

Collection including Mo7art/Stack2Graph_VD_fortran