





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


__A							   =							logging.get_logger(__name__)

__A							   =							{
    "MIT/ast-finetuned-audioset-10-10-0.4593": (
        "https://huggingface.co/MIT/ast-finetuned-audioset-10-10-0.4593/resolve/main/config.json"
    ),
}



class   _SCREAMING_SNAKE_CASE		(      __SCREAMING_SNAKE_CASE       ):







 '''simple docstring'''
 lowercase_						=     "audio-spectrogram-transformer"

 def __init__(self							:  Optional[int]			,					UpperCAmelCase_							:  Optional[Any]=768			,					UpperCAmelCase_							:  Optional[int]=12			,					UpperCAmelCase_							:  Any=12			,					UpperCAmelCase_							:  List[Any]=3_072			,					UpperCAmelCase_							:  Optional[int]="gelu"			,					UpperCAmelCase_							:  Optional[int]=0.0			,					UpperCAmelCase_							:  Tuple=0.0			,					UpperCAmelCase_							:  str=0.02			,					UpperCAmelCase_							:  Optional[int]=1E-1_2			,					UpperCAmelCase_							:  str=16			,					UpperCAmelCase_							:  List[str]=True			,					UpperCAmelCase_							:  Any=10			,					UpperCAmelCase_							:  Optional[Any]=10			,					UpperCAmelCase_							:  Dict=1_024			,					UpperCAmelCase_							:  Dict=128			,					**UpperCAmelCase_							:  str			,					)			->int:



   '''simple docstring'''



   super().__init__(**UpperCAmelCase_)

   lowerCamelCase__: Optional[Any]         =hidden_size
   lowerCamelCase__: Union[str, Any]         =num_hidden_layers
   lowerCamelCase__: Optional[int]         =num_attention_heads
   lowerCamelCase__: Optional[int]         =intermediate_size
   lowerCamelCase__: Tuple         =hidden_act
   lowerCamelCase__: Any         =hidden_dropout_prob
   lowerCamelCase__: Any         =attention_probs_dropout_prob
   lowerCamelCase__: Union[str, Any]         =initializer_range
   lowerCamelCase__: int         =layer_norm_eps
   lowerCamelCase__: Dict         =patch_size
   lowerCamelCase__: Tuple         =qkv_bias
   lowerCamelCase__: Tuple         =frequency_stride
   lowerCamelCase__: Tuple         =time_stride
   lowerCamelCase__: str         =max_length
   lowerCamelCase__: int         =num_mel_bins






from typing import TYPE_CHECKING

from ....utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_lowercase    	=		{
    "configuration_mctct": ["MCTCT_PRETRAINED_CONFIG_ARCHIVE_MAP", "MCTCTConfig"],
    "feature_extraction_mctct": ["MCTCTFeatureExtractor"],
    "processing_mctct": ["MCTCTProcessor"],
}


try:
   if not is_torch_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   _lowercase    	=		[
       "MCTCT_PRETRAINED_MODEL_ARCHIVE_LIST",
       "MCTCTForCTC",
       "MCTCTModel",
       "MCTCTPreTrainedModel",
   ]


if TYPE_CHECKING:
   from .configuration_mctct import MCTCT_PRETRAINED_CONFIG_ARCHIVE_MAP, MCTCTConfig
   from .feature_extraction_mctct import MCTCTFeatureExtractor
   from .processing_mctct import MCTCTProcessor

   try:
      if not is_torch_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .modeling_mctct import MCTCT_PRETRAINED_MODEL_ARCHIVE_LIST, MCTCTForCTC, MCTCTModel, MCTCTPreTrainedModel

else:
   import sys

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