File size: 400 Bytes
c28d81d
 
d572e8e
 
 
 
 
 
 
 
c28d81d
d572e8e
 
 
 
90966f7
d572e8e
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from datasets import load_dataset

from abc import ABC, abstractmethod


class DatasetToShow(ABC):
    @abstractmethod
    def __init__(self):
        self.dataset_name = None
        self.data_dict = None
        self.subsets = ["train", "test"]
        self.description = None

    @abstractmethod
    def load_data(self):
        pass

    @abstractmethod
    def show_dataset(self):
        pass