from .mypath import MyPath from copy import deepcopy from datasets import load_dataset from torch.utils.data import Dataset import numpy as np def get_dataset(dataset_name, transformation=None , train_subsample:int =None, val_subsample:int = 10000, get_val=True): if train_subsample is not None and train_subsample