| # ROCOv2 Microscopy Dataset | |
| This dataset contains Microscopy imaging data from the ROCOv2 radiology dataset. | |
| ## Dataset Structure | |
| - **caption**: Medical description text | |
| - **modality**: Imaging modality (Microscopy) | |
| - **modality_id**: Numerical modality ID | |
| - **caption_length**: Number of words in caption | |
| - **length_category**: Short/medium/long categorization | |
| - **original_index**: Index from original dataset | |
| ## Splits | |
| - **train**: 162 samples | |
| - **val**: 20 samples | |
| - **test**: 21 samples | |
| ## Usage | |
| ```python | |
| from datasets import load_dataset | |
| # Load the dataset | |
| dataset = load_dataset("WafaaFraih/rocov2-modality-microscopy") | |
| # Access splits | |
| train_data = dataset['train'] | |
| val_data = dataset['val'] | |
| test_data = dataset['test'] | |
| # Example usage | |
| for sample in train_data: | |
| print(f"Caption: {sample['caption']}") | |
| print(f"Modality: {sample['modality']}") | |
| ``` | |
| ## Citation | |
| Please cite the original ROCOv2 dataset if you use this data. | |