Datasets:
id stringlengths 36 36 | question_id int64 845 12.7M | chunk_index int32 0 20 | embedding_text stringlengths 33 9.26k | dense_tokens int32 11 1.02k | sparse_tokens int32 11 1.02k | languages listlengths 1 5 | tags listlengths 1 5 | payload_json stringlengths 425 575 | dense list | sparse_indices listlengths 6 465 | sparse_values listlengths 6 465 |
|---|---|---|---|---|---|---|---|---|---|---|---|
6bb98c8a-ae3b-5608-8931-85b1104b01a4 | 845 | 0 | Title: How to detect which one of the defined font was used in a web page?
Suppose I have the following CSS rule in my page:
body {
font-family: Calibri, Trebuchet MS, Helvetica, sans-serif;
}
How could I detect which one of the defined fonts were used in the user's browser?
For people wondering why I want t... | 167 | 180 | [
"css",
"html",
"javascript"
] | [
"javascript",
"html",
"css",
"fonts"
] | {"accepted_answer_id":849,"answer_count":10,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-03T21:42:37.903000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["css","html","javascript"],"last_activity_date":"2023-10-05T12:41:40.930000+00:00","last_edit_date":"2020-09-13T19:3... | [
0.01154327392578125,
-0.013427734375,
-0.0012369155883789062,
0.010894775390625,
-0.006683349609375,
-0.004886627197265625,
-0.01389312744140625,
0.016845703125,
-0.006565093994140625,
-0.0013914108276367188,
-0.007213592529296875,
0.0220184326171875,
0.03509521484375,
-0.01012420654296875... | [
23,
47,
71,
87,
111,
126,
184,
272,
509,
756,
765,
959,
1467,
1632,
3126,
3129,
3395,
3444,
3542,
4527,
4804,
5736,
5809,
7026,
7636,
7928,
9191,
10440,
11249,
11727,
11814,
12401,
14361,
15400,
16265,
18108,
19882,
20600,
25632,
25971,
... | [
0.03125,
0.09912109375,
0.04541015625,
0.056640625,
0.047607421875,
0.1435546875,
0.0009765625,
0.10595703125,
0.07568359375,
0.0267333984375,
0.03759765625,
0.0546875,
0.08544921875,
0.06787109375,
0.10595703125,
0.05810546875,
0.031494140625,
0.03076171875,
0.068359375,
0.016... |
0c5e7f00-9fdd-535e-8c12-e02f31a487b0 | 1,401 | 0 | Title: ASP.Net Custom Client-Side Validation
I have a custom validation function in JavaScript in a user control on a .Net 2.0 web site which checks to see that the fee paid is not in excess of the fee amount due.
I've placed the validator code in the ascx file, and I have also tried using Page.ClientScript.Registe... | 266 | 326 | [
"javascript"
] | [
"asp.net",
"javascript",
"validation"
] | {"accepted_answer_id":1418,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-04T16:44:25.167000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["javascript"],"last_activity_date":"2018-11-17T04:26:32.233000+00:00","last_edit_date":"2018-05-02T06:34:29.500000+0... | [
0.019195556640625,
-0.0001379251480102539,
0.0018968582153320312,
-0.0086517333984375,
-0.0034084320068359375,
0.011322021484375,
-0.006046295166015625,
0.03460693359375,
-0.0290374755859375,
0,
0.0032596588134765625,
-0.01102447509765625,
0.0024738311767578125,
0.00954437255859375,
-0.0... | [
13,
18,
85,
150,
237,
238,
284,
285,
294,
425,
532,
757,
959,
1290,
1363,
1459,
1957,
2242,
2506,
4743,
6226,
7049,
7413,
8035,
8335,
10750,
11435,
11476,
12765,
12937,
14037,
14231,
15044,
15190,
15400,
16655,
17726,
17925,
18151,
18499,... | [
0.10546875,
0.0634765625,
0.1220703125,
0.083984375,
0.02880859375,
0.001708984375,
0.05615234375,
0.006591796875,
0.06494140625,
0.0869140625,
0.0390625,
0.053466796875,
0.0810546875,
0.130859375,
0.0791015625,
0.00439453125,
0.0284423828125,
0.1689453125,
0.1142578125,
0.1425... |
9a67e3c1-11f5-52e6-b9fc-60cb657d621f | 1,873 | 0 | "Title: Triple Quotes? How do I delimit a databound Javascript string parameter in ASP.NET?\n\nHow d(...TRUNCATED) | 376 | 445 | [
"javascript"
] | [
"asp.net",
"javascript",
"anchor",
"quotes"
] | "{\"accepted_answer_id\":1886,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED) | [0.030975341796875,-0.021484375,-0.0226898193359375,-0.0154876708984375,0.00228118896484375,-0.03576(...TRUNCATED) | [7,8,11,23,56,71,83,98,133,142,195,452,717,720,831,841,892,959,1001,1286,1405,1505,2053,2161,2506,26(...TRUNCATED) | [0.0966796875,0.109375,0.0068359375,0.0184326171875,0.0849609375,0.042236328125,0.024658203125,0.068(...TRUNCATED) |
ee18d3c2-eedb-55fb-b41c-a63e3938516e | 2,914 | 0 | "Title: How can I detect if a browser is blocking a popup?\n\nOccasionally, I've come across a webpa(...TRUNCATED) | 68 | 78 | [
"html",
"javascript"
] | [
"javascript",
"html",
"popup"
] | "{\"accepted_answer_id\":2917,\"answer_count\":11,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED) | [0.0177459716796875,0.00586700439453125,0.0096893310546875,-0.00858306884765625,0.01389312744140625,(...TRUNCATED) | [7,47,56,90,214,297,831,1295,1467,1927,2037,2174,3525,4527,5526,7426,9077,9803,11210,11249,22469,302(...TRUNCATED) | [0.0322265625,0.0029296875,0.119140625,0.01123046875,0.0791015625,0.0301513671875,0.044677734375,0.0(...TRUNCATED) |
84c9a644-c208-5332-8f31-3c4ada2addfb | 3,224 | 0 | "Title: How can I make the browser see CSS and Javascript changes?\n\nCSS and Javascript files don't(...TRUNCATED) | 226 | 239 | [
"css",
"javascript"
] | [
"javascript",
"css",
"http",
"caching"
] | "{\"accepted_answer_id\":3225,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED) | [0.025665283203125,-0.0288543701171875,-0.0236663818359375,-0.0203704833984375,0.0214385986328125,-0(...TRUNCATED) | [41,47,136,159,456,831,853,1052,1328,1467,1957,2831,3173,3249,3444,3564,3642,4552,4568,5426,6226,722(...TRUNCATED) | [0.0048828125,0.03369140625,0.1025390625,0.0048828125,0.0299072265625,0.033203125,0.095703125,0.0424(...TRUNCATED) |
101e1dcd-ff3e-516d-a64a-0d0686f172d4 | 3,319 | 0 | "Title: How to set background color of HTML element using css properties in JavaScript\n\nHow can I (...TRUNCATED) | 34 | 35 | [
"css",
"javascript"
] | [
"javascript",
"css",
"background-color"
] | "{\"accepted_answer_id\":3321,\"answer_count\":17,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED) | [0.036834716796875,0.00897216796875,-0.01580810546875,-0.022705078125,-0.007965087890625,-0.04348754(...TRUNCATED) | [
7,
23,
32,
47,
70,
87,
111,
831,
5423,
10576,
11249,
12830,
17368,
17925,
19097,
20763,
48962,
76615,
183871
] | [0.1552734375,0.060302734375,0.010498046875,0.02978515625,0.013916015625,0.04150390625,0.00048828125(...TRUNCATED) |
d3316fbf-f66d-5377-bc74-285eb72f6ce1 | 3,362 | 0 | "Title: Capturing TAB key in text box\n\nI would like to be able to use the Tab key within a text bo(...TRUNCATED) | 107 | 114 | [
"javascript"
] | [
"javascript",
"user-interface"
] | "{\"accepted_answer_id\":13130,\"answer_count\":6,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED) | [0.0213165283203125,-0.0246429443359375,-0.00276947021484375,-0.004886627197265625,0.006839752197265(...TRUNCATED) | [7,23,42,47,277,373,425,645,837,1257,1328,1884,2480,2737,2806,3917,4527,5036,7986,8108,8294,11737,13(...TRUNCATED) | [0.00146484375,0.0228271484375,0.0625,0.038818359375,0.00927734375,0.005615234375,0.011962890625,0.0(...TRUNCATED) |
90101bac-d59d-55dd-a239-dbff2967aa1b | 3,385 | 0 | "Title: MAC addresses in JavaScript\n\nI know that we can get the MAC address of a user via IE (Acti(...TRUNCATED) | 43 | 45 | [
"javascript"
] | [
"javascript",
"mac-address"
] | "{\"accepted_answer_id\":10747,\"answer_count\":8,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED) | [0.038055419921875,-0.0167388916015625,-0.04840087890625,-0.029144287109375,-0.01204681396484375,-0.(...TRUNCATED) | [7,10,13,23,25,47,70,87,90,111,642,831,1542,1829,2046,2071,2685,3714,3917,17368,17925,29823,36746,38(...TRUNCATED) | [0.051513671875,0.03515625,0.0269775390625,0.0859375,0.0107421875,0.0673828125,0.041748046875,0.0080(...TRUNCATED) |
ad379637-7c3c-5e2e-a0d4-1a4a8c59cebd | 3,404 | 0 | "Title: JavaScript Troubleshooting Tools in Internet Explorer\n\nI use Firebug and the Mozilla JS co(...TRUNCATED) | 123 | 126 | [
"javascript"
] | [
"javascript",
"internet-explorer",
"debugging"
] | "{\"accepted_answer_id\":3409,\"answer_count\":7,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED) | [0.0038471221923828125,-0.035552978515625,-0.022430419921875,-0.01300048828125,0.01151275634765625,-(...TRUNCATED) | [6,10,16,21,23,51,67,87,100,136,142,191,214,361,538,765,831,1556,1733,1781,2174,2357,2661,2665,2806,(...TRUNCATED) | [0.02392578125,0.04296875,0.000244140625,0.0576171875,0.0703125,0.05419921875,0.0341796875,0.0249023(...TRUNCATED) |
075fda3b-5ea8-51e2-b7bd-5316d10d5807 | 3,713 | 0 | "Title: Call ASP.NET function from JavaScript\n\nI'm writing a web page in ASP.NET. I have some Java(...TRUNCATED) | 56 | 58 | [
"c#",
"javascript"
] | [
"javascript",
"c#",
"asp.net",
"onclick"
] | "{\"accepted_answer_id\":3777,\"answer_count\":20,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED) | [0.007965087890625,-0.000579833984375,-0.004161834716796875,-0.0223541259765625,0.001894950866699218(...TRUNCATED) | [4,5,7,23,47,87,442,678,765,1295,1467,2071,3060,7722,9191,11782,17777,17925,18151,18158,19732,26265,(...TRUNCATED) | [0.00439453125,0.0380859375,0.005126953125,0.0546875,0.015869140625,0.00732421875,0.0191650390625,0.(...TRUNCATED) |
Stack2Graph vector database: javascript
This release contains 2840662 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
- 248