File size: 1,507 Bytes
f8e9d53
 
 
 
 
 
 
 
 
 
 
6eee709
 
f3ffd3f
8c05db1
f3ffd3f
8c05db1
6eee709
 
01cffdb
 
 
 
 
 
 
 
a37a66a
01cffdb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
task_categories:
- visual-question-answering
tags:
- MLLM
- hallucination evaluation
- VQA
- perception
configs:
  - config_name: default
    data_files:
      - split: phd_ccs
        path: phd_webdataset/phd_ccs.tar
      - split: phd_sec
        path: phd_webdataset/phd_sec.tar
      - split: phd_icc
        path: phd_webdataset/phd_icc.tar
      - split: phd_base
        path: phd_webdataset/phd_base.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. The data in this repo is totally the same as in [**PhD**](https://huggingface.co/datasets/AIMClab-RUC/PhD).

## 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**