Skip to content

Datasets ​

torch_world.datasets holds the data the models train on: windows over collected episodes for world models, and medical images and questions for vision-language models. Every dataset is a standard torch.utils.data.Dataset that returns dicts of tensors, so it plugs into a DataLoader as is.

  • Trajectories


    Sliding windows over episodes collected in any environment, for training world models.

    TrajectoryDataset

  • MedMNIST


    Five MedMNIST v2 image classification datasets, downloaded and checked on first use.

    MedMNIST

  • Medical VQA


    Templated visual question answering over MedMNIST, in the style of the MMBU challenge.

    MedicalVQA

At a glance ​

dataseteach itemsourcedownloadused by
TrajectoryDataseta window of pixels, actions and statesany environment, or your own episodesnoneLeWM, DINO-WM
MedMNISTan image and its labelMedMNIST v2, CC BY 4.0Zenodo, MD5-checkedimage classification, linear probes
MedicalVQAan image, its caption, a question and its answerMedMNIST v2 + question templatesZenodo, MD5-checkedVL-JEPA

Downloads are cached in ~/.cache/torch_world/ unless you pass another root.