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

        input_ids (`torch.LongTensor` of shape `(batch_size, num_choices, sequence_length)`):
            Indices of input sequence tokens in the vocabulary.

            Indices can be obtained using [`AutoTokenizer`]. See [`PreTrainedTokenizer.encode`] and
            [`PreTrainedTokenizer.__call__`] for details.

            [What are input IDs?](../glossary#input-ids)
        token_type_ids (`torch.LongTensor` of shape `(batch_size, num_choices, 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.

            [What are token type IDs?](../glossary#token-type-ids)
        position_ids (`torch.LongTensor` of shape `(batch_size, num_choices, sequence_length)`, *optional*):
            Indices of positions of each input sequence tokens in the position embeddings. Selected in the range `[0,
            config.max_position_embeddings - 1]`.

            [What are position IDs?](../glossary#position-ids)
        inputs_embeds (`torch.Tensor` of shape `(batch_size, num_choices, sequence_length, hidden_size)`, *optional*):
            Optionally, instead of passing `input_ids` you can choose to directly pass an embedded representation. This
            is useful if you want more control over how to convert `input_ids` indices into associated vectors than the
            model's internal embedding lookup matrix.
        
=== parse google
short_description: 'input_ids (`torch.LongTensor` of shape `(batch_size, num_choices, sequence_length)`):'
long_description: |
      Indices of input sequence tokens in the vocabulary.
  
      Indices can be obtained using [`AutoTokenizer`]. See [`PreTrainedTokenizer.encode`] and
      [`PreTrainedTokenizer.__call__`] for details.
  
      [What are input IDs?](../glossary#input-ids)
  token_type_ids (`torch.LongTensor` of shape `(batch_size, num_choices, 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.
  
      [What are token type IDs?](../glossary#token-type-ids)
  position_ids (`torch.LongTensor` of shape `(batch_size, num_choices, sequence_length)`, *optional*):
      Indices of positions of each input sequence tokens in the position embeddings. Selected in the range `[0,
      config.max_position_embeddings - 1]`.
  
      [What are position IDs?](../glossary#position-ids)
  inputs_embeds (`torch.Tensor` of shape `(batch_size, num_choices, sequence_length, hidden_size)`, *optional*):
      Optionally, instead of passing `input_ids` you can choose to directly pass an embedded representation. This
      is useful if you want more control over how to convert `input_ids` indices into associated vectors than the
      model's internal embedding lookup matrix.
blank_after_short_description: False
blank_after_long_description: False
style: google
=== detect
rest
=== compose google
input_ids (`torch.LongTensor` of shape `(batch_size, num_choices, sequence_length)`):
    Indices of input sequence tokens in the vocabulary.

    Indices can be obtained using [`AutoTokenizer`]. See [`PreTrainedTokenizer.encode`] and
    [`PreTrainedTokenizer.__call__`] for details.

    [What are input IDs?](../glossary#input-ids)
token_type_ids (`torch.LongTensor` of shape `(batch_size, num_choices, 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.

    [What are token type IDs?](../glossary#token-type-ids)
position_ids (`torch.LongTensor` of shape `(batch_size, num_choices, sequence_length)`, *optional*):
    Indices of positions of each input sequence tokens in the position embeddings. Selected in the range `[0,
    config.max_position_embeddings - 1]`.

    [What are position IDs?](../glossary#position-ids)
inputs_embeds (`torch.Tensor` of shape `(batch_size, num_choices, sequence_length, hidden_size)`, *optional*):
    Optionally, instead of passing `input_ids` you can choose to directly pass an embedded representation. This
    is useful if you want more control over how to convert `input_ids` indices into associated vectors than the
    model's internal embedding lookup matrix.
