






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


UpperCamelCase__	=     logging.get_logger(__name__)

UpperCamelCase__	=     {
    'uw-madison/yoso-4096': 'https://huggingface.co/uw-madison/yoso-4096/resolve/main/config.json',
    # See all YOSO models at https://huggingface.co/models?filter=yoso
}


class     _UpperCAmelCase  (						snake_case     ):
    __lowerCamelCase:				Any						    =      'yoso'




    def __init__(     self					:    str					,       a					:    Dict=5_0_2_6_5					,       a					:    Any=7_6_8					,       a					:    Union[str, Any]=1_2					,       a					:    List[Any]=1_2					,       a					:    Dict=3_0_7_2					,       a					:    Dict="gelu"					,       a					:    Dict=0.1					,       a					:    Optional[int]=0.1					,       a					:    str=4_0_9_6					,       a					:    str=1					,       a					:    Dict=0.02					,       a					:    Optional[int]=1e-12					,       a					:    str="absolute"					,       a					:    Dict=True					,       a					:    List[str]=9					,       a					:    Optional[int]=6_4					,       a					:    List[Any]=None					,       a					:    Dict=True					,       a					:    str=True					,       a					:    int=1					,       a					:    int=0					,       a					:    List[str]=2					,       **a					:    Optional[Any]					,       ):






       '''simple docstring'''






       super().__init__(pad_token_id=a					,       bos_token_id=a					,       eos_token_id=a					,       **a     )

       lowercase_		:      Optional[Any]          =       vocab_size
       lowercase_		:      int          =       max_position_embeddings
       lowercase_		:      Tuple          =       hidden_size
       lowercase_		:      Union[str, Any]          =       num_hidden_layers
       lowercase_		:      List[Any]          =       num_attention_heads
       lowercase_		:      List[str]          =       intermediate_size
       lowercase_		:      List[Any]          =       hidden_act
       lowercase_		:      Optional[Any]          =       hidden_dropout_prob
       lowercase_		:      Optional[int]          =       attention_probs_dropout_prob
       lowercase_		:      int          =       initializer_range
       lowercase_		:      Dict          =       type_vocab_size
       lowercase_		:      Dict          =       layer_norm_eps
       lowercase_		:      int          =       position_embedding_type
       lowercase_		:      Any          =       use_expectation
       lowercase_		:      Optional[int]          =       hash_code_len
       lowercase_		:      Optional[Any]          =       num_hash
       lowercase_		:      List[str]          =       conv_window
       lowercase_		:      int          =       use_fast_hash
       lowercase_		:      Optional[int]          =       lsh_backward











'''simple docstring'''
from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_flax_available,
    is_tf_available,
    is_torch_available,
)


UpperCamelCase__	=     {
    'configuration_unispeech_sat': ['UNISPEECH_SAT_PRETRAINED_CONFIG_ARCHIVE_MAP', 'UniSpeechSatConfig'],
}

try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 UpperCamelCase__	=     [
     'UNISPEECH_SAT_PRETRAINED_MODEL_ARCHIVE_LIST',
     'UniSpeechSatForAudioFrameClassification',
     'UniSpeechSatForCTC',
     'UniSpeechSatForPreTraining',
     'UniSpeechSatForSequenceClassification',
     'UniSpeechSatForXVector',
     'UniSpeechSatModel',
     'UniSpeechSatPreTrainedModel',
 ]

if TYPE_CHECKING:
 from .configuration_unispeech_sat import UNISPEECH_SAT_PRETRAINED_CONFIG_ARCHIVE_MAP, UniSpeechSatConfig

 try:
  if not is_torch_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_unispeech_sat import (
      UNISPEECH_SAT_PRETRAINED_MODEL_ARCHIVE_LIST,
      UniSpeechSatForAudioFrameClassification,
      UniSpeechSatForCTC,
      UniSpeechSatForPreTraining,
      UniSpeechSatForSequenceClassification,
      UniSpeechSatForXVector,
      UniSpeechSatModel,
      UniSpeechSatPreTrainedModel,
  )

else:
 import sys

 UpperCamelCase__	=     _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)




