Upload Microscopy modality splits
Browse files- README.md +41 -0
- dataset_dict.json +1 -0
- test/data-00000-of-00001.arrow +3 -0
- test/dataset_info.json +32 -0
- test/state.json +13 -0
- train/data-00000-of-00001.arrow +3 -0
- train/dataset_info.json +32 -0
- train/state.json +13 -0
- val/data-00000-of-00001.arrow +3 -0
- val/dataset_info.json +32 -0
- val/state.json +13 -0
README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ROCOv2 Microscopy Dataset
|
| 2 |
+
|
| 3 |
+
This dataset contains Microscopy imaging data from the ROCOv2 radiology dataset.
|
| 4 |
+
|
| 5 |
+
## Dataset Structure
|
| 6 |
+
|
| 7 |
+
- **caption**: Medical description text
|
| 8 |
+
- **modality**: Imaging modality (Microscopy)
|
| 9 |
+
- **modality_id**: Numerical modality ID
|
| 10 |
+
- **caption_length**: Number of words in caption
|
| 11 |
+
- **length_category**: Short/medium/long categorization
|
| 12 |
+
- **original_index**: Index from original dataset
|
| 13 |
+
|
| 14 |
+
## Splits
|
| 15 |
+
|
| 16 |
+
- **train**: 162 samples
|
| 17 |
+
- **val**: 20 samples
|
| 18 |
+
- **test**: 21 samples
|
| 19 |
+
|
| 20 |
+
## Usage
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
from datasets import load_dataset
|
| 24 |
+
|
| 25 |
+
# Load the dataset
|
| 26 |
+
dataset = load_dataset("WafaaFraih/rocov2-modality-microscopy")
|
| 27 |
+
|
| 28 |
+
# Access splits
|
| 29 |
+
train_data = dataset['train']
|
| 30 |
+
val_data = dataset['val']
|
| 31 |
+
test_data = dataset['test']
|
| 32 |
+
|
| 33 |
+
# Example usage
|
| 34 |
+
for sample in train_data:
|
| 35 |
+
print(f"Caption: {sample['caption']}")
|
| 36 |
+
print(f"Modality: {sample['modality']}")
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
## Citation
|
| 40 |
+
|
| 41 |
+
Please cite the original ROCOv2 dataset if you use this data.
|
dataset_dict.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"splits": ["train", "val", "test"]}
|
test/data-00000-of-00001.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:188ba9d2e81a4fc418c65088cff03cdfd2743864fa80b40bb339e6c84a587b9d
|
| 3 |
+
size 3232
|
test/dataset_info.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"citation": "",
|
| 3 |
+
"description": "",
|
| 4 |
+
"features": {
|
| 5 |
+
"caption": {
|
| 6 |
+
"dtype": "string",
|
| 7 |
+
"_type": "Value"
|
| 8 |
+
},
|
| 9 |
+
"modality": {
|
| 10 |
+
"dtype": "string",
|
| 11 |
+
"_type": "Value"
|
| 12 |
+
},
|
| 13 |
+
"modality_id": {
|
| 14 |
+
"dtype": "int64",
|
| 15 |
+
"_type": "Value"
|
| 16 |
+
},
|
| 17 |
+
"caption_length": {
|
| 18 |
+
"dtype": "int64",
|
| 19 |
+
"_type": "Value"
|
| 20 |
+
},
|
| 21 |
+
"length_category": {
|
| 22 |
+
"dtype": "string",
|
| 23 |
+
"_type": "Value"
|
| 24 |
+
},
|
| 25 |
+
"original_index": {
|
| 26 |
+
"dtype": "int64",
|
| 27 |
+
"_type": "Value"
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"homepage": "",
|
| 31 |
+
"license": ""
|
| 32 |
+
}
|
test/state.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_data_files": [
|
| 3 |
+
{
|
| 4 |
+
"filename": "data-00000-of-00001.arrow"
|
| 5 |
+
}
|
| 6 |
+
],
|
| 7 |
+
"_fingerprint": "51d14872eb55dd9d",
|
| 8 |
+
"_format_columns": null,
|
| 9 |
+
"_format_kwargs": {},
|
| 10 |
+
"_format_type": null,
|
| 11 |
+
"_output_all_columns": false,
|
| 12 |
+
"_split": null
|
| 13 |
+
}
|
train/data-00000-of-00001.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4d24e50b9335cee1b32a80539e05959c4fb746dbc7bde1361e4f04e15b1830b
|
| 3 |
+
size 16224
|
train/dataset_info.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"citation": "",
|
| 3 |
+
"description": "",
|
| 4 |
+
"features": {
|
| 5 |
+
"caption": {
|
| 6 |
+
"dtype": "string",
|
| 7 |
+
"_type": "Value"
|
| 8 |
+
},
|
| 9 |
+
"modality": {
|
| 10 |
+
"dtype": "string",
|
| 11 |
+
"_type": "Value"
|
| 12 |
+
},
|
| 13 |
+
"modality_id": {
|
| 14 |
+
"dtype": "int64",
|
| 15 |
+
"_type": "Value"
|
| 16 |
+
},
|
| 17 |
+
"caption_length": {
|
| 18 |
+
"dtype": "int64",
|
| 19 |
+
"_type": "Value"
|
| 20 |
+
},
|
| 21 |
+
"length_category": {
|
| 22 |
+
"dtype": "string",
|
| 23 |
+
"_type": "Value"
|
| 24 |
+
},
|
| 25 |
+
"original_index": {
|
| 26 |
+
"dtype": "int64",
|
| 27 |
+
"_type": "Value"
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"homepage": "",
|
| 31 |
+
"license": ""
|
| 32 |
+
}
|
train/state.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_data_files": [
|
| 3 |
+
{
|
| 4 |
+
"filename": "data-00000-of-00001.arrow"
|
| 5 |
+
}
|
| 6 |
+
],
|
| 7 |
+
"_fingerprint": "2b0b22009409d58d",
|
| 8 |
+
"_format_columns": null,
|
| 9 |
+
"_format_kwargs": {},
|
| 10 |
+
"_format_type": null,
|
| 11 |
+
"_output_all_columns": false,
|
| 12 |
+
"_split": null
|
| 13 |
+
}
|
val/data-00000-of-00001.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba6954e949d209eefd88c179b8350250d4c32e20c28da030000eddd72fbed02d
|
| 3 |
+
size 3104
|
val/dataset_info.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"citation": "",
|
| 3 |
+
"description": "",
|
| 4 |
+
"features": {
|
| 5 |
+
"caption": {
|
| 6 |
+
"dtype": "string",
|
| 7 |
+
"_type": "Value"
|
| 8 |
+
},
|
| 9 |
+
"modality": {
|
| 10 |
+
"dtype": "string",
|
| 11 |
+
"_type": "Value"
|
| 12 |
+
},
|
| 13 |
+
"modality_id": {
|
| 14 |
+
"dtype": "int64",
|
| 15 |
+
"_type": "Value"
|
| 16 |
+
},
|
| 17 |
+
"caption_length": {
|
| 18 |
+
"dtype": "int64",
|
| 19 |
+
"_type": "Value"
|
| 20 |
+
},
|
| 21 |
+
"length_category": {
|
| 22 |
+
"dtype": "string",
|
| 23 |
+
"_type": "Value"
|
| 24 |
+
},
|
| 25 |
+
"original_index": {
|
| 26 |
+
"dtype": "int64",
|
| 27 |
+
"_type": "Value"
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"homepage": "",
|
| 31 |
+
"license": ""
|
| 32 |
+
}
|
val/state.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_data_files": [
|
| 3 |
+
{
|
| 4 |
+
"filename": "data-00000-of-00001.arrow"
|
| 5 |
+
}
|
| 6 |
+
],
|
| 7 |
+
"_fingerprint": "1c2e4fab6480786a",
|
| 8 |
+
"_format_columns": null,
|
| 9 |
+
"_format_kwargs": {},
|
| 10 |
+
"_format_type": null,
|
| 11 |
+
"_output_all_columns": false,
|
| 12 |
+
"_split": null
|
| 13 |
+
}
|