



"""simple docstring"""
from abc import ABC, abstractmethod
from typing import Optional, Union

from .. import Dataset, DatasetDict, Features, IterableDataset, IterableDatasetDict, NamedSplit
from ..utils.typing import NestedDataStructureLike, PathLike




class 			snake_case_						(						a_				):






							def __init__(   self			,     a_ = None			,     a_ = None			,     a_ = None			,     a_ = None			,     a_ = False			,     a_ = False			,     a_ = None			,     **a_			,     ):
									a_     :      Dict 						=     path_or_paths
									a_     :      Optional[Any] 						=     split if split or isinstance(a_			,     a_      ) else "train"
									a_     :      Any 						=     features
									a_     :      str 						=     cache_dir
									a_     :      List[Any] 						=     keep_in_memory
									a_     :      int 						=     streaming
									a_     :      List[str] 						=     num_proc
									a_     :      str 						=     kwargs






							@abstractmethod
							def snake_case_  (   self      ):
									pass




class 			snake_case_						(						a_				):






							def __init__(   self			,     a_ = None			,     a_ = None			,     a_ = False			,     a_ = False			,     a_ = None			,     **a_			,     ):
									a_     :      Dict 						=     features
									a_     :      Optional[Any] 						=     cache_dir
									a_     :      Dict 						=     keep_in_memory
									a_     :      List[str] 						=     streaming
									a_     :      Dict 						=     num_proc
									a_     :      Union[str, Any] 						=     kwargs






							@abstractmethod
							def snake_case_  (   self      ):
									pass




"""simple docstring"""
from typing import TYPE_CHECKING

from ..utils import _LazyModule


SCREAMING_SNAKE_CASE_				= {
    """config""": [
        """EXTERNAL_DATA_FORMAT_SIZE_LIMIT""",
        """OnnxConfig""",
        """OnnxConfigWithPast""",
        """OnnxSeq2SeqConfigWithPast""",
        """PatchingSpec""",
    ],
    """convert""": ["""export""", """validate_model_outputs"""],
    """features""": ["""FeaturesManager"""],
    """utils""": ["""ParameterFormat""", """compute_serialized_parameters_size"""],
}


if TYPE_CHECKING:
					from .config import (
					    EXTERNAL_DATA_FORMAT_SIZE_LIMIT,
					    OnnxConfig,
					    OnnxConfigWithPast,
					    OnnxSeqaSeqConfigWithPast,
					    PatchingSpec,
					)
					from .convert import export, validate_model_outputs
					from .features import FeaturesManager
					from .utils import ParameterFormat, compute_serialized_parameters_size

else:
					import sys

					SCREAMING_SNAKE_CASE_				= _LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)