
    Z j                         S SK Jr  SSKJr  SSKJrJr  \R                  " \5      r	\" SS9\ " S S\5      5       5       r
\" SS9\ " S	 S
\5      5       5       rS
S/rg)    )strict   )PreTrainedConfig)auto_docstringloggingzmicrosoft/git-base)
checkpointc                       \ rS 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\\\   -  \\\4   -  \	S'   Sr\\\   -  \\\4   -  \	S'   Sr\\	S'   Sr\\	S'   Sr\\-  \	S'   Sr\\	S'   Srg)GitVisionConfig   a  
Example:

```python
>>> from transformers import GitVisionConfig, GitVisionModel

>>> # Initializing a GitVisionConfig with microsoft/git-base style configuration
>>> configuration = GitVisionConfig()

>>> # Initializing a GitVisionModel (with random weights) from the microsoft/git-base style configuration
>>> model = GitVisionModel(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config
```git_vision_modelvision_config   hidden_size   intermediate_size   num_hidden_layersnum_attention_headsr   num_channels   
image_size   
patch_size
quick_gelu
hidden_actgh㈵>layer_norm_epsg        attention_dropout{Gz?initializer_range N)__name__
__module____qualname____firstlineno____doc__
model_typebase_config_keyr   int__annotations__r   r   r   r   r   listtupler   r   strr   floatr   r   __static_attributes__r        z/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/transformers/models/git/configuration_git.pyr
   r
      s      $J%OK!s!s!!L#47Jd3i%S/1746Jd3i%S/16"J" NE %(us{(#u#r/   r
   c                   r  ^  \ rS rSr% SrSrS\0rSr\	\-  S-  \
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\\
S'   Sr\\
S'   Sr\\
S'   Sr\S-  \
S'   Sr\\
S'   Sr\\
S '   S!r\S-  \
S"'   S#r\\\   -  S-  \
S$'   Sr \S-  \
S%'   U 4S& jr!S'r"U =r#$ )(	GitConfig<   a  
num_image_with_embedding (`int`, *optional*):
    The number of temporal embeddings to add, in case the model is used for video captioning/VQA.

Examples:

```python
>>> from transformers import GitConfig, GitModel

>>> # Initializing a GIT microsoft/git-base style configuration
>>> configuration = GitConfig()

>>> # Initializing a model (with random weights) from the microsoft/git-base style configuration
>>> model = GitModel(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config
```gitr   Ni:w  
vocab_sizer   r      r   r   r   r   r   gelur   g?hidden_dropout_probattention_probs_dropout_probi   max_position_embeddingsr   r   g-q=r   r   pad_token_idT	use_cacheFtie_word_embeddingse   bos_token_idf   eos_token_idnum_image_with_embeddingc                    > U R                   c%  [        5       U l         [        R                  S5        O9[	        U R                   [
        5      (       a  [        S0 U R                   D6U l         [        TU ]  " S0 UD6  g )NzLvision_config is None. initializing the GitVisionConfig with default values.r    )r   r
   loggerinfo
isinstancedictsuper__post_init__)selfkwargs	__class__s     r0   rI   GitConfig.__post_init__h   s`    %!0!2DKKfg**D11!0!F43E3E!FD''r/   )r   )$r!   r"   r#   r$   r%   r&   r
   sub_configsr   rG   r)   r5   r(   r   r   r   r   r   r,   r8   r-   r9   r:   r   r   r;   r<   boolr=   r?   rA   r*   rB   rI   r.   __classcell__)rL   s   @r0   r2   r2   <   s   & J"O4K37M4/)D07JKs!!!s!J'**03 %#+3#'S'#u#!NE! L#* It %%"L#*"+.L#S	/D(.+/cDj/( (r/   r2   N)huggingface_hub.dataclassesr   configuration_utilsr   utilsr   r   
get_loggerr!   rD   r
   r2   __all__r    r/   r0   <module>rV      s     / 3 , 
		H	% /0$& $  1$B /00(  0(  10(f )
*r/   