| --- |
| task_categories: |
| - visual-question-answering |
| tags: |
| - MLLM |
| - hallucination evaluation |
| - VQA |
| - perception |
| configs: |
| - config_name: default |
| data_files: |
| - split: phd_base |
| path: phd_webdataset/phd-base.tar |
| - split: phd_sec |
| path: phd_webdataset/phd-sec.tar |
| - split: phd_icc |
| path: phd_webdataset/phd-icc.tar |
| - split: phd_ccs |
| path: phd_webdataset/phd-ccs.tar |
| --- |
| |
| # PhD Webdataset |
|
|
| This repository contains the packaged version of [**PhD**](https://huggingface.co/datasets/AIMClab-RUC/PhD). For a detailed introduction to PhD, please visit the [official website](https://huggingface.co/datasets/AIMClab-RUC/PhD). |
|
|
| ## Overview |
|
|
| The PhD Webdataset is designed to facilitate easy access and usage of the PhD dataset. It includes various fields in 'json' key. |
|
|
| ## Installation |
|
|
| Ensure you have [Hugging Face's datasets library](https://github.com/huggingface/datasets) installed. You can install it via pip: |
|
|
| ```bash |
| pip install datasets |
| ``` |
|
|
| ## Usage |
|
|
| To load and use the PhD dataset, simply run the following code: |
|
|
| ```python |
| from datasets import load_dataset |
| |
| phd = load_dataset("AIMClab-RUC/PhD-package")['phd_base'] # options include (phd_base, phd_sec, phd_icc, phd_ccs) |
| |
| # see phd[0]['json']['question'] |
| ``` |
|
|
| The loaded dataset includes the following fields: |
| - **question_id** |
| - **question** |
| - **answer** |
| - **image** |
| - **task** |
| - **mode** |