Search is not available for this dataset
structure
stringlengths
4.24k
176M
text
stringlengths
0
316k
image
imagewidth (px)
1.92k
1.92k
download_url
stringlengths
44
93
instance_name
stringlengths
11
60
date
stringclasses
60 values
additional_info
stringlengths
5.55k
7.99k
date_scrapped
stringlengths
28
28
file_filters
stringlengths
1.26k
8.95k
compilation_info
stringlengths
18
344k
rendering_filters
stringlengths
154
186
assets
sequencelengths
0
0
category
stringclasses
1 value
uuid
stringlengths
38
38
length
stringlengths
2
4
difficulty
stringclasses
3 values
"H4sICPlO9GUC/zMzMWI1YzI4LTFkNTAtNDc3Yy1iNWViLTMyZTQ1OThkYTZjNi50YXIA7Ht3QFPLum/oEAEBAZFmQHoJhI6ACkj(...TRUNCATED)
Mikael R. Photography ![](main.jpg)
"https://github.com/mklrr/mklrr.github.io.git"
"mklrr_mklrr"
"2024-01-22"
"{\n \"id\": 746874086,\n \"node_id\": \"R_kgDOLIRk5g\",\n \"name\": \"mklrr.github.io\",\n(...TRUNCATED)
"2024-03-15T06:36:38.016508"
"{\n \"RepoFilter\": {\n \"only_contains_readme\": false,\n \"num_files\": {\n (...TRUNCATED)
"{\n \"html\": \"<html><head>\\n <meta charset=\\\"UTF-8\\\">\\n <meta name=\\\"viewport\\\(...TRUNCATED)
"{\n \"NonTrivialRenderingFilter\": {\n \"white_pixels_ratio\": 48.307243441358025,\n (...TRUNCATED)
[]
"css"
"331b5c28-1d50-477c-b5eb-32e4598da6c6"
117
easy
"H4sICKxL9GUC/zE1ZTFkMmIxLWQyZWUtNDE5Zi1iNDAyLTUzYTU4ZmNiOWQ5MS50YXIA7D0HQFNX12FDQGSJiICPAAJKwssOS9m(...TRUNCATED)
"https://github.com/chemo890/chemo890.github.io.git"
"chemo890_chemo890"
"2024-01-25"
"{\n \"id\": 748377719,\n \"node_id\": \"R_kgDOLJtWdw\",\n \"name\": \"chemo890.github.io\"(...TRUNCATED)
"2024-03-15T06:22:34.841823"
"{\n \"RepoFilter\": {\n \"only_contains_readme\": false,\n \"num_files\": {\n (...TRUNCATED)
"{\n \"html\": \"<html lang=\\\"en\\\"><head>\\n <meta charset=\\\"UTF-8\\\">\\n <meta http(...TRUNCATED)
"{\n \"NonTrivialRenderingFilter\": {\n \"white_pixels_ratio\": 0.0,\n \"hash\": \"(...TRUNCATED)
[]
"css"
"15e1d2b1-d2ee-419f-b402-53a58fcb9d91"
1648
hard
"H4sICHdf9GUC/2ExNGQzMzczLWE4MDItNGUxMi05ZmFlLTk5OTk5NTU2YzMwMC50YXIA7Vxrc9u4uc5nzuQ/YJU5M04rUXfJVuy(...TRUNCATED)
"## Staszku... kochasz mnie jeszcze O///O?\n![gif](https://media.giphy.com/media/vQ8ubcro4CJV6nhIwl/(...TRUNCATED)
"https://github.com/Kimiszek/kretyn.github.io.git"
"Kimiszek_kretyn"
"2024-01-05"
"{\n \"id\": 739561091,\n \"node_id\": \"R_kgDOLBTOgw\",\n \"name\": \"kretyn.github.io\",\(...TRUNCATED)
"2024-03-15T07:47:06.411185"
"{\n \"RepoFilter\": {\n \"only_contains_readme\": false,\n \"num_files\": {\n (...TRUNCATED)
"{\n \"html\": \"<html lang=\\\"en\\\"><head>\\n <meta charset=\\\"UTF-8\\\">\\n <meta name(...TRUNCATED)
"{\n \"NonTrivialRenderingFilter\": {\n \"white_pixels_ratio\": 2.7424768518518516,\n (...TRUNCATED)
[]
"css"
"a14d3373-a802-4e12-9fae-99999556c300"
100
easy
"H4sICBxM9GUC/2ZjNThjZDY5LTYwZjQtNDUwYy1hZTVmLTJjZDk2Nzc5NDk1Yy50YXIA7Txrcxs3kv48vwKh90pKihy+KZkWvRf(...TRUNCATED)
"# Welcome to the Magic 8 Ball Robot Machine\nEnter your name and a question, then press the answer (...TRUNCATED)
"https://github.com/tshams-coder/tshams.github.io.git"
"tshams-coder_tshams"
"2024-01-23"
"{\n \"id\": 747192739,\n \"node_id\": \"R_kgDOLIlBow\",\n \"name\": \"tshams.github.io\",\(...TRUNCATED)
"2024-03-15T06:24:29.343387"
"{\n \"RepoFilter\": {\n \"only_contains_readme\": false,\n \"num_files\": {\n (...TRUNCATED)
"{\n \"html\": \"<html lang=\\\"en\\\"><head>\\n <meta charset=\\\"UTF-8\\\">\\n <meta name(...TRUNCATED)
"{\n \"NonTrivialRenderingFilter\": {\n \"white_pixels_ratio\": 89.33574459876543,\n (...TRUNCATED)
[]
"css"
"fc58cd69-60f4-450c-ae5f-2cd96779495c"
189
easy
"H4sICJU39GUC/zMxN2M0MGQ0LTljZjctNDQ0Yi1iZWNkLTc0MmQ4ZjIwYmNiYy50YXIA7D0HQBNJ14CgGFHBcqKCrkEEhIT0BBC(...TRUNCATED)
H A I G U Y S Iseng Iseng dikit ga ngaruh .... Klik disini ga meledak kok 😁
"https://github.com/Franslesino/Franslesino.github.io.git"
"Franslesino_Franslesino"
"2024-02-10"
"{\n \"id\": 755558699,\n \"node_id\": \"R_kgDOLQjpKw\",\n \"name\": \"Franslesino.github.i(...TRUNCATED)
"2024-03-15T04:56:49.964813"
"{\n \"RepoFilter\": {\n \"only_contains_readme\": false,\n \"num_files\": {\n (...TRUNCATED)
"{\n \"html\": \"<html lang=\\\"en\\\"><head>\\n <meta charset=\\\"UTF-8\\\">\\n <meta http(...TRUNCATED)
"{\n \"NonTrivialRenderingFilter\": {\n \"white_pixels_ratio\": 0.3195891203703704,\n (...TRUNCATED)
[]
"css"
"317c40d4-9cf7-444b-becd-742d8f20bcbc"
1740
hard
"H4sICBhB9GUC/zE0MjJkY2NjLTk2ZGEtNGYyMC1hMWU2LTc3Y2EyZmNiNzFjMy50YXIA7LsFUJvf1y4arARN8AJFAkVa3D24leL(...TRUNCATED)
"## LOGO\n### Home\n### Course\n### Blog\n### Gallary\n### Contact Us\nSignin __\n# Lorem ipsum dolo(...TRUNCATED)
"https://github.com/pjptrajit/FrontPage.github.io.git"
"pjptrajit_FrontPage"
"2024-02-02"
"{\n \"id\": 752011021,\n \"node_id\": \"R_kgDOLNLHDQ\",\n \"name\": \"FrontPage.github.io\(...TRUNCATED)
"2024-03-15T05:37:25.175341"
"{\n \"RepoFilter\": {\n \"only_contains_readme\": false,\n \"num_files\": {\n (...TRUNCATED)
"{\n \"html\": \"<html lang=\\\"en\\\"><head>\\n <meta charset=\\\"UTF-8\\\">\\n <meta name(...TRUNCATED)
"{\n \"NonTrivialRenderingFilter\": {\n \"white_pixels_ratio\": 82.54349922839506,\n (...TRUNCATED)
[]
"css"
"1422dccc-96da-4f20-a1e6-77ca2fcb71c3"
174
easy
"H4sICCQc9GUC/zM0ZTY1ZTc5LTUyYTYtNGE0OC04ZmYyLTQ3MjRlNDc2NTZmNi50YXIA7D0HQBNJ14CgGFHBcqKCrkEEhIT0BBC(...TRUNCATED)
H E L L O L I L O V E I Have Something for You Click Here
"https://github.com/akassakaaa/forlilove.github.io.git"
"akassakaaa_forlilove"
"2024-02-27"
"{\n \"id\": 764350425,\n \"node_id\": \"R_kgDOLY8P2Q\",\n \"name\": \"forlilove.github.io\(...TRUNCATED)
"2024-03-15T02:59:40.514024"
"{\n \"RepoFilter\": {\n \"only_contains_readme\": false,\n \"num_files\": {\n (...TRUNCATED)
"{\n \"html\": \"<html lang=\\\"en\\\"><head>\\n <meta charset=\\\"UTF-8\\\">\\n <meta http(...TRUNCATED)
"{\n \"NonTrivialRenderingFilter\": {\n \"white_pixels_ratio\": 0.0,\n \"hash\": \"(...TRUNCATED)
[]
"css"
"34e65e79-52a6-4a48-8ff2-4724e47656f6"
1742
hard
"H4sICONG9GUC/zlhZjhiODE1LTM5ODUtNDY1MC1hNTQ0LTU0NDY1ZGRjMWE2My50YXIA7X0JXExt+zCyZGxJJMJpJEUzzdRMNW2(...TRUNCATED)
"MOVIE SITE\n![image](https://images.unsplash.com/photo-1558981359-219d6364c9c8?ixlib=rb-1.2.1&ixid=(...TRUNCATED)
"https://github.com/henry-kimani/henry-kimani.github.io.git"
"henry-kimani_henry-kimani"
"2024-01-28"
"{\n \"id\": 749491721,\n \"node_id\": \"R_kgDOLKxWCQ\",\n \"name\": \"henry-kimani.github.(...TRUNCATED)
"2024-03-15T06:02:09.824330"
"{\n \"RepoFilter\": {\n \"only_contains_readme\": false,\n \"num_files\": {\n (...TRUNCATED)
"{\n \"html\": \"<html lang=\\\"en\\\"><head>\\n <meta charset=\\\"UTF-8\\\">\\n <meta name(...TRUNCATED)
"{\n \"NonTrivialRenderingFilter\": {\n \"white_pixels_ratio\": 54.55714699074075,\n (...TRUNCATED)
[]
"css"
"9af8b815-3985-4650-a544-54465ddc1a63"
161
easy
"H4sICDY69GUC/2FjNmYzZDI3LTRlZTgtNDY4ZC1iNTg4LWY3Y2FkNGExMDA3ZC50YXIA7Txrc9s4kvnMqvwHDLNXkXckmnrbsuW(...TRUNCATED)
Start ## Score: 0 ## Hit: ## Timer: 0
"https://github.com/upasanagithubrit/upasana.github.io-bubblegame.git"
"upasanagithubrit_upasana-bubblegame"
"2024-02-07"
"{\n \"id\": 754267107,\n \"node_id\": \"R_kgDOLPUz4w\",\n \"name\": \"upasana.github.io-bu(...TRUNCATED)
"2024-03-15T05:08:04.687849"
"{\n \"RepoFilter\": {\n \"only_contains_readme\": false,\n \"num_files\": {\n (...TRUNCATED)
"{\n \"html\": \"<html lang=\\\"en\\\"><head>\\n <meta charset=\\\"UTF-8\\\">\\n <meta name(...TRUNCATED)
"{\n \"NonTrivialRenderingFilter\": {\n \"white_pixels_ratio\": 0.20461998456790123,\n (...TRUNCATED)
[]
"css"
"ac6f3d27-4ee8-468d-b588-f7cad4a1007d"
196
easy
"H4sICMVh9GUC/zEwOGQ5MTg5LWNhNTUtNDk2OC04MGYzLWYzZjdjZTFjZWJkNC50YXIA7Txrc9tGkv7Mqv0PE7pSkW5JEABfEiP(...TRUNCATED)
"# LANGUAGES >> TIME IN 2\n07:57:00 AM\nFriday, 15 March 2024\nESPAÑOL\n![linkedin](https://img.ico(...TRUNCATED)
"https://github.com/Noethdz/time.github.io.git"
"Noethdz_time"
"2024-01-02"
"{\n \"id\": 738294376,\n \"node_id\": \"R_kgDOLAF6aA\",\n \"name\": \"time.github.io\",\n (...TRUNCATED)
"2024-03-15T07:56:56.052875"
"{\n \"RepoFilter\": {\n \"only_contains_readme\": false,\n \"num_files\": {\n (...TRUNCATED)
"{\n \"html\": \"<html lang=\\\"en\\\"><head>\\n <meta charset=\\\"UTF-8\\\">\\n <meta name(...TRUNCATED)
"{\n \"NonTrivialRenderingFilter\": {\n \"white_pixels_ratio\": 0.11771797839506173,\n (...TRUNCATED)
[]
"css"
"108d9189-ca55-4968-80f3-f3f7ce1cebd4"
314
medium

Image2Struct - Webpage

Paper | Website | Datasets (Webpages, Latex, Music sheets) | Leaderboard | HELM repo | Image2Struct repo

License: Apache License Version 2.0, January 2004

Dataset description

Image2struct is a benchmark for evaluating vision-language models in practical tasks of extracting structured information from images. This subdataset focuses on webpages. The model is given an image of the expected output with the prompt:

Please generate the source code to generate a webpage that looks like this image as much as feasibly possible.
You should output a json object associating each file name with its content.

Here is a simple example of the expected structure (that does not correspond to the image).
In this example, 3 files are created: index.html, style.css and script.js.
[
  {
    "filename": "index.html",
    "content": "<!DOCTYPE html>\\n<html>\\n<head>\\n<title>Title of the document</title>\\n</head>\\n<body>\\n\\n<p>Content of the document......</p>\\n\\n</body>\\n</html>"
  },
  {
    "filename": "style.css",
    "content": "body {\\n  background-color: lightblue;\\n}\\nh1 {\\n  color: white;\\n  text-align: center;\\n}"
  },
  {
    "filename": "script.js",
    "content": "document.getElementById(\\"demo\\").innerHTML = \\"Hello JavaScript!\\";"
  }
]
You do not have to create files with the same names. Create as many files as you need, you can even use directories if necessary,
they will be created for you automatically. Try to write some realistic code keeping in mind that it should
look like the image as much as feasibly possible.

