datasets
Training and evaluation data, with the modality, task and licence stated up front. Listed live from the Hugging Face Hub.
EVisRAG-Test-ChartQADataset Description
This is a VQA dataset about Charts with Visual and Logical Reasoning from ChartQA.
Load the dataset
import pandas as pd
import os
import sys
data_name = sys.argv[1]
df = pd.read_parquet(f"data/{data_name}/images.parquet", engine="pyarrow")
output_dir = f"data/{data_name}"
os.makedirs(f"{output_dir}/imgs", exist_ok=True)
for idx, row indf.iterrows():
img_bytes = row['image']['bytes']
output_path = os.path.join(output_dir, row["path"])
with open(output_path, "wb")… See the full description on the dataset page: https://huggingface.co/datasets/Boggy666/EVisRAG-Test-ChartQA.EVisRAG-Test-ChartQADataset Description
This is a VQA dataset about Charts with Visual and Logical Reasoning from ChartQA.
Load the dataset
import pandas as pd
import os
import sys
data_name = sys.argv[1]
df = pd.read_parquet(f"data/{data_name}/images.parquet", engine="pyarrow")
output_dir = f"data/{data_name}"
os.makedirs(f"{output_dir}/imgs", exist_ok=True)
for idx, row in df.iterrows():
img_bytes = row['image']['bytes']
output_path = os.path.join(output_dir, row["path"])
with open(output_path… See the full description on the dataset page: https://huggingface.co/datasets/openbmb/EVisRAG-Test-ChartQA.
