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

    num_logits_to_keep (`int` or `None`, *optional*, defaults to 1):
        Number of prompt logits to calculate during generation. If `None`, all logits will be calculated. If an
        integer value, only last `num_logits_to_keep` logits will be calculated. Default is 1 because only the
        logits of the last prompt token are needed for generation. For long sequences, the logits for the entire
        sequence may use a lot of memory so, setting `num_logits_to_keep=1` will reduce memory footprint
        significantly.
    attn_layer_indices (`list`, *optional*):
        Specifies the layer indices that will have full attention. Must contain values at most num_hidden_layers.
    z_loss_coefficient (`float`, *optional*, defaults to 0.0):
        Coefficient for auxiliary z-loss used to control logit growth during training
    
=== parse google
short_description: 'num_logits_to_keep (`int` or `None`, *optional*, defaults to 1):'
long_description: |
      Number of prompt logits to calculate during generation. If `None`, all logits will be calculated. If an
      integer value, only last `num_logits_to_keep` logits will be calculated. Default is 1 because only the
      logits of the last prompt token are needed for generation. For long sequences, the logits for the entire
      sequence may use a lot of memory so, setting `num_logits_to_keep=1` will reduce memory footprint
      significantly.
  attn_layer_indices (`list`, *optional*):
      Specifies the layer indices that will have full attention. Must contain values at most num_hidden_layers.
  z_loss_coefficient (`float`, *optional*, defaults to 0.0):
      Coefficient for auxiliary z-loss used to control logit growth during training
blank_after_short_description: False
blank_after_long_description: False
style: google
=== detect
rest
=== compose google
num_logits_to_keep (`int` or `None`, *optional*, defaults to 1):
    Number of prompt logits to calculate during generation. If `None`, all logits will be calculated. If an
    integer value, only last `num_logits_to_keep` logits will be calculated. Default is 1 because only the
    logits of the last prompt token are needed for generation. For long sequences, the logits for the entire
    sequence may use a lot of memory so, setting `num_logits_to_keep=1` will reduce memory footprint
    significantly.
attn_layer_indices (`list`, *optional*):
    Specifies the layer indices that will have full attention. Must contain values at most num_hidden_layers.
z_loss_coefficient (`float`, *optional*, defaults to 0.0):
    Coefficient for auxiliary z-loss used to control logit growth during training
