fix "piano" typo (#31027)
This commit is contained in:
parent
8e3b1fef97
commit
e18da4e3f2
|
@ -71,7 +71,7 @@ POP2PIANO_INPUTS_DOCSTRING = r"""
|
||||||
so you should be able to pad the inputs on both the right and the left. Indices can be obtained using
|
so you should be able to pad the inputs on both the right and the left. Indices can be obtained using
|
||||||
[`AutoTokenizer`]. See [`PreTrainedTokenizer.encode`] and [`PreTrainedTokenizer.__call__`] for detail.
|
[`AutoTokenizer`]. See [`PreTrainedTokenizer.encode`] and [`PreTrainedTokenizer.__call__`] for detail.
|
||||||
[What are input IDs?](../glossary#input-ids) To know more on how to prepare `input_ids` for pretraining
|
[What are input IDs?](../glossary#input-ids) To know more on how to prepare `input_ids` for pretraining
|
||||||
take a look a [Pop2Pianp Training](./Pop2Piano#training).
|
take a look a [Pop2Piano Training](./Pop2Piano#training).
|
||||||
attention_mask (`torch.FloatTensor` of shape `(batch_size, sequence_length)`, *optional*):
|
attention_mask (`torch.FloatTensor` of shape `(batch_size, sequence_length)`, *optional*):
|
||||||
Mask to avoid performing attention on padding token indices. Mask values selected in `[0, 1]`:
|
Mask to avoid performing attention on padding token indices. Mask values selected in `[0, 1]`:
|
||||||
- 1 for tokens that are **not masked**,
|
- 1 for tokens that are **not masked**,
|
||||||
|
|
Loading…
Reference in New Issue