JosselinSom's picture
Upload dataset
b121c7b verified
|
raw
history blame
5.98 kB
metadata
language:
  - en
license: apache-2.0
size_categories:
  - 1K<n<10K
task_categories:
  - question-answering
  - visual-question-answering
pretty_name: Image2Structure - Latex
dataset_info:
  - config_name: algorithm
    features:
      - name: id
        dtype: int64
      - name: tex_code
        dtype: string
      - name: category
        dtype: string
      - name: subject
        dtype: string
      - name: output
        dtype: image
      - name: asset_0
        dtype: string
      - name: asset_1
        dtype: string
      - name: asset_2
        dtype: string
      - name: asset_3
        dtype: string
      - name: asset_4
        dtype: string
      - name: asset_5
        dtype: string
      - name: asset_6
        dtype: string
      - name: asset_7
        dtype: string
      - name: asset_8
        dtype: string
      - name: asset_9
        dtype: string
      - name: __index_level_0__
        dtype: int64
    splits:
      - name: train
        num_bytes: 44192421
        num_examples: 399
      - name: validation
        num_bytes: 11036403
        num_examples: 100
    download_size: 53236542
    dataset_size: 55228824
  - config_name: equation
    features:
      - name: id
        dtype: int64
      - name: tex_code
        dtype: string
      - name: category
        dtype: string
      - name: subject
        dtype: string
      - name: output
        dtype: image
      - name: asset_0
        dtype: string
      - name: asset_1
        dtype: string
      - name: asset_2
        dtype: string
      - name: asset_3
        dtype: string
      - name: asset_4
        dtype: string
      - name: asset_5
        dtype: string
      - name: asset_6
        dtype: string
      - name: asset_7
        dtype: string
      - name: asset_8
        dtype: string
      - name: asset_9
        dtype: string
      - name: __index_level_0__
        dtype: int64
    splits:
      - name: train
        num_bytes: 20325976.25
        num_examples: 1558
      - name: validation
        num_bytes: 5683415
        num_examples: 390
    download_size: 26009391
    dataset_size: 26009391.25
  - config_name: figure
    features:
      - name: id
        dtype: int64
      - name: tex_code
        dtype: string
      - name: category
        dtype: string
      - name: subject
        dtype: string
      - name: output
        dtype: image
      - name: asset_0
        dtype: string
      - name: asset_1
        dtype: string
      - name: asset_2
        dtype: string
      - name: asset_3
        dtype: string
      - name: asset_4
        dtype: string
      - name: asset_5
        dtype: string
      - name: asset_6
        dtype: string
      - name: asset_7
        dtype: string
      - name: asset_8
        dtype: string
      - name: asset_9
        dtype: string
      - name: __index_level_0__
        dtype: int64
    splits:
      - name: train
        num_bytes: 125949042
        num_examples: 782
      - name: validation
        num_bytes: 30023929
        num_examples: 196
    download_size: 155271244
    dataset_size: 155972971
  - config_name: plot
    features:
      - name: id
        dtype: int64
      - name: tex_code
        dtype: string
      - name: category
        dtype: string
      - name: subject
        dtype: string
      - name: output
        dtype: image
      - name: asset_0
        dtype: string
      - name: asset_1
        dtype: string
      - name: asset_2
        dtype: string
      - name: asset_3
        dtype: string
      - name: asset_4
        dtype: string
      - name: asset_5
        dtype: string
      - name: asset_6
        dtype: string
      - name: asset_7
        dtype: string
      - name: asset_8
        dtype: string
      - name: asset_9
        dtype: string
      - name: __index_level_0__
        dtype: int64
    splits:
      - name: train
        num_bytes: 11180029
        num_examples: 382
      - name: validation
        num_bytes: 2508901
        num_examples: 96
    download_size: 13084804
    dataset_size: 13688930
  - config_name: table
    features:
      - name: structure
        dtype: string
      - name: image
        struct:
          - name: bytes
            dtype: binary
          - name: path
            dtype: 'null'
      - name: __index_level_0__
        dtype: int64
      - name: download_url
        dtype: string
      - name: instance_name
        dtype: string
      - name: date
        dtype: string
      - name: additional_info
        dtype: string
      - name: date_scrapped
        dtype: string
      - name: file_filters
        dtype: string
      - name: compilation_info
        dtype: string
      - name: rendering_filters
        dtype: string
      - name: assets
        sequence: 'null'
      - name: category
        dtype: string
      - name: num_id
        dtype: string
    splits:
      - name: validation
        num_bytes: 24513524
        num_examples: 244
      - name: test
        num_bytes: 6607532
        num_examples: 61
    download_size: 29757568
    dataset_size: 31121056
configs:
  - config_name: algorithm
    data_files:
      - split: train
        path: algorithm/train-*
      - split: validation
        path: algorithm/validation-*
  - config_name: equation
    data_files:
      - split: train
        path: equation/train-*
      - split: validation
        path: equation/validation-*
  - config_name: figure
    data_files:
      - split: train
        path:
          - figure/train-*
          - assets
      - split: validation
        path:
          - figure/validation-*
          - assets
  - config_name: plot
    data_files:
      - split: train
        path: plot/train-*
      - split: validation
        path: plot/validation-*
  - config_name: table
    data_files:
      - split: validation
        path: table/validation-*
      - split: test
        path: table/test-*
tags:
  - biology
  - finance
  - economics
  - math
  - physics
  - computer_science
  - electronics
  - statistics

Image2Structure - Latex

Dataset description

We introduce Image2Structure, a dataset to evaluate the capabilities of multimodel models to learn the structure of a document. This subdataset focuses on Latex code. The model is given an image of the expected output with the prompt: Prease provide the LaTex code used to generate this image. Only generate the code relevant to what you see. Your code will be surrounded by all the imports necessary as well as the begin and end document delimiters. An additional message is added if assets are available:

The following assets can be used:
 - assets/cs/1_log.png
 - ...

The assets are provided under the assets folder for each subject. The subjects were collected on ArXiv and are: eess, cs, stat, math, physics, econ, q-bio, q-fin.

The dataset is divided in 5 categories:

  • equations
  • figures
  • tables
  • algorithms
  • code