v2.5.0
Datasets ⭐
EXAMPLE CODE
AQUA Dataset
Load AQUA dataset in Python fast with one line of code. Stream AQUA Dataset while training models in PyTorch & TensorFlow.
Visualization of the AQUA dataset on the Activeloop Platform

AQUA dataset

What is AQUA Dataset?

In AQUA (Algebra Question Answering with Rationales) Dataset , question-and-answer (QA) pairs are constructed automatically utilising cutting-edge question generating methods based on paintings and comments from an existing art knowledge dataset. Crowdsourcing workers clean the QA pairs in terms of grammatical accuracy, answerability, and correctness of answers. Visual (painting-based) and knowledge (comment-based) questions are intrinsically included in the dataset.

Download AQUA Dataset in Python

Instead of downloading the AQUA dataset in Python, you can effortlessly load it in Python via our open-source package Hub with just one line of code.

Load AQUA Dataset Training Subset in Python

1
import hub
2
ds = hub.load("hub://activeloop/aqua-train")
Copied!

Load AQUA Dataset Validation Subset in Python

1
import hub
2
ds = hub.load("hub://activeloop/aqua-val")
Copied!

Load AQUA Dataset Testing Subset in Python

1
import hub
2
ds = hub.load("hub://activeloop/aqua-test")
Copied!

AQUA Dataset Structure

AQUA Data Fields

  • image: tensor containing the face image.
  • need_external_knowledge: a binary tensor of True/False
  • questions: a text tensor containing questions related to image.
  • answers: a text tensor containing answers related to the question asked.

AQUA Data Splits

How to use AQUA Dataset with PyTorch and TensorFlow in Python

Train a model on AQUA dataset with PyTorch in Python

Let's use Hub's built-in PyTorch one-line dataloader to connect the data to the compute:
1
dataloader = ds.pytorch(num_workers=0, batch_size=4, shuffle=False)
Copied!

Train a model on AQUA dataset with TensorFlow in Python

1
dataloader = ds.tensorflow()
Copied!

Additional Information about AQUA Dataset

AQUA Dataset Description

  • Homepage: N/A
  • Paper: Noa Garcia and Chentao Ye and Zihua Liu and Qingtao Hu and Mayu Otani and Chenhui Chu and Yuta Nakashima and Teruko Mitamura in "A Dataset and Baselines for Visual Question Answering on Art"
  • Point of Contact: N/A

AQUA Dataset Curators

Noa Garcia and Chentao Ye and Zihua Liu and Qingtao Hu and Mayu Otani and Chenhui Chu and Yuta Nakashima and Teruko Mitamura

AQUA Dataset Licensing Information

Hub users may have access to a variety of publicly available datasets. We do not host or distribute these datasets, vouch for their quality or fairness, or claim that you have a license to use the datasets. It is your responsibility to determine whether you have permission to use the datasets under their license.
If you're a dataset owner and do not want your dataset to be included in this library, please get in touch through a GitHub issue. Thank you for your contribution to the ML community!

AQUA Dataset Citation Information

1
@InProceedings{garcia2020AQUA,
2
author = {Noa Garcia and Chentao Ye and Zihua Liu and Qingtao Hu and
3
Mayu Otani and Chenhui Chu and Yuta Nakashima and Teruko Mitamura},
4
title = {A Dataset and Baselines for Visual Question Answering on Art},
5
booktitle = {Proceedings of the European Conference in Computer Vision Workshops},
6
year = {2020},
7
}
Copied!

AQUA Dataset FAQs

What is the AQUA dataset for Python?

In AQUA Dataset , question-and-answer (QA) pairs are constructed automatically utilising cutting-edge question generating methods based on paintings and comments from an existing art knowledge dataset. Crowdsourcing workers clean the QA pairs in terms of grammatical accuracy, answerability, and correctness of answers. Visual (painting-based) and knowledge (comment-based) questions are intrinsically included in the dataset.
How to download the AQUA dataset in Python?
You can load AQUA dataset fast with one line of code using the open-source package Activeloop Hub in Python. See detailed instructions on how to load AQUA dataset training subset or AQUA data testing subset in Python.

How can I use AQUA dataset in PyTorch or TensorFlow?

You can stream AQUA dataset while training a model in PyTorch or TensorFlow with one line of code using the open-source package Activeloop Hub in Python. See detailed instructions on how to train a model on AQUA dataset with PyTorch in Python or train a model on AQUA dataset with TensorFlow in Python.