The dataset is divided into 4 categories. There are 3 categories that are collected automatically using the Image2Struct repo. The webpages were collected on GitHub pages (.github.io) and are split into 3 groups that are determined by the main language of the repository:

  • html
  • css
  • javascript

The last category: wild, was collected by taking screenshots of popular websites. The full list is available at the end of this document.

Uses

To load the subset html of the dataset to be sent to the model under evaluation in Python:

import datasets
datasets.load_dataset("stanford-crfm/i2s-webpage", "html", split="validation")

To evaluate a model on Image2Webpage (html) using HELM, run the following command-line commands:

pip install crfm-helm
helm-run --run-entries image2webpage:subset=html,model=vlm --models-to-run google/gemini-pro-vision --suite my-suite-i2s --max-eval-instances 10

You can also run the evaluation for only a specific subset and difficulty:

helm-run --run-entries image2webpage:subset=html,difficulty=hard,model=vlm --models-to-run google/gemini-pro-vision --suite my-suite-i2s --max-eval-instances 10

For more information on running Image2Struct using HELM, refer to the HELM documentation and the article on reproducing leaderboards.

Citation

BibTeX:

@misc{roberts2024image2struct,
      title={Image2Struct: A Benchmark for Evaluating Vision-Language Models in Extracting Structured Information from Images}, 
      author={Josselin Somerville Roberts and Tony Lee and Chi Heem Wong and Michihiro Yasunaga and Yifan Mai and Percy Liang},
      year={2024},
      eprint={TBD},
      archivePrefix={arXiv},
      primaryClass={TBD}
}

List of websites used for wild subset

[
    "https://www.nytimes.com",
    "https://www.bbc.com",
    "https://www.wikipedia.org",
    "https://www.github.com",
    "https://www.reddit.com",
    "https://www.twitter.com",
    "https://www.facebook.com",
    "https://www.instagram.com",
    "https://www.linkedin.com",
    "https://www.youtube.com",
    "https://www.amazon.com",
    "https://www.apple.com",
    "https://www.microsoft.com",
    "https://www.ibm.com",
    "https://www.google.com",
    "https://www.yahoo.com",
    "https://www.bing.com",
    "https://www.duckduckgo.com",
    "https://www.netflix.com",
    "https://www.hulu.com",
    "https://www.disneyplus.com",
    "https://www.imdb.com",
    "https://www.metacritic.com",
    "https://www.rottentomatoes.com",
    "https://www.nationalgeographic.com",
    "https://www.nasa.gov",
    "https://www.cnn.com",
    "https://www.foxnews.com",
    "https://www.bloomberg.com",
    "https://www.cnbc.com",
    "https://www.forbes.com",
    "https://www.businessinsider.com",
    "https://www.techcrunch.com",
    "https://www.engadget.com",
    "https://www.arstechnica.com",
    "https://www.lifehacker.com",
    "https://www.theguardian.com",
    "https://www.independent.co.uk",
    "https://www.buzzfeed.com",
    "https://www.vox.com",
    "https://www.theverge.com",
    "https://www.wired.com",
    "https://www.polygon.com",
    "https://www.gamespot.com",
    "https://www.kotaku.com",
    "https://www.twitch.tv",
    "https://www.netflix.com",
    "https://www.hbo.com",
    "https://www.showtime.com",
    "https://www.cbs.com",
    "https://www.abc.com",
    "https://www.nbc.com",
    "https://www.criterion.com",
    "https://www.imdb.com",
    "https://www.rottentomatoes.com",
    "https://www.metacritic.com",
    "https://www.pitchfork.com",
    "https://www.billboard.com",
    "https://www.rollingstone.com",
    "https://www.npr.org",
    "https://www.bbc.co.uk",
    "https://www.thetimes.co.uk",
    "https://www.telegraph.co.uk",
    "https://www.guardian.co.uk",
    "https://www.independent.co.uk",
    "https://www.economist.com",
    "https://www.ft.com",
    "https://www.wsj.com",
    "https://www.nature.com",
    "https://www.scientificamerican.com",
    "https://www.newscientist.com",
    "https://www.sciencedaily.com",
    "https://www.space.com",
    "https://www.livescience.com",
    "https://www.popsci.com",
    "https://www.healthline.com",
    "https://www.webmd.com",
    "https://www.mayoclinic.org",
    "https://www.nih.gov",
    "https://www.cdc.gov",
    "https://www.who.int",
    "https://www.un.org",
    "https://www.nationalgeographic.com",
    "https://www.worldreallife.org",
    "https://www.greenpeace.org",
    "https://www.nrdc.org",
    "https://www.sierraclub.org",
    "https://www.amnesty.org",
    "https://www.hrw.org",
    "https://www.icrc.org",
    "https://www.redcross.org",
    "https://www.unicef.org",
    "https://www.savethechildren.org",
    "https://www.doctorswithoutborders.org",
    "https://www.wikimedia.org",
    "https://www.archive.org",
    "https://www.opendemocracy.net",
    "https://www.projectgutenberg.org",
    "https://www.khanacademy.org",
    "https://www.codecademy.com",
]
Downloads last month
123
Edit dataset card