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


lowercase__						       =      logging.get_logger(__name__)

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






class 	snake_case__       (      __SCREAMING_SNAKE_CASE					):







		"""simple docstring"""

		lowerCamelCase     							=						"""audio-spectrogram-transformer"""



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






				"""simple docstring"""







				super().__init__(**UpperCamelCase__      )

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




'''simple docstring'''
from .data_collator import (
    DataCollatorForLanguageModeling,
    DataCollatorForPermutationLanguageModeling,
    DataCollatorForSeqaSeq,
    DataCollatorForSOP,
    DataCollatorForTokenClassification,
    DataCollatorForWholeWordMask,
    DataCollatorWithPadding,
    DefaultDataCollator,
    default_data_collator,
)
from .metrics import glue_compute_metrics, xnli_compute_metrics
from .processors import (
    DataProcessor,
    InputExample,
    InputFeatures,
    SingleSentenceClassificationProcessor,
    SquadExample,
    SquadFeatures,
    SquadVaProcessor,
    SquadVaProcessor,
    glue_convert_examples_to_features,
    glue_output_modes,
    glue_processors,
    glue_tasks_num_labels,
    squad_convert_examples_to_features,
    xnli_output_modes,
    xnli_processors,
    xnli_tasks_num_labels,
)


