toufiqmusah/GhanaAgricVQA-Dataset
GhanaAgricVQA — Crop Disease Visual Question Answering A Visual Question Answering (VQA) dataset for crop disease diagnosis in smallholder farming contexts, built from the RAIL Crop Disease Dataset.Each image has three QA pairs — identification, action, prevention — grounded in an expert knowledge base and written in conversational farmer-friendly English with Twi translations. Purpose: Fine-tune vision-language models (e.g., OWL-v2) to serve as AI crop disease assistants… See the full description on the dataset page: https://huggingface.co/datasets/toufiqmusah/GhanaAgricVQA-Dataset.
GhanaAgricVQA — Crop Disease Visual Question Answering
<p align="center"> <img src="https://huggingface.co/datasets/GhanaAgricVQA-Dataset/resolve/main/assets/teaser.jpg" alt="GhanaAgricVQA samples" width="90%"/> </p>
A Visual Question Answering (VQA) dataset for crop disease diagnosis in smallholder farming contexts, built from the RAIL Crop Disease Dataset. Each image has three QA pairs — identification, action, prevention — grounded in an expert knowledge base and written in conversational farmer-friendly English with Twi translations.
Purpose: Fine-tune vision-language models (e.g., OWL-v2) to serve as AI crop disease assistants for smallholder farmers in sub-Saharan Africa.
Dataset Structure
Each image contains 3 QA entries:
Sample Entries
<p align="center"> <img src="https://huggingface.co/datasets/GhanaAgricVQA-Dataset/resolve/main/assets/samplepepper.jpg" alt="Pepper sample" width="30%"/> <img src="https://huggingface.co/datasets/GhanaAgricVQA-Dataset/resolve/main/assets/samplemaize.jpg" alt="Maize sample" width="30%"/> <img src="https://huggingface.co/datasets/GhanaAgricVQA-Dataset/resolve/main/assets/sample_tomato.jpg" alt="Tomato sample" width="30%"/> </p>
{
"image": <PIL Image>,
"question": "What disease is affecting my pepper plant?",
"answer": "Your pepper plant has bacterial spot...",
"question_type": "identification",
"crop": "pepper",
"language": "en",
"question_tw": "Dɛn na ɛrewu me pepper dua no?",
"answer_text_tw": "...",
"rail_image_id": "id_3g2vbe",
"generation_confidence": 0.87,
"validated": false
}Crops & Diseases Covered
🌽 Corn (Maize) — 8 classes
Gray Leaf Spot, Common Rust, Northern Leaf Blight, Maize Streak Virus, Cercospora Leaf Spot, Healthy
🌶️ Pepper — 10 classes
Bacterial Spot, Cercospora Leaf Spot, Early Blight, Fusarium Wilt, Late Blight, Phytophthora Leaf Blight, Leaf Curl Virus, Leaf Mosaic Virus, Septoria Leaf Spot, Healthy
🍅 Tomato — 8 classes
Bacterial Spot, Early Blight, Fusarium Wilt, Late Blight, Leaf Curl Virus, Mosaic Virus, Septoria Leaf Spot, Healthy
How the Data Was Created
- Images: 4,902 RAIL crop disease images (originally from Ghana, West Africa)
- Knowledge Base: Expert-synthesized disease information covering symptoms, treatments, and prevention for all 23 disease classes
- Generation: Qwen3.5-9B via Ollama on NVIDIA L4 GPU
- Each prompt injects the relevant KnowledgeBase section
- 2 parallel workers with checkpoint resume
- Output structured JSON with Twi translations
- Splits: 85/15 train-test random split (seed 42)
Usage
from datasets import load_dataset
dataset = load_dataset("GhanaAgricVQA-Dataset")
# Access training split
train = dataset["train"]
print(train[0]["question"])
# "What disease is affecting my maize plant?"
# Pair with images
image = train[0]["image"]
answer = train[0]["answer"]Citation
@misc{ghanaagrivqa2026,
title={GhanaAgricVQA: Crop Disease Visual Question Answering and Bounding Box Detection Dataset},
author={Toufiq Musah, Nyameye Akyaa Idun-Sam, Abotsi Benjamin Etornam},
year={2026},
publisher={Hugging Face},
url={https://huggingface.co/datasets/GhanaAgricVQA-Dataset}
}License
This dataset is released under CC-BY 4.0. The underlying RAIL images retain their original license.
