DevPanda004 commited on
Commit
157a192
1 Parent(s): 28f84e2

Update adapter_config.json

Browse files
Files changed (1) hide show
  1. adapter_config.json +12 -15
adapter_config.json CHANGED
@@ -1,13 +1,11 @@
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": {
4
- "base_model_class": "PeftModel",
5
- "parent_library": "peft.peft_model"
6
  },
7
  "base_model_name_or_path": "facebook/musicgen-melody",
8
  "bias": "none",
9
- "eva_config": null,
10
- "exclude_modules": null,
11
  "fan_in_fan_out": false,
12
  "inference_mode": true,
13
  "init_lora_weights": true,
@@ -16,7 +14,6 @@
16
  "layers_to_transform": null,
17
  "loftq_config": {},
18
  "lora_alpha": 16,
19
- "lora_bias": false,
20
  "lora_dropout": 0.05,
21
  "megatron_config": null,
22
  "megatron_core": "megatron.core",
@@ -26,22 +23,22 @@
26
  "rank_pattern": {},
27
  "revision": null,
28
  "target_modules": [
29
- "enc_to_dec_proj",
30
- "lm_heads.3",
31
- "embed_tokens.0",
32
- "v_proj",
33
- "q_proj",
34
  "lm_heads.2",
35
- "out_proj",
36
- "audio_enc_to_dec_proj",
37
  "lm_heads.1",
38
  "embed_tokens.3",
39
- "lm_heads.0",
40
  "embed_tokens.1",
 
41
  "embed_tokens.2",
42
- "fc2",
43
  "fc1",
44
- "k_proj"
 
 
 
 
 
 
45
  ],
46
  "task_type": null,
47
  "use_dora": false,
 
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": {
4
+ "base_model_class": "MusicgenMelodyForConditionalGeneration",
5
+ "parent_library": "transformers.models.musicgen_melody.modeling_musicgen_melody"
6
  },
7
  "base_model_name_or_path": "facebook/musicgen-melody",
8
  "bias": "none",
 
 
9
  "fan_in_fan_out": false,
10
  "inference_mode": true,
11
  "init_lora_weights": true,
 
14
  "layers_to_transform": null,
15
  "loftq_config": {},
16
  "lora_alpha": 16,
 
17
  "lora_dropout": 0.05,
18
  "megatron_config": null,
19
  "megatron_core": "megatron.core",
 
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
26
+ "fc2",
 
 
 
 
27
  "lm_heads.2",
28
+ "enc_to_dec_proj",
 
29
  "lm_heads.1",
30
  "embed_tokens.3",
 
31
  "embed_tokens.1",
32
+ "k_proj",
33
  "embed_tokens.2",
 
34
  "fc1",
35
+ "embed_tokens.0",
36
+ "v_proj",
37
+ "lm_heads.3",
38
+ "q_proj",
39
+ "audio_enc_to_dec_proj",
40
+ "out_proj",
41
+ "lm_heads.0"
42
  ],
43
  "task_type": null,
44
  "use_dora": false,