"""simple docstring"""




from ...configuration_utils import PretrainedConfig
class 		__A							(				UpperCAmelCase_	):
       _UpperCamelCase							:    Union[str, Any]	      =	'bert-generation'






       def __init__(	self       ,  a__=50358       ,  a__=1024       ,  a__=24       ,  a__=16       ,  a__=4096       ,  a__="gelu"       ,  a__=0.1       ,  a__=0.1       ,  a__=512       ,  a__=0.0_2       ,  a__=1e-12       ,  a__=0       ,  a__=2       ,  a__=1       ,  a__="absolute"       ,  a__=True       ,  **a__       ,  ):
         super().__init__(pad_token_id=_lowercase       ,  bos_token_id=_lowercase       ,  eos_token_id=_lowercase       ,  **_lowercase						)

         _lowerCAmelCase		: Any						    =  vocab_size
         _lowerCAmelCase		: List[Any]						    =  hidden_size
         _lowerCAmelCase		: Any						    =  num_hidden_layers
         _lowerCAmelCase		: List[Any]						    =  num_attention_heads
         _lowerCAmelCase		: Dict						    =  hidden_act
         _lowerCAmelCase		: Union[str, Any]						    =  intermediate_size
         _lowerCAmelCase		: str						    =  hidden_dropout_prob
         _lowerCAmelCase		: Any						    =  attention_probs_dropout_prob
         _lowerCAmelCase		: Union[str, Any]						    =  max_position_embeddings
         _lowerCAmelCase		: str						    =  initializer_range
         _lowerCAmelCase		: Tuple						    =  layer_norm_eps
         _lowerCAmelCase		: Dict						    =  position_embedding_type
         _lowerCAmelCase		: int						    =  use_cache





"""simple docstring"""




from typing import TYPE_CHECKING

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


_a   :	int 					=     {
    'configuration_altclip': [
        'ALTCLIP_PRETRAINED_CONFIG_ARCHIVE_MAP',
        'AltCLIPConfig',
        'AltCLIPTextConfig',
        'AltCLIPVisionConfig',
    ],
    'processing_altclip': ['AltCLIPProcessor'],
}

try:
     if not is_torch_available():
          raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
     pass
else:
     _a   :	Dict 					=     [
         'ALTCLIP_PRETRAINED_MODEL_ARCHIVE_LIST',
         'AltCLIPPreTrainedModel',
         'AltCLIPModel',
         'AltCLIPTextModel',
         'AltCLIPVisionModel',
     ]


if TYPE_CHECKING:
     from .configuration_altclip import (
         ALTCLIP_PRETRAINED_CONFIG_ARCHIVE_MAP,
         AltCLIPConfig,
         AltCLIPTextConfig,
         AltCLIPVisionConfig,
     )
     from .processing_altclip import AltCLIPProcessor

     try:
          if not is_torch_available():
               raise OptionalDependencyNotAvailable()
     except OptionalDependencyNotAvailable:
          pass
     else:
          from .modeling_altclip import (
              ALTCLIP_PRETRAINED_MODEL_ARCHIVE_LIST,
              AltCLIPModel,
              AltCLIPPreTrainedModel,
              AltCLIPTextModel,
              AltCLIPVisionModel,
          )


else:
     import sys

     _a   :	List[Any] 					=     _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)




