






from typing import List

import datasets
from datasets.tasks import AudioClassification

from ..folder_based_builder import folder_based_builder


__magic_name__   :  Dict        =							datasets.utils.logging.get_logger(__name__)





class 					A__     (     folder_based_builder.FolderBasedBuilderConfig ):

     '''simple docstring'''






     snake_case__					=					None
     snake_case__					=					None





class 					A__     (     folder_based_builder.FolderBasedBuilder ):

     '''simple docstring'''






     snake_case__					=					datasets.Audio()
     snake_case__					=					"""audio"""
     snake_case__					=					AudioFolderConfig
     snake_case__					=					42  # definition at the bottom of the script
     snake_case__					=					AudioClassification(audio_column="""audio"""   ,    label_column="""label""" )

__magic_name__   :  Any        =							[
    '''.aiff''',
    '''.au''',
    '''.avr''',
    '''.caf''',
    '''.flac''',
    '''.htk''',
    '''.svx''',
    '''.mat4''',
    '''.mat5''',
    '''.mpc2k''',
    '''.ogg''',
    '''.paf''',
    '''.pvf''',
    '''.raw''',
    '''.rf64''',
    '''.sd2''',
    '''.sds''',
    '''.ircam''',
    '''.voc''',
    '''.w64''',
    '''.wav''',
    '''.nist''',
    '''.wavex''',
    '''.wve''',
    '''.xi''',
    '''.mp3''',
    '''.opus''',
]
__magic_name__   :  List[Any]        =							AUDIO_EXTENSIONS











from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_sentencepiece_available,
    is_tokenizers_available,
    is_torch_available,
)


__magic_name__   :  Tuple        =							{'''configuration_plbart''': ['''PLBART_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''PLBartConfig''']}

try:
       if not is_sentencepiece_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       __magic_name__   :  Optional[Any]        =							['''PLBartTokenizer''']

try:
       if not is_torch_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       __magic_name__   :  Tuple        =							[
           '''PLBART_PRETRAINED_MODEL_ARCHIVE_LIST''',
           '''PLBartForCausalLM''',
           '''PLBartForConditionalGeneration''',
           '''PLBartForSequenceClassification''',
           '''PLBartModel''',
           '''PLBartPreTrainedModel''',
       ]


if TYPE_CHECKING:
       from .configuration_plbart import PLBART_PRETRAINED_CONFIG_ARCHIVE_MAP, PLBartConfig

       try:
              if not is_sentencepiece_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .tokenization_plbart import PLBartTokenizer

       try:
              if not is_torch_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .modeling_plbart import (
                  PLBART_PRETRAINED_MODEL_ARCHIVE_LIST,
                  PLBartForCausalLM,
                  PLBartForConditionalGeneration,
                  PLBartForSequenceClassification,
                  PLBartModel,
                  PLBartPreTrainedModel,
              )


else:
       import sys

       __magic_name__   :  Optional[int]        =							_LazyModule(__name__, globals()['''__file__'''], _import_structure)



