

'''simple docstring'''
from ...configuration_utils import PretrainedConfig
from ...utils import logging


lowerCamelCase :      List[Any]					 =     logging.get_logger(__name__)

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







class 							A__    (       A__  ):
  A__		 =				'audio-spectrogram-transformer'





  def __init__(		self      :	Union[str, Any]							,					_a      :	Tuple=768							,					_a      :	List[str]=12							,					_a      :	Any=12							,					_a      :	Optional[Any]=3072							,					_a      :	List[str]="gelu"							,					_a      :	Optional[Any]=0.0							,					_a      :	Dict=0.0							,					_a      :	Optional[Any]=0.02							,					_a      :	int=1e-12							,					_a      :	int=16							,					_a      :	Optional[Any]=True							,					_a      :	Optional[int]=10							,					_a      :	Optional[Any]=10							,					_a      :	Optional[int]=1024							,					_a      :	List[str]=128							,					**_a      :	Optional[int]							,					)	->    Union[str, Any]:





       '''simple docstring'''






       super().__init__(**_a )

       _SCREAMING_SNAKE_CASE							    =hidden_size
       _SCREAMING_SNAKE_CASE							    =num_hidden_layers
       _SCREAMING_SNAKE_CASE							    =num_attention_heads
       _SCREAMING_SNAKE_CASE							    =intermediate_size
       _SCREAMING_SNAKE_CASE							    =hidden_act
       _SCREAMING_SNAKE_CASE							    =hidden_dropout_prob
       _SCREAMING_SNAKE_CASE							    =attention_probs_dropout_prob
       _SCREAMING_SNAKE_CASE							    =initializer_range
       _SCREAMING_SNAKE_CASE							    =layer_norm_eps
       _SCREAMING_SNAKE_CASE							    =patch_size
       _SCREAMING_SNAKE_CASE							    =qkv_bias
       _SCREAMING_SNAKE_CASE							    =frequency_stride
       _SCREAMING_SNAKE_CASE							    =time_stride
       _SCREAMING_SNAKE_CASE							    =max_length
       _SCREAMING_SNAKE_CASE							    =num_mel_bins



'''simple docstring'''
lowerCamelCase :      Any					 =     "\n# Transformers installation\n! pip install transformers datasets\n# To install from source instead of the last release, comment the command above and uncomment the following one.\n# ! pip install git+https://github.com/huggingface/transformers.git\n"

lowerCamelCase :      int					 =     [{"type": "code", "content": INSTALL_CONTENT}]
lowerCamelCase :      str					 =     {
    "{processor_class}": "FakeProcessorClass",
    "{model_class}": "FakeModelClass",
    "{object_class}": "FakeObjectClass",
}
