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

        token_type_ids (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*):
            Segment token indices to indicate first and second portions of the inputs. Indices are selected in `[0,1]`:

            - 0 corresponds to a *sentence A* token,
            - 1 corresponds to a *sentence B* token.
            This parameter can only be used when the model is initialized with `type_vocab_size` parameter with value
            >= 2. All the value in this tensor should be always < type_vocab_size.

            [What are token type IDs?](../glossary#token-type-ids)
        
=== parse google
short_description: 'token_type_ids (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*):'
long_description: |
      Segment token indices to indicate first and second portions of the inputs. Indices are selected in `[0,1]`:
  
      - 0 corresponds to a *sentence A* token,
      - 1 corresponds to a *sentence B* token.
      This parameter can only be used when the model is initialized with `type_vocab_size` parameter with value
      >= 2. All the value in this tensor should be always < type_vocab_size.
  
      [What are token type IDs?](../glossary#token-type-ids)
blank_after_short_description: False
blank_after_long_description: False
style: google
=== detect
rest
=== compose google

token_type_ids (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*):
    Segment token indices to indicate first and second portions of the inputs. Indices are selected in `[0,1]`:

    - 0 corresponds to a *sentence A* token,
    - 1 corresponds to a *sentence B* token.
    This parameter can only be used when the model is initialized with `type_vocab_size` parameter with value
    >= 2. All the value in this tensor should be always < type_vocab_size.

    [What are token type IDs?](../glossary#token-type-ids)
