File size: 387 Bytes
98f2419
 
 
 
 
 
 
1
2
3
4
5
6
7
8
"""This Python code defines a class Dataset with methods for initializing, loading,
and manipulating datasets from different backends such as Hugging Face and JSON.
 
The `Dataset` class includes methods for loading datasets from a dictionary and a Hugging
Face dataset, mapping datasets, and retrieving the backend dataset and arguments.
"""
from lmflow.datasets.dataset import Dataset