CoolFace
Datasetpublic

SALT-NLP/Design2Code

This dataset consists of 484 webpages from the C4 validation set, serving the purpose of testing multimodal LLMs on converting visual designs into code implementations. Each example is a pair of source HTML and screenshot ({id}.html and {id}.png). See the dataset in the huggingface format here. Note that all images in these webpages are replaced by a placeholder image (rick.jpg) Please refer to our project page and our paper for more information. Example Usage For example, you… See the full description on the dataset page: https://huggingface.co/datasets/SALT-NLP/Design2Code.

sourceHugging Faceodc-byupdated 3y agoView on Hugging Face
22likes1.8kdownloads
13166.html305 linesDownload Raw Back to root
1<!DOCTYPE html>2<html lang="en">3 <head>4  <style>5   body,h1,h2,h3,h4,h5,h6,p,blockquote,pre,hr,dl,dd,ol,ul,figure{margin:0;padding:0}body{font:400 16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";color:#111;background-color:#fdfdfd;-webkit-text-size-adjust:100%;-webkit-font-feature-settings:"kern" 1;-moz-font-feature-settings:"kern" 1;-o-font-feature-settings:"kern" 1;font-feature-settings:"kern" 1;font-kerning:normal;display:flex;min-height:100vh;flex-direction:column}h1,h2,h3,h4,h5,h6,p,blockquote,pre,ul,ol,dl,figure,.highlight{margin-bottom:15px}main{display:block}img{max-width:100%;vertical-align:middle}figure>img{display:block}figcaption{font-size:14px}ul,ol{margin-left:30px}li>ul,li>ol{margin-bottom:0}h1,h2,h3,h4,h5,h6{font-weight:400}a{color:#2a7ae2;text-decoration:none}a:visited{color:#1756a9}a:hover{color:#111;text-decoration:underline}.social-media-list a:hover{text-decoration:none}.social-media-list a:hover .username{text-decoration:underline}blockquote{color:#828282;border-left:4px solid #e8e8e8;padding-left:15px;font-size:18px;letter-spacing:-1px;font-style:italic}blockquote>:last-child{margin-bottom:0}pre,code{font-size:15px;border:1px solid #e8e8e8;border-radius:3px;background-color:#eef}code{padding:1px 5px}pre{padding:8px 12px;overflow-x:auto}pre>code{border:0;padding-right:0;padding-left:0}.wrapper{max-width:-webkit-calc(800px - (30px * 2));max-width:calc(800px - (30px * 2));margin-right:auto;margin-left:auto;padding-right:30px;padding-left:30px}@media screen and (max-width: 800px){.wrapper{max-width:-webkit-calc(800px - (30px));max-width:calc(800px - (30px));padding-right:15px;padding-left:15px}}.wrapper:after,.footer-col-wrapper:after{content:"";display:table;clear:both}.svg-icon{width:16px;height:16px;display:inline-block;fill:#828282;padding-right:5px;vertical-align:text-top}.social-media-list li+li{padding-top:5px}table{margin-bottom:30px;width:100%;text-align:left;color:#3f3f3f;border-collapse:collapse;border:1px solid #e8e8e8}table tr:nth-child(even){background-color:#f7f7f7}table th,table td{padding:10px 15px}table th{background-color:#f0f0f0;border:1px solid #dedede;border-bottom-color:#c9c9c9}table td{border:1px solid #e8e8e8}.site-header{border-top:5px solid #424242;border-bottom:1px solid #e8e8e8;min-height:55.95px;position:relative}.site-title{font-size:26px;font-weight:300;line-height:54px;letter-spacing:-1px;margin-bottom:0;float:left}.site-title,.site-title:visited{color:#424242}.site-nav{float:right;line-height:54px}.site-nav .nav-trigger{display:none}.site-nav .menu-icon{display:none}.site-nav .page-link{color:#111;line-height:1.5}.site-nav .page-link:not(:last-child){margin-right:20px}@media screen and (max-width: 600px){.site-nav{position:absolute;top:9px;right:15px;background-color:#fdfdfd;border:1px solid #e8e8e8;border-radius:5px;text-align:right}.site-nav label[for="nav-trigger"]{display:block;float:right;width:36px;height:36px;z-index:2;cursor:pointer}.site-nav .menu-icon{display:block;float:right;width:36px;height:26px;line-height:0;padding-top:10px;text-align:center}.site-nav .menu-icon>svg{fill:#424242}.site-nav input ~ .trigger{clear:both;display:none}.site-nav input:checked ~ .trigger{display:block;padding-bottom:5px}.site-nav .page-link{display:block;padding:5px 10px;margin-left:20px}.site-nav .page-link:not(:last-child){margin-right:0}}.site-footer{border-top:1px solid #e8e8e8;padding:30px 0}.footer-heading{font-size:18px;margin-bottom:15px}.contact-list,.social-media-list{list-style:none;margin-left:0}.footer-col-wrapper{font-size:15px;color:#828282;margin-left:-15px}.footer-col{float:left;margin-bottom:15px;padding-left:15px}.footer-col-1{width:-webkit-calc(35% - (30px / 2));width:calc(35% - (30px / 2))}.footer-col-2{width:-webkit-calc(20% - (30px / 2));width:calc(20% - (30px / 2))}.footer-col-3{width:-webkit-calc(45% - (30px / 2));width:calc(45% - (30px / 2))}@media screen and (max-width: 800px){.footer-col-1,.footer-col-2{width:-webkit-calc(50% - (30px / 2));width:calc(50% - (30px / 2))}.footer-col-3{width:-webkit-calc(100% - (30px / 2));width:calc(100% - (30px / 2))}}@media screen and (max-width: 600px){.footer-col{float:none;width:-webkit-calc(100% - (30px / 2));width:calc(100% - (30px / 2))}}.page-content{padding:30px 0;flex:1}.page-heading{font-size:32px}.post-list-heading{font-size:28px}.post-list{margin-left:0;list-style:none}.post-list>li{margin-bottom:30px}.post-meta{font-size:14px;color:#828282}.post-link{display:block;font-size:24px}.post-header{margin-bottom:30px}.post-title{font-size:42px;letter-spacing:-1px;line-height:1}@media screen and (max-width: 800px){.post-title{font-size:36px}}.post-content{margin-bottom:30px}.post-content h2{font-size:32px}@media screen and (max-width: 800px){.post-content h2{font-size:28px}}.post-content h3{font-size:26px}@media screen and (max-width: 800px){.post-content h3{font-size:22px}}.post-content h4{font-size:20px}@media screen and (max-width: 800px){.post-content h4{font-size:18px}}.highlight{background:#fff}.highlighter-rouge .highlight{background:#eef}.highlight .c{color:#998;font-style:italic}.highlight .err{color:#a61717;background-color:#e3d2d2}.highlight .k{font-weight:bold}.highlight .o{font-weight:bold}.highlight .cm{color:#998;font-style:italic}.highlight .cp{color:#999;font-weight:bold}.highlight .c1{color:#998;font-style:italic}.highlight .cs{color:#999;font-weight:bold;font-style:italic}.highlight .gd{color:#000;background-color:#fdd}.highlight .gd .x{color:#000;background-color:#faa}.highlight .ge{font-style:italic}.highlight .gr{color:#a00}.highlight .gh{color:#999}.highlight .gi{color:#000;background-color:#dfd}.highlight .gi .x{color:#000;background-color:#afa}.highlight .go{color:#888}.highlight .gp{color:#555}.highlight .gs{font-weight:bold}.highlight .gu{color:#aaa}.highlight .gt{color:#a00}.highlight .kc{font-weight:bold}.highlight .kd{font-weight:bold}.highlight .kp{font-weight:bold}.highlight .kr{font-weight:bold}.highlight .kt{color:#458;font-weight:bold}.highlight .m{color:#099}.highlight .s{color:#d14}.highlight .na{color:teal}.highlight .nb{color:#0086B3}.highlight .nc{color:#458;font-weight:bold}.highlight .no{color:teal}.highlight .ni{color:purple}.highlight .ne{color:#900;font-weight:bold}.highlight .nf{color:#900;font-weight:bold}.highlight .nn{color:#555}.highlight .nt{color:navy}.highlight .nv{color:teal}.highlight .ow{font-weight:bold}.highlight .w{color:#bbb}.highlight .mf{color:#099}.highlight .mh{color:#099}.highlight .mi{color:#099}.highlight .mo{color:#099}.highlight .sb{color:#d14}.highlight .sc{color:#d14}.highlight .sd{color:#d14}.highlight .s2{color:#d14}.highlight .se{color:#d14}.highlight .sh{color:#d14}.highlight .si{color:#d14}.highlight .sx{color:#d14}.highlight .sr{color:#009926}.highlight .s1{color:#d14}.highlight .ss{color:#990073}.highlight .bp{color:#999}.highlight .vc{color:teal}.highlight .vg{color:teal}.highlight .vi{color:teal}.highlight .il{color:#099}6  </style>7  <meta charset="utf-8">8  <meta content="IE=edge" http-equiv="X-UA-Compatible">9  <meta content="width=device-width, initial-scale=1" name="viewport">10  <!-- Begin Jekyll SEO tag v2.8.0 -->11  <title>12   [NAME REDACTED] | Assistant Professor, Department of Computer Science and Engineering, IIT Delhi13  </title>14  <meta content="Jekyll v3.9.3" name="generator">15  <meta content="Abhilash Jindal" property="og:title">16  <meta content="en_US" property="og:locale">17  <meta content="Assistant Professor, Department of Computer Science and Engineering, IIT Delhi" name="description">18  <meta content="Assistant Professor, Department of Computer Science and Engineering, IIT Delhi" property="og:description">19  <meta content="/" property="og:url">20  <meta content="Abhilash Jindal" property="og:site_name">21  <meta content="website" property="og:type">22  <meta content="summary" name="twitter:card">23  <meta content="Abhilash Jindal" property="twitter:title">24  <!-- End Jekyll SEO tag -->25  <meta content="AymqwRC7u88Y4JPvfIF2F37QKylC04248hLCdJAsh8xgOfe/dVJPV3XS3wLFca1ZMVOtnBfVjaCMTVudWM//5g4AAAB7eyJvcmlnaW4iOiJodHRwczovL3d3dy5nb29nbGV0YWdtYW5hZ2VyLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjk1MTY3OTk5LCJpc1RoaXJkUGFydHkiOnRydWV9" http-equiv="origin-trial">26 </head>27 <body>28  <header class="site-header" role="banner">29   <div class="wrapper">30    <a class="site-title" rel="author">31      [NAME REDACTED]32    </a>33    <nav class="site-nav">34     <input class="nav-trigger" id="nav-trigger" type="checkbox">35     <label for="nav-trigger">36      <span class="menu-icon">37      </span>38     </label>39     <div class="trigger">40      <a class="page-link">41       Publications42      </a>43      <a class="page-link">44       Personal45      </a>46     </div>47    </nav>48   </div>49  </header>50  <main aria-label="Content" class="page-content">51   <div class="wrapper">52    <div class="home">53     <p>54      <img alt="Abhilash profile pic" src="rick.jpg" style="float: right;margin-left: 10px;margin-top: 7px;max-width: 200px; border-radius:50%;">55     </p>56     <p>57      Assistant professor,58      <a>59       CSE, IIT Delhi60      </a>61      <br>62      TBO Faculty Fellow63      <br>64      Office: SIT 412, Khosla School of IT, IIT Delhi65      <br>66      Email: ajindal AT cse.iitd.ac.in67     </p>68     <h2 id="about-me">69      About me70     </h2>71     <p>72      I am an assistant professor at CSE, IIT Delhi and am broadly interested in systems.73Prior to joining IIT Delhi, I spent an year at74      <a>75       Instabase76      </a>77      and another couple years as the CTO78of79      <a>80       Mobile Enerlytics81      </a>82      , a startup I co-founded.83     </p>84     <p>85      I received my Ph.D. from86      <a>87       Purdue88University89      </a>90      where I worked closely with professors91      <a>92       Y. Charlie Hu93      </a>94      and95      <a>96       Samuel97Midkiff98      </a>99      . I earned100my undergraduate degree from101      <a>102       IIT103Kanpur104      </a>105      .106     </p>107     <p>108      <a>109       Publications110      </a>111      /112      <a target="_blank">113       LinkedIn114      </a>115      /116      <a target="_blank">117       Google Scholar118      </a>119      /120      <a>121       CV122      </a>123     </p>124     <h3 id="selected-press">125      Selected Press126     </h3>127     <ul>128      <li>129       <a target="_blank">130        Mobile Enerlytics131       </a>132       , 2014+:133       <a target="_blank">134        BGR135       </a>136       |137       <a target="_blank">138        Mashable139       </a>140       |141       <a target="_blank">142        Gizmodo143       </a>144       |145      </li>146      <li>147       <a target="_blank">148        DiffProf149       </a>150       , 2018:151       <a target="_blank">152        Communication of the ACM153       </a>154       |155       <a target="_blank">156        The Register157       </a>158       |159       <a target="_blank">160        The Week161       </a>162       |163      </li>164      <li>165       <a target="_blank">166        Hush167       </a>168       , 2015:169       <a target="_blank">170        BBC171       </a>172       |173       <a target="_blank">174        SlashDot175       </a>176       |177       <a target="_blank">178        Zee News179       </a>180       |181      </li>182      <li>183       <a target="_blank">184        No-Sleep Bugs185       </a>186       , 2012:187       <a target="_blank">188        The Verge189       </a>190       |191       <a target="_blank">192        NBC193       </a>194       |195       <a target="_blank">196        Times of India197       </a>198       |199      </li>200     </ul>201     <h3 id="awards">202      Awards203     </h3>204     <ul>205      <li>206       Google India Research Award, 2022.207      </li>208      <li>209       Best Community Paper Award, MobiCom, 2022.210      </li>211     </ul>212     <h3 id="service">213      Service214     </h3>215     <p>216      PC member: Middleware&rsquo;23, Eurosys&rsquo;22217     </p>218     <h2 id="teaching">219      Teaching220     </h2>221     <ul>222      <li>223       <a target="_blank">224        [2023-2024 I] COL-733: Cloud computing technology fundamentals225       </a>226       <br>227      </li>228      <li>229       <a target="_blank">230        [2022-2023 II] COP-290: Design Practices231       </a>232       <br>233      </li>234      <li>235       <a target="_blank">236        [2022 Winter] WSS-22: Cloud Computing237       </a>238       <br>239      </li>240      <li>241       <a target="_blank">242        [2022-2023 I] COL-732: Virtualization and Cloud Computing243       </a>244       <br>245      </li>246     </ul>247    </div>248   </div>249  </main>250  <footer class="site-footer h-card">251   <data class="u-url">252   </data>253   <div class="wrapper">254    <h2 class="footer-heading">255     [NAME REDACTED]256    </h2>257    <div class="footer-col-wrapper">258     <div class="footer-col footer-col-1">259      <ul class="contact-list">260       <li class="p-name">261            [NAME REDACTED]262       </li>263       <li>264        <a class="u-email">265         [EMAIL REDACTED]266        </a>267       </li>268      </ul>269     </div>270     <div class="footer-col footer-col-2">271      <ul class="social-media-list">272       <li>273        <a>274         <span class="username">275          codenet276         </span>277        </a>278       </li>279       <li>280        <a>281         <span class="username">282            [NAME REDACTED]283         </span>284        </a>285       </li>286       <li>287        <a>288         <span class="username">289            [NAME REDACTED]290         </span>291        </a>292       </li>293      </ul>294     </div>295     <div class="footer-col footer-col-3">296      <p>297       Assistant Professor, Department of Computer Science and Engineering, IIT Delhi298      </p>299     </div>300    </div>301   </div>302  </footer>303 </body>304</html>305