"...runners/git@developer.sourcefind.cn:Wenxuan/LightX2V.git" did not exist on "3e67df1c040f57a7aa325cb2d0a4c2c47686604c"
Unverified Commit 841e87ef authored by Raushan Turganbay's avatar Raushan Turganbay Committed by GitHub
Browse files

Fix docs Pop2Piano (#30140)

fix copies
parent af4c0262
......@@ -73,6 +73,16 @@ class Pop2PianoTokenizer(PreTrainedTokenizer):
Determines the default velocity to be used while creating midi Notes.
num_bars (`int`, *optional*, defaults to 2):
Determines cutoff_time_idx in for each token.
unk_token (`str` or `tokenizers.AddedToken`, *optional*, defaults to `"-1"`):
The unknown token. A token that is not in the vocabulary cannot be converted to an ID and is set to be this
token instead.
eos_token (`str` or `tokenizers.AddedToken`, *optional*, defaults to 1):
The end of sequence token.
pad_token (`str` or `tokenizers.AddedToken`, *optional*, defaults to 0):
A special token used to make arrays of tokens the same size for batching purpose. Will then be ignored by
attention mechanisms or loss computation.
bos_token (`str` or `tokenizers.AddedToken`, *optional*, defaults to 2):
The beginning of sequence token that was used during pretraining. Can be used a sequence classifier token.
"""
model_input_names = ["token_ids", "attention_mask"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment