Add MusicGen Melody #28819
first modeling code
853d2c0d
make repository
2ff2f3de
still WIP
a3fa21f7
update model
4c02db4f
add tests
b1417039
add latest change
2b196120
clean docstrings and copied from
eae18da7
update docstrings md and readme
2285db37
correct chroma function
cb8f4c5b
Merge branch 'main' into add-musicgen-melody
0ab46230
correct copied from and remove unreleated test
c1e196d1
add doc to toctree
c8bf6c52
correct imports
f015753a
add convert script to notdoctested
c8c5a4e5
Add suggestion from Sanchit
2cf5cfbb
Merge branch 'huggingface:main' into add-musicgen-melody
bce1aaf7
correct get_uncoditional_inputs docstrings
0e944afb
modify README according to SANCHIT feedback
1a03cd9c
add chroma to audio utils
fded84d8
clean librosa and torchaudio hard dependencies
133e4861
fix FE
a70d0da9
refactor audio decoder -> audio encoder for consistency with previous…
34c82702
refactor conditional -> encoder
fdd17431
modify sampling rate logics
b13cbcff
modify license at the beginning
2bb0adbc
refactor all_self_attns->all_attentions
d06b3277
remove ignore copy from causallm generate
78428406
add copied from for from_sub_models
8e7c128e
fix make copies
8e1bc88d
add warning if audio is truncated
61eb704f
add copied from where relevant
e761acc3
remove artefact
96baf7d6
fix convert script
357b4168
fix torchaudio and FE
ebe4cde3
modify chroma method according to feedback-> better naming
aacf7ee2
refactor input_values->input_features
38383613
refactor input_values->input_features and fix import fe
a68c1a04
add input_features to docstrigs
b1741551
correct inputs_embeds logics
f9620b97
remove dtype conversion
6b6d7cb4
refactor _prepare_conditional_hidden_states_kwargs_for_generation ->_…
8c1d8f88
change warning for chroma length
4eface6b
Update src/transformers/models/musicgen_melody/convert_musicgen_melod…
2109479b
change way to save wav, using soundfile
3bfc793d
correct docs and change to soundfile
9cd463a5
fix import
9c4aee18
Merge branch 'huggingface:main' into add-musicgen-melody
0fa02746
fix init proj layers
0535b574
Merge branch 'huggingface:main' into add-musicgen-melody
87f4cf77
remove line breaks from md
b36e8024
fix issue with docstrings
3fd28393
add FE suggestions
9f15d02a
improve is in logics and remove useless imports
48c2c3f9
remove custom from_pretrained
9a43be0e
simplify docstring code
cf893896
add suggestions for modeling tests
bb698171
make style
fc33efb6
update converting script with sanity check
ba4d7327
remove encoder attention mask from conditional generation
51662592
Merge branch 'main' into add-musicgen-melody
755960af
Merge branch 'main' into add-musicgen-melody
8b9177fa
replace musicgen melody checkpoints with official orga
ad26dc9b
rename ylacombe->facebook in checkpoints
7595256b
fix copies
2576806a
remove unecessary warning
379d70be
add shape in code docstrings
9795c6fb
add files to slow doc tests
b03b36d5
fix md bug and add md to not_tested
b434f8a8
Merge branch 'main' into add-musicgen-melody
ebeca43b
make fix-copies
604a4c8e
Merge branch 'huggingface:main' into add-musicgen-melody
7bda3c36
fix hidden states test and batching
5863cf9e
ylacombe
merged
c43b380e
into main 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub