BRUSH ma'lumotlar to'plami uchun ma'lumotlar to'plami yaratish uchun siz PyTorch ma'lumotlar to'plami va DataLoader sinflaridan foydalanishingiz mumkin. Mana bir misol: "" `` python import os import pickle from torch.utils.data import Dataset, DataLoader from torchvision import transforms from tqdm import tqdm class BRUSHDataset): "" """ BRUSH ma'lumotlar to'plami uchun maxsus ma'lumotlar to'plami sinfi, PyTorch ma'lumotlar to'plami sinfini kengaytiradi. Atributlar ---------- root_dir : BRUSH ma'lumotlar to'plamini o'z ichiga olgan ildiz direktoriyasi. : callable, opsional transformation drawings. (default is None).: data: ma'
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence