Search is not available for this dataset
The dataset viewer is not available for this split.
Rows from parquet row groups are too big to be read: 405.88 MiB (max=286.10 MiB)
Error code:   TooBigContentError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)

MME-RealWorld Dataset

This dataset contains multiple JSON files split into chunks. It includes information such as questions, images encoded in base64, and other related metadata.

Usage

You can load the dataset using the datasets library:

from datasets import load_dataset

dataset = load_dataset('yifanzhang114/MME-RealWorld-Base64', data_dir='MME-RealWorld')
dataset = load_dataset('yifanzhang114/MME-RealWorld-Base64', data_dir='MME-RealWorld-CN')

## the image can be decoded by 

def decode_base64_to_image(base64_string, target_size=-1):
    image_data = base64.b64decode(base64_string)
    image = Image.open(io.BytesIO(image_data))
    if image.mode in ('RGBA', 'P'):
        image = image.convert('RGB')
    if target_size > 0:
        image.thumbnail((target_size, target_size))
    return image
Downloads last month
126
Edit dataset card

Collection including yifanzhang114/MME-RealWorld-Base64