# transformers 5.24.1 (Apache-2.0), harvested by tools/harvest_corpus.py
=== input

    n_group (`int`, *optional*, defaults to 1):
        Number of groups for routed experts. The released checkpoints route over all experts at once.
    topk_group (`int`, *optional*, defaults to 1):
        Number of selected groups for each token.
    first_k_dense_replace (`int`, *optional*, defaults to 1):
        Number of dense layers in shallow layers(embed->dense->moe->moe...->lm_head).
                                                        \--k dense layers--/
    rope_interleave (`bool`, *optional*, defaults to `True`):
        Whether to interleave the rotary position embeddings.
    num_mtp_layers (`int`, *optional*, defaults to 0):
        Number of Multi-Token Prediction (MTP) modules available to append after the base transformer model. The
        released checkpoints do not include MTP weights.

    Example:

    ```python
    >>> from transformers import SarvamMLAConfig

    >>> # Initializing a SarvamMLA style configuration
    >>> configuration = SarvamMLAConfig()

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```
=== parse google
short_description: 'n_group (`int`, *optional*, defaults to 1):'
long_description: |
      Number of groups for routed experts. The released checkpoints route over all experts at once.
  topk_group (`int`, *optional*, defaults to 1):
      Number of selected groups for each token.
  first_k_dense_replace (`int`, *optional*, defaults to 1):
      Number of dense layers in shallow layers(embed->dense->moe->moe...->lm_head).
                                                      \--k dense layers--/
  rope_interleave (`bool`, *optional*, defaults to `True`):
      Whether to interleave the rotary position embeddings.
  num_mtp_layers (`int`, *optional*, defaults to 0):
      Number of Multi-Token Prediction (MTP) modules available to append after the base transformer model. The
      released checkpoints do not include MTP weights.
  
  ```python
  >>> from transformers import SarvamMLAConfig
  
  >>> # Initializing a SarvamMLA style configuration
  >>> configuration = SarvamMLAConfig()
  
  >>> # Accessing the model configuration
  >>> configuration = model.config
  ```
blank_after_short_description: True
blank_after_long_description: True
style: google
- DocstringExample
  kind: examples
  key: 'examples'
=== detect
google
=== compose google
n_group (`int`, *optional*, defaults to 1):

    Number of groups for routed experts. The released checkpoints route over all experts at once.
topk_group (`int`, *optional*, defaults to 1):
    Number of selected groups for each token.
first_k_dense_replace (`int`, *optional*, defaults to 1):
    Number of dense layers in shallow layers(embed->dense->moe->moe...->lm_head).
                                                    \--k dense layers--/
rope_interleave (`bool`, *optional*, defaults to `True`):
    Whether to interleave the rotary position embeddings.
num_mtp_layers (`int`, *optional*, defaults to 0):
    Number of Multi-Token Prediction (MTP) modules available to append after the base transformer model. The
    released checkpoints do not include MTP weights.

```python
>>> from transformers import SarvamMLAConfig

>>> # Initializing a SarvamMLA style configuration
>>> configuration = SarvamMLAConfig()

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

Examples:
