Update README.md
Browse files
README.md
CHANGED
@@ -27,7 +27,28 @@ We introduce a pioneering instruction tuning dataset for multimodal colonoscopy
|
|
27 |
|
28 |
## Usage
|
29 |
|
30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
## License
|
33 |
|
|
|
27 |
|
28 |
## Usage
|
29 |
|
30 |
+
Our ColonINST-v1 dataset consists of two parts: colonoscopy images and human-machine dialogues (in JSON format). Due to privacy concerns associated with medical images, we are unable to publicly share the original colonoscopy images. Please follow [this instruction](https://github.com/ai4colonoscopy/ColonGPT/blob/main/docs/guideline-for-ColonINST.md#dataset-access-for-coloninst) to prepare all colonoscopy images.
|
31 |
+
|
32 |
+
However, the JSON files, which contain the human-machine dialogues, are available here for access. You can follow these steps:
|
33 |
+
|
34 |
+
- Make sure you have the datasets library installed. You can install it via pip:
|
35 |
+
```bash
|
36 |
+
pip install datasets
|
37 |
+
```
|
38 |
+
- You can easily download and load the dataset directly in your Python code:
|
39 |
+
```bash
|
40 |
+
from datasets import load_dataset
|
41 |
+
|
42 |
+
# Load the ColonINST-v1 dataset
|
43 |
+
dataset = load_dataset("ai4colonoscopy/ColonINST-v1")
|
44 |
+
|
45 |
+
# Once downloaded, you can explore the dataset like this
|
46 |
+
print(dataset)
|
47 |
+
```
|
48 |
+
- If you need a specific split (e.g., train, validation, or test), you can access it like this:
|
49 |
+
```bash
|
50 |
+
train_dataset = load_dataset("ai4colonoscopy/ColonINST-v1", split="train")
|
51 |
+
```
|
52 |
|
53 |
## License
|
54 |
|