
    Z j	                     d    S r SSKJr  SSKJr  SSKJr  \" SS9\ " S S	\5      5       5       rS	/rg
)zViT model configuration    )strict   )PreTrainedConfig)auto_docstringzgoogle/vit-base-patch16-224)
checkpointc                   \  ^  \ rS rSr% SrSrSr\\S'   Sr	\\S'   Sr
\\S'   S	r\\S
'   Sr\\S'   Sr\\-  \S'   Sr\\-  \S'   Sr\\S'   Sr\\S'   Sr\\\   -  \\\4   -  \S'   Sr\\\   -  \\\4   -  \S'   Sr\\S'   Sr\\S'   Sr\\S'   Sr\S-  \S'   Sr\\S '   U 4S! jrS"rU =r$ )#	ViTConfig   a  
encoder_stride (`int`, *optional*, defaults to 16):
    Factor to increase the spatial resolution by in the decoder head for masked image modeling.
pooler_output_size (`int`, *optional*):
    Dimensionality of the pooler layer. If None, defaults to `hidden_size`.
pooler_act (`str`, *optional*, defaults to `"tanh"`):
    The activation function to be used by the pooler.

Example:

```python
>>> from transformers import ViTConfig, ViTModel

>>> # Initializing a ViT vit-base-patch16-224 style configuration
>>> configuration = ViTConfig()

>>> # Initializing a model (with random weights) from the vit-base-patch16-224 style configuration
>>> model = ViTModel(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config
```viti   hidden_size   num_hidden_layersnum_attention_headsi   intermediate_sizegelu
hidden_actg        hidden_dropout_probattention_probs_dropout_probg{Gz?initializer_rangeg-q=layer_norm_eps   
image_size   
patch_sizer   num_channelsTqkv_biasencoder_strideNpooler_output_sizetanh
pooler_actc                    > U R                   (       a  U R                   OU R                  U l         [        TU ]  " S0 UD6  g )N )r   r   super__post_init__)selfkwargs	__class__s     z/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/transformers/models/vit/configuration_vit.pyr$   ViTConfig.__post_init__C   s2    =A=T=T$"9"9Z^ZjZj''    )r   ) __name__
__module____qualname____firstlineno____doc__
model_typer   int__annotations__r   r   r   r   strr   floatr   r   r   r   listtupler   r   r   boolr   r   r    r$   __static_attributes____classcell__)r'   s   @r(   r	   r	      s    . JKs!!!s!J'**03 %#+3#u#!NE!47Jd3i%S/1746Jd3i%S/16L#HdNC%)d
)J( (r*   r	   N)	r/   huggingface_hub.dataclassesr   configuration_utilsr   utilsr   r	   __all__r"   r*   r(   <module>r>      sG     . 3 # 89-(  -(  :-(` -r*   