CoolFace
Datasetpublic

MapEval/MapEval-Visual

MapEval-Visual This dataset was introduced in MapEval: A Map-Based Evaluation of Geo-Spatial Reasoning in Foundation Models Example Query I am presently visiting Mount Royal Park . Could you please inform me about the nearby historical landmark? Options Circle Stone Secret pool Maison William Caldwell Cottingham Poste de cavalerie du Service de police de la Ville de Montreal Correct Option Circle Stone… See the full description on the dataset page: https://huggingface.co/datasets/MapEval/MapEval-Visual.

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
2likes479downloads
Dataset Card

MapEval-Visual

This dataset was introduced in MapEval: A Map-Based Evaluation of Geo-Spatial Reasoning in Foundation Models

Example

[image]

Query

I am presently visiting Mount Royal Park . Could you please inform me about the nearby historical landmark?

Options
  1. 1.Circle Stone
  2. 2.Secret pool
  3. 3.Maison William Caldwell Cottingham
  4. 4.Poste de cavalerie du Service de police de la Ville de Montreal
Correct Option
  1. 1.Circle Stone

Prerequisite

Download the Vdata.zip and extract in the working directory. This directory contains all the images.

Usage

python
from datasets import load_dataset
import PIL.Image
# Load dataset
ds = load_dataset("MapEval/MapEval-Visual", name="benchmark")

for item in ds["test"]:
   
    # Start with a clear task description
    prompt = (
        "You are a highly intelligent assistant. "
        "Based on the given image, answer the multiple-choice question by selecting the correct option.\n\n"
        "Question:\n" + item["question"] + "\n\n"
        "Options:\n"
    )
    
    # List the options more clearly
    for i, option in enumerate(item["options"], start=1):
        prompt += f"{i}. {option}\n"
    
    # Add a concluding sentence to encourage selection of the answer
    prompt += "\nSelect the best option by choosing its number."
    
    # Load image from Vdata/ directory
    img = PIL.Image.open(item["context"])
    
    # Use the prompt as needed
    print([prompt, img])  # Replace with your processing logic

    # Then match the output with item["answer"] or item["options"][item["answer"]-1]
    # If item["answer"] == 0: then it's unanswerable

Leaderboard

ModelOverallPlace InfoNearbyRoutingCountingUnanswerable
Claude-3.5-Sonnet61.6582.6455.5645.0047.7390.00
GPT-4o58.9076.8657.7850.0047.7340.00
Gemini-1.5-Pro56.1476.8656.6743.7532.9580.00
GPT-4-Turbo55.8975.2156.6742.5044.3240.00
Gemini-1.5-Flash51.9470.2556.4738.3632.9555.00
GPT-4o-mini50.1377.6947.7841.2528.4125.00
Qwen2-VL-7B-Instruct51.6371.0748.8940.0040.9140.00
Glm-4v-9b48.1273.5542.2241.2534.0910.00
InternLm-Xcomposer243.1170.4148.8943.7534.0910.00
MiniCPM-Llama3-V-2.540.6060.3332.2232.5031.8230.00
Llama-3-VILA1.5-8B32.9946.9032.2228.7526.145.00
DocOwl1.531.0843.8023.3332.5027.270.00
Llava-v1.6-Mistral-7B-hf31.3342.1528.8932.5021.5915.00
Paligemma-3B-mix-22430.5837.1925.5638.7523.8610.00
Llava-1.5-7B-hf20.0522.3118.8913.7528.410.00
Human82.2381.6782.4285.1878.4165.00

Citation

If you use this dataset, please cite the original paper:

@article{dihan2024mapeval,
  title={MapEval: A Map-Based Evaluation of Geo-Spatial Reasoning in Foundation Models},
  author={Dihan, Mahir Labib and Hassan, Md Tanvir and Parvez, Md Tanvir and Hasan, Md Hasebul and Alam, Md Almash and Cheema, Muhammad Aamir and Ali, Mohammed Eunus and Parvez, Md Rizwan},
  journal={arXiv preprint arXiv:2501.00316},
  year={2024}
}