adiyoss ylacombe commited on
Commit
022c3bd
1 Parent(s): 0783fb0

Upload MusicgenMelodyForConditionalGeneration (#4)

Browse files

- Upload MusicgenMelodyForConditionalGeneration (526f163f091e4fa22174da6fb353fa1f4f101a02)


Co-authored-by: Yoach Lacombe <ylacombe@users.noreply.huggingface.co>

config.json CHANGED
@@ -292,5 +292,5 @@
292
  "vocab_size": 32128
293
  },
294
  "torch_dtype": "float32",
295
- "transformers_version": "4.38.0.dev0"
296
  }
 
292
  "vocab_size": 32128
293
  },
294
  "torch_dtype": "float32",
295
+ "transformers_version": "4.40.0.dev0"
296
  }
generation_config.json CHANGED
@@ -6,5 +6,5 @@
6
  "guidance_scale": 3.0,
7
  "max_length": 1500,
8
  "pad_token_id": 2048,
9
- "transformers_version": "4.38.0.dev0"
10
  }
 
6
  "guidance_scale": 3.0,
7
  "max_length": 1500,
8
  "pad_token_id": 2048,
9
+ "transformers_version": "4.40.0.dev0"
10
  }
model-00001-of-00002.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3c8e6a2b76bb1d9dd0c9df782893f90f00dd4d8a7c173d6b09db2e703b54e78f
3
- size 4991340360
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64bb17eb17182b17ba19dec21d794229c955d39cb5610a21da75ed2397da750d
3
+ size 4997739040
model-00002-of-00002.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f7afbf452e4d085b946f1721ed8af0b337fc0d782a4d78c2c4e3457d76652e7c
3
- size 1238202200
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95932e81bf5b2b02777a245a42dc65b9ab13362460ae77f7a1c3c0b50737e3c6
3
+ size 1332599632
model.safetensors.index.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "metadata": {
3
- "total_size": 6229453080
4
  },
5
  "weight_map": {
6
  "audio_enc_to_dec_proj.bias": "model-00002-of-00002.safetensors",
@@ -8,7 +8,14 @@
8
  "audio_encoder.decoder.layers.0.conv.bias": "model-00001-of-00002.safetensors",
9
  "audio_encoder.decoder.layers.0.conv.weight_g": "model-00001-of-00002.safetensors",
10
  "audio_encoder.decoder.layers.0.conv.weight_v": "model-00001-of-00002.safetensors",
 
 
 
 
 
 
11
  "audio_encoder.decoder.layers.1.lstm.weight_ih_l0": "model-00001-of-00002.safetensors",
 
12
  "audio_encoder.decoder.layers.10.block.1.conv.bias": "model-00001-of-00002.safetensors",
13
  "audio_encoder.decoder.layers.10.block.1.conv.weight_g": "model-00001-of-00002.safetensors",
14
  "audio_encoder.decoder.layers.10.block.1.conv.weight_v": "model-00001-of-00002.safetensors",
@@ -66,7 +73,14 @@
66
  "audio_encoder.encoder.layers.12.conv.bias": "model-00001-of-00002.safetensors",
67
  "audio_encoder.encoder.layers.12.conv.weight_g": "model-00001-of-00002.safetensors",
68
  "audio_encoder.encoder.layers.12.conv.weight_v": "model-00001-of-00002.safetensors",
 
 
 
 
 
 
69
  "audio_encoder.encoder.layers.13.lstm.weight_ih_l0": "model-00001-of-00002.safetensors",
 
70
  "audio_encoder.encoder.layers.15.conv.bias": "model-00001-of-00002.safetensors",
71
  "audio_encoder.encoder.layers.15.conv.weight_g": "model-00001-of-00002.safetensors",
72
  "audio_encoder.encoder.layers.15.conv.weight_v": "model-00001-of-00002.safetensors",
@@ -436,16 +450,16 @@
436
  "decoder.model.decoder.layers.36.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
437
  "decoder.model.decoder.layers.36.self_attn_layer_norm.bias": "model-00001-of-00002.safetensors",
438
  "decoder.model.decoder.layers.36.self_attn_layer_norm.weight": "model-00001-of-00002.safetensors",
439
- "decoder.model.decoder.layers.37.fc1.weight": "model-00001-of-00002.safetensors",
440
- "decoder.model.decoder.layers.37.fc2.weight": "model-00001-of-00002.safetensors",
441
- "decoder.model.decoder.layers.37.final_layer_norm.bias": "model-00001-of-00002.safetensors",
442
- "decoder.model.decoder.layers.37.final_layer_norm.weight": "model-00001-of-00002.safetensors",
443
  "decoder.model.decoder.layers.37.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
444
- "decoder.model.decoder.layers.37.self_attn.out_proj.weight": "model-00001-of-00002.safetensors",
445
- "decoder.model.decoder.layers.37.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
446
  "decoder.model.decoder.layers.37.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
447
- "decoder.model.decoder.layers.37.self_attn_layer_norm.bias": "model-00001-of-00002.safetensors",
448
- "decoder.model.decoder.layers.37.self_attn_layer_norm.weight": "model-00001-of-00002.safetensors",
449
  "decoder.model.decoder.layers.38.fc1.weight": "model-00002-of-00002.safetensors",
450
  "decoder.model.decoder.layers.38.fc2.weight": "model-00002-of-00002.safetensors",
451
  "decoder.model.decoder.layers.38.final_layer_norm.bias": "model-00002-of-00002.safetensors",
 
1
  {
2
  "metadata": {
3
+ "total_size": 6330247448
4
  },
5
  "weight_map": {
6
  "audio_enc_to_dec_proj.bias": "model-00002-of-00002.safetensors",
 
8
  "audio_encoder.decoder.layers.0.conv.bias": "model-00001-of-00002.safetensors",
9
  "audio_encoder.decoder.layers.0.conv.weight_g": "model-00001-of-00002.safetensors",
10
  "audio_encoder.decoder.layers.0.conv.weight_v": "model-00001-of-00002.safetensors",
11
+ "audio_encoder.decoder.layers.1.lstm.bias_hh_l0": "model-00001-of-00002.safetensors",
12
+ "audio_encoder.decoder.layers.1.lstm.bias_hh_l1": "model-00001-of-00002.safetensors",
13
+ "audio_encoder.decoder.layers.1.lstm.bias_ih_l0": "model-00001-of-00002.safetensors",
14
+ "audio_encoder.decoder.layers.1.lstm.bias_ih_l1": "model-00001-of-00002.safetensors",
15
+ "audio_encoder.decoder.layers.1.lstm.weight_hh_l0": "model-00001-of-00002.safetensors",
16
+ "audio_encoder.decoder.layers.1.lstm.weight_hh_l1": "model-00001-of-00002.safetensors",
17
  "audio_encoder.decoder.layers.1.lstm.weight_ih_l0": "model-00001-of-00002.safetensors",
18
+ "audio_encoder.decoder.layers.1.lstm.weight_ih_l1": "model-00001-of-00002.safetensors",
19
  "audio_encoder.decoder.layers.10.block.1.conv.bias": "model-00001-of-00002.safetensors",
20
  "audio_encoder.decoder.layers.10.block.1.conv.weight_g": "model-00001-of-00002.safetensors",
21
  "audio_encoder.decoder.layers.10.block.1.conv.weight_v": "model-00001-of-00002.safetensors",
 
73
  "audio_encoder.encoder.layers.12.conv.bias": "model-00001-of-00002.safetensors",
74
  "audio_encoder.encoder.layers.12.conv.weight_g": "model-00001-of-00002.safetensors",
75
  "audio_encoder.encoder.layers.12.conv.weight_v": "model-00001-of-00002.safetensors",
76
+ "audio_encoder.encoder.layers.13.lstm.bias_hh_l0": "model-00001-of-00002.safetensors",
77
+ "audio_encoder.encoder.layers.13.lstm.bias_hh_l1": "model-00001-of-00002.safetensors",
78
+ "audio_encoder.encoder.layers.13.lstm.bias_ih_l0": "model-00001-of-00002.safetensors",
79
+ "audio_encoder.encoder.layers.13.lstm.bias_ih_l1": "model-00001-of-00002.safetensors",
80
+ "audio_encoder.encoder.layers.13.lstm.weight_hh_l0": "model-00001-of-00002.safetensors",
81
+ "audio_encoder.encoder.layers.13.lstm.weight_hh_l1": "model-00001-of-00002.safetensors",
82
  "audio_encoder.encoder.layers.13.lstm.weight_ih_l0": "model-00001-of-00002.safetensors",
83
+ "audio_encoder.encoder.layers.13.lstm.weight_ih_l1": "model-00001-of-00002.safetensors",
84
  "audio_encoder.encoder.layers.15.conv.bias": "model-00001-of-00002.safetensors",
85
  "audio_encoder.encoder.layers.15.conv.weight_g": "model-00001-of-00002.safetensors",
86
  "audio_encoder.encoder.layers.15.conv.weight_v": "model-00001-of-00002.safetensors",
 
450
  "decoder.model.decoder.layers.36.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
451
  "decoder.model.decoder.layers.36.self_attn_layer_norm.bias": "model-00001-of-00002.safetensors",
452
  "decoder.model.decoder.layers.36.self_attn_layer_norm.weight": "model-00001-of-00002.safetensors",
453
+ "decoder.model.decoder.layers.37.fc1.weight": "model-00002-of-00002.safetensors",
454
+ "decoder.model.decoder.layers.37.fc2.weight": "model-00002-of-00002.safetensors",
455
+ "decoder.model.decoder.layers.37.final_layer_norm.bias": "model-00002-of-00002.safetensors",
456
+ "decoder.model.decoder.layers.37.final_layer_norm.weight": "model-00002-of-00002.safetensors",
457
  "decoder.model.decoder.layers.37.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
458
+ "decoder.model.decoder.layers.37.self_attn.out_proj.weight": "model-00002-of-00002.safetensors",
459
+ "decoder.model.decoder.layers.37.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
460
  "decoder.model.decoder.layers.37.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
461
+ "decoder.model.decoder.layers.37.self_attn_layer_norm.bias": "model-00002-of-00002.safetensors",
462
+ "decoder.model.decoder.layers.37.self_attn_layer_norm.weight": "model-00002-of-00002.safetensors",
463
  "decoder.model.decoder.layers.38.fc1.weight": "model-00002-of-00002.safetensors",
464
  "decoder.model.decoder.layers.38.fc2.weight": "model-00002-of-00002.safetensors",
465
  "decoder.model.decoder.layers.38.final_layer_norm.bias": "model-00002-of-00002.safetensors",