floschne/gimmick

Code for the GIMMICK Paper

4

stars

9

commits

Python

primary language

Feb 21, 2025

updated

arxiv.org/pdf/2502.13766

README

GIMMICK - Globally Inclusive Multimodal Multitask Cultural Knowledge Benchmarking

GIMMICK Overview

🚧 Work in Progress 🚧

News

  • 2024-02: πŸ€— We released the datasets introduced by GIMMICK on HuggingFace
  • 2024-02: πŸ“ We released the first preprint of the GIMMICK Benchmark paper.

Setup the environment

Tested only on Debian-based machines

Note that most models are loaded in FP16 or BF16 and Flash Attention 2. Make sure your GPU supports these features_

  1. Install mamba
  2. mamba env create -f environment.yml
  3. mamba activate gimmick && pip install flash-attn --no-build-isolation
  4. src/scripts/check_env.sh

If the last step was successful, it should print something like this:

##################### PYTHON ENV 'gimmick' INFO START #####################
Python version: 3.12.8 | packaged by conda-forge | (main, Dec  5 2024, 14:24:40) [GCC 13.3.0]
PyTorch version: 2.5.1
CUDA available: True
CUDA version: 11.8
CUDA devices: 1
Flash Attention 2 Support: True
Transformers version: 4.48.1
##################### PYTHON ENV 'gimmick' INFO END #####################

Evaluate a Model

Available Models

Run PYTHONPATH=src python src/gimmick/main.py models to print the list of supported models.

Open-Weight VLMs

Open-Weight LLMs

Proprietary VLMs

Contributors

floschne

9 commits

floschne/gimmick

Code for the GIMMICK Paper

4

stars

9

commits

Python

primary language

Feb 21, 2025

updated

arxiv.org/pdf/2502.13766

README

GIMMICK - Globally Inclusive Multimodal Multitask Cultural Knowledge Benchmarking

GIMMICK Overview

🚧 Work in Progress 🚧

News

  • 2024-02: πŸ€— We released the datasets introduced by GIMMICK on HuggingFace
  • 2024-02: πŸ“ We released the first preprint of the GIMMICK Benchmark paper.

Setup the environment

Tested only on Debian-based machines

Note that most models are loaded in FP16 or BF16 and Flash Attention 2. Make sure your GPU supports these features_

  1. Install mamba
  2. mamba env create -f environment.yml
  3. mamba activate gimmick && pip install flash-attn --no-build-isolation
  4. src/scripts/check_env.sh

If the last step was successful, it should print something like this:

##################### PYTHON ENV 'gimmick' INFO START #####################
Python version: 3.12.8 | packaged by conda-forge | (main, Dec  5 2024, 14:24:40) [GCC 13.3.0]
PyTorch version: 2.5.1
CUDA available: True
CUDA version: 11.8
CUDA devices: 1
Flash Attention 2 Support: True
Transformers version: 4.48.1
##################### PYTHON ENV 'gimmick' INFO END #####################

Evaluate a Model

Available Models

Run PYTHONPATH=src python src/gimmick/main.py models to print the list of supported models.

Open-Weight VLMs

Open-Weight LLMs

Proprietary VLMs

Contributors

floschne

9 commits

Languages

Python

98.6%

Shell

1.4%