Datasets:
image imagewidth (px) 1.28k 2.01k | bbox stringlengths 4 140k | text stringlengths 1.45k 32.9k | score int64 2 3 | scale sequencelengths 2 2 | lang stringclasses 19
values | tokens sequencelengths 2 2 | hash stringlengths 64 64 ⌀ |
|---|---|---|---|---|---|---|---|
{"type": "body", "content": "", "style": "background: #f0f0f0; font-family: \"Lato\", sans-serif; font-size: 16px; margin-bottom: 4em; padding-bottom: 2em", "bbox": [8, 8, 1264, 1176], "children": [{"type": "div", "content": "", "style": null, "bbox": [8, 8, 1264, 1144], "children": [{"type": "div", "content": "", "sty... | <!DOCTYPE html>
<!DOCTYPE html>
<html class="no-js"> <head><title>zip-stream :: Stackage Server</title></head><body><div id="main"><div class="navbar navbar-inverse navbar-static-top"><div class="navbar-inner"><div class="container"><button class="btn btn-navbar"><span class="icon-bar"></span><span class="icon-bar"><... | 3 | [
1280,
1246
] | en | [
925,
1323
] | 8a03192e3b8d385b2f1f297f37df7a2688523844977cc6182867a9077d638db0 | |
{"type": "body", "content": "", "style": null, "bbox": [8, 16, 1264, 2113], "children": [{"type": "header", "content": "", "style": "background-color: #66b2ff", "bbox": [8, 16, 1264, 576], "children": [{"type": "div", "content": "", "style": null, "bbox": [8, 16, 1264, 576], "children": [{"type": "p", "content": "", "s... | <!DOCTYPE html>
<html class="t-html"><head><title>2016年1月|読書亡羊</title></head><body class="t-meiryo t-headerColor" id="top"><header class="l-header"><div class="container container-header"><p class="siteTitle"><a class="siteTitle__link">
読書亡羊 </a></p><nav class="subNavi"><ul class="subNavi__list"... | 3 | [
1280,
2138
] | ja | [
213,
3623
] | 3d27c488228e3431548f4b7f20f1b83664d6d79bcf3ff7ca3fe762dff23f8b80 | |
{"type": "body", "content": "", "style": "margin: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; line-height: 1; font-family: Open Sans, Arial, sans-serif; font-size: 14px; color: ... | <!DOCTYPE html>
<html><head><title>TH-500 | Lamonaca Iron Works</title></head><body class="attachment attachment-template-default single single-attachment postid-402 attachmentid-402 attachment-jpeg et-tb-has-template et-tb-has-header et_pb_button_helper_class et_pb_footer_columns4 et_cover_background et_pb_gutter et_... | 3 | [
1280,
1207
] | en | [
3599,
2372
] | 4294fe86cecbd2937d9920bc798e95136c061b7b92b7e80e7080b238d3519e3d | |
{"type": "body", "content": "", "style": "font-family: \"Open Sans\"; background-color: #000 !important", "bbox": [8, 8, 1264, 1245], "children": [{"type": "div", "content": "", "style": "max-width: 1000px", "bbox": [8, 8, 1000, 1245], "children": [{"type": "header", "content": "", "style": "background-color: #000", "b... | <!DOCTYPE html>
<html><head><title>dcbs</title></head><body class="archive tag tag-dcbs tag-2610"><div class="hfeed" id="wrapper"><header id="header"><div id="masthead"><div id="branding"><img id="bg_image" src="http://thepaneljumper.com/wp-content/uploads/2018/12/cropped-PanelJumper-Header-website2.jpg"/><div id="hea... | 3 | [
1280,
1262
] | en | [
480,
2256
] | 4c387f75332901afcb58f7b7e0bae2f2a71454756b7fb4f5a81779fa1118ed6e | |
{"type": "body", "content": "", "style": "background-position: center top; background-size: cover; background-repeat: no-repeat; background-attachment: fixed", "bbox": [8, 16, 1264, 2493], "children": [{"type": "div", "content": "", "style": null, "bbox": [8, 16, 1264, 2493], "children": [{"type": "div", "content": "",... | <!DOCTYPE html>
<html><head><title>Season 1, Episode 11—”Shrinkage – pt. 2″</title></head><body class="post-template-default single single-post postid-282 single-format-standard custom-background wp-embed-responsive"><div id="logo"></div><div id="header-text"><div class="site-title"><a></a></div><div class="site-descr... | 3 | [
1280,
2518
] | en | [
302,
2587
] | 78b051071e23a2588840b09d29ae1bcb97a880696440c00202e29785301f63ea | |
{"type": "body", "content": "", "style": null, "bbox": [8, 8, 1264, 1219], "children": [{"type": "div", "content": "", "style": "z-index: 9000; position: fixed; padding: 1em 1.8em; color: rgb(255, 255, 255); background-color: rgb(37, 46, 57); font-size: 12px", "bbox": [8, 8, 1272, 151], "children": [{"type": "h1", "con... | <!DOCTYPE html>
<html><head><base/><title>Rechercher - Forum Volkswagen Golf IV</title></head><body class="ltr"><div class="" id="cookies_box"><h1>Ce site web utilise les cookies.</h1><p>
Les données stockées par ces cookies nous permermettent de personnaliser le contenu des annonces,
d'offrir des fonctionnali... | 3 | [
1280,
1235
] | fr | [
231,
2988
] | 0b89d8dcc0b13159c2952af0c12fafdaa5d4337310b14863ceff1c24234f7711 | |
"{\"type\": \"body\", \"content\": \"\", \"style\": \"background-color: #e5e5e5\", \"bbox\": [8, 8, (...TRUNCATED) | "<!DOCTYPE html>\n\n<html><head><title>Ingold – Material World</title></head><body class=\"archive(...TRUNCATED) | 3 | [
1280,
1420
] | en | [
277,
4085
] | 9a2ce7f93e628160ec545fa9d05c7131db9d32e0699e0d07c997f26975f08141 | |
"{\"type\": \"body\", \"content\": \"\", \"style\": \"margin: 0; padding-top: 0; padding-right: 0; p(...TRUNCATED) | "<!DOCTYPE html>\n\n<html><head><title>Historik | Sveriges Yachtkonstruktörers Riksförening</title(...TRUNCATED) | 3 | [
1280,
2468
] | bg | [
2187,
4813
] | c82facfd2e59e1d5b857b8dc5004e5361f001e9c25373c3a2b6831e8e0599116 | |
"{\"type\": \"body\", \"content\": \"\", \"style\": \"color: #fff; background-color: #99011A; font-f(...TRUNCATED) | "<!DOCTYPE html>\n\n<html><head><title>Retter-Radio - Musik-Forum nicht nur für Alltagsretter | Üb(...TRUNCATED) | 3 | [
1280,
2032
] | de | [
253,
3093
] | dd0225a8c01bd13c142882dc90626399b95860a66495fee35a439c78997fee8d | |
"{\"type\": \"body\", \"content\": \"\", \"style\": \"font-family: \\\"Dosis\\\", sans-serif; color:(...TRUNCATED) | "<!DOCTYPE html>\n\n<html><head><title>Fotografschaft | Marie-Theres Graf | Fotografin | Erlangen | (...TRUNCATED) | 3 | [
1280,
2394
] | ur | [
555,
3015
] | 174f574b725706892f50f5dadd6a2a8843b6a0b860fe5ef8856ce345f87dea0c |
End of preview. Expand in Data Studio
WebCode2M: A Real-World Dataset for Code Generation from Webpage Designs
Features:
image: the screenshot of the webpage.bbox: the layout information, i.e., the bounding boxes (Bbox) of all the elements in the webpage, which contains the size, position, and hierarchy information.text: the webpage code text including HTML/CSS code.scale: the scale of the screenshot, in the format [width, height].lang: the main language of the text content displayed on the rendered page (excluding HTML/CSS code). It is generated by a widely-applied model on HuggingFace, which achieved very high accuracy on its evaluation set. Currently, it supports the following 20 languages: arabic (ar), bulgarian (bg), german (de), modern greek (el), english (en), spanish (es), french (fr), hindi (hi), italian (it), japanese (ja), dutch (nl), polish (pl), portuguese (pt), russian (ru), swahili (sw), thai (th), turkish (tr), urdu (ur), vietnamese (vi), and chinese (zh).tokens: the count of tokens of HTML and CSS code, in the format of [CSS length, HTML length]. The tokens are generated by GPT-2 tokenizer.score: the score is obtained by the neural scorer proposed in the paper.hash: the hash code of the image object.
Warning: This dataset is sourced from the internet and, despite filtering efforts, may still contain a small amount of inappropriate content, such as explicit material or violence. Users should exercise caution.
- Downloads last month
- 1,217