






from ...configuration_utils import PretrainedConfig
from ...utils import logging


__lowerCamelCase   :     int 		= logging.get_logger(__name__)

__lowerCamelCase   :     List[Any] 		= {
    """facebook/timesformer""": """https://huggingface.co/facebook/timesformer/resolve/main/config.json""",
}



class 				SCREAMING_SNAKE_CASE__		(							UpperCamelCase_		):





					"""simple docstring"""






					a_      =						"timesformer"



					def __init__(   self	:    Dict				,						__A	:    List[str]=2_2_4				,						__A	:    Dict=1_6				,						__A	:    List[Any]=3				,						__A	:    str=8				,						__A	:    Any=7_6_8				,						__A	:    Tuple=1_2				,						__A	:    Any=1_2				,						__A	:    List[str]=3_0_7_2				,						__A	:    Optional[int]="gelu"				,						__A	:    Optional[Any]=0.0				,						__A	:    Any=0.0				,						__A	:    str=0.0_2				,						__A	:    Any=1e-6				,						__A	:    Optional[int]=True				,						__A	:    Dict="divided_space_time"				,						__A	:    Any=0				,						**__A	:    Optional[Any]				,						):
						super().__init__(**__A			)

						snake_case__					: Optional[Any]  =    image_size
						snake_case__					: Optional[Any]  =    patch_size
						snake_case__					: Any  =    num_channels
						snake_case__					: Optional[Any]  =    num_frames

						snake_case__					: Union[str, Any]  =    hidden_size
						snake_case__					: Any  =    num_hidden_layers
						snake_case__					: List[str]  =    num_attention_heads
						snake_case__					: Optional[int]  =    intermediate_size
						snake_case__					: List[Any]  =    hidden_act
						snake_case__					: str  =    hidden_dropout_prob
						snake_case__					: Union[str, Any]  =    attention_probs_dropout_prob
						snake_case__					: int  =    initializer_range
						snake_case__					: Tuple  =    layer_norm_eps
						snake_case__					: Dict  =    qkv_bias

						snake_case__					: Any  =    attention_type
						snake_case__					: Union[str, Any]  =    drop_path_rate






from typing import List

import datasets
from datasets.tasks import AudioClassification

from ..folder_based_builder import folder_based_builder


lowercase_   							=  datasets.utils.logging.get_logger(__name__)





class 					__lowerCAmelCase	(   folder_based_builder.FolderBasedBuilderConfig				):
  _a		     =    None
  _a		     =    None





class 					__lowerCAmelCase	(   folder_based_builder.FolderBasedBuilder				):
  _a		     =    datasets.Audio()
  _a		     =    """audio"""
  _a		     =    AudioFolderConfig
  _a		     =    42  # definition at the bottom of the script
  _a		     =    AudioClassification(audio_column="""audio"""     ,     label_column="""label"""				)
lowercase_   							=  [
    '.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',
]
lowercase_   							=  AUDIO_EXTENSIONS


