Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
e18da4e3
"vscode:/vscode.git/clone" did not exist on "f8bd8c6c7eef0a7280cd58f89016ede5b77f142f"
Unverified
Commit
e18da4e3
authored
May 28, 2024
by
Clint Adams
Committed by
GitHub
May 28, 2024
Browse files
fix "piano" typo (#31027)
parent
8e3b1fef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/pop2piano/modeling_pop2piano.py
src/transformers/models/pop2piano/modeling_pop2piano.py
+1
-1
No files found.
src/transformers/models/pop2piano/modeling_pop2piano.py
View file @
e18da4e3
...
...
@@ -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
[`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
take a look a [Pop2Pian
p
Training](./Pop2Piano#training).
take a look a [Pop2Pian
o
Training](./Pop2Piano#training).
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]`:
- 1 for tokens that are **not masked**,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment