
    Z j                     p    S r SSKJ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GraniteMoe model configuration    )strict   )PreTrainedConfig)RopeParameters)auto_docstringz!ibm-granite/granite-speech-3.2-8b)
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\S-  \	S'   Sr\\	S'   Sr\\	S'   Sr\\	S'   Sr\\	S'   Sr\\	S'   Sr\S-  \	S'   Sr\S-  \	S'   Sr\\\   -  S-  \	S'   Sr\\	S '   Sr\\-  S-  \	S!'   Sr\\	S"'   S#r \\-  S-  \	S$'   S%r!\\-  S-  \	S&'   S%r"\\-  S-  \	S''   S%r#\\-  S-  \	S('   S%r$\\-  S-  \	S)'   S*r%\S-  \	S+'   Sr&\S-  \	S,'   Sr'\S-  \	S-'   S.r(\S-  \	S/'   U 4S0 jr)S1r*U =r+$ )2GraniteMoeConfig   at  
```python
>>> from transformers import GraniteMoeModel, GraniteMoeConfig

>>> # Initializing a GraniteMoe granitemoe-3b style configuration
>>> configuration = GraniteMoeConfig()

>>> # Initializing a model from the granitemoe-7b style configuration
>>> model = GraniteMoeModel(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config
```

granitemoepast_key_valuesi }  
vocab_sizei   hidden_sizei +  intermediate_size    num_hidden_layersnum_attention_headsNnum_key_value_headssilu
hidden_acti   max_position_embeddingsg{Gz?initializer_rangegư>rms_norm_epsT	use_cachepad_token_id   bos_token_id   eos_token_idFtie_word_embeddingsrope_parametersattention_biasg        attention_dropoutg      ?embedding_multiplierlogits_scalingresidual_multiplierattention_multiplier   num_local_expertsnum_experts_per_tokoutput_router_logitsgMbP?router_aux_loss_coefc                 b   > U R                   c  U R                  U l         [        TU ]  " S0 UD6  g )N )r   r   super__post_init__)selfkwargs	__class__s     ڈ/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/transformers/models/granitemoe/configuration_granitemoe.pyr0   GraniteMoeConfig.__post_init__L   s-    ##+'+'?'?D$''    )r   ),__name__
__module____qualname____firstlineno____doc__
model_typekeys_to_ignore_at_inferencer   int__annotations__r   r   r   r   r   r   strr   r   floatr   r   boolr   r   r   listr    r!   r   dictr"   r#   r$   r%   r&   r'   r)   r*   r+   r,   r0   __static_attributes____classcell__)r3   s   @r4   r
   r
      s    J#4"5JK"s"s!!&*t*J#'S'#u#L%It#L#*# L#* +,L#S	/D(, %%48O^d*T18 ND ,/us{T)//2%#+,2),NECK$&,.1t+1/2%#+,2$%sTz%&'t'(-$+-).%$,.( (r6   r
   N)r;   huggingface_hub.dataclassesr   configuration_utilsr   modeling_rope_utilsr   utilsr   r
   __all__r.   r6   r4   <module>rL      sL   & % . 3 1 # >?3(' 3(  @3(l 
r6   