Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

ROCOv2 X-ray Dataset

This dataset contains X-ray imaging data from the ROCOv2 radiology dataset.

Dataset Structure

  • caption: Medical description text
  • modality: Imaging modality (X-ray)
  • 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: 154 samples
  • val: 19 samples
  • test: 20 samples

Usage

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("WafaaFraih/rocov2-modality-x-ray")

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

Downloads last month
10