|
{ |
|
"activation_function": "gelu_new", |
|
"architectures": [ |
|
"GPT2LMHeadModel" |
|
], |
|
"alpha_pattern": {}, |
|
"auto_mapping": null, |
|
"model_type": "gpt2", |
|
"bias": "none", |
|
"fan_in_fan_out": false, |
|
"inference_mode": true, |
|
"init_lora_weights": true, |
|
"layer_replication": null, |
|
"layers_pattern": null, |
|
"layers_to_transform": null, |
|
"loftq_config": {}, |
|
"lora_alpha": 32, |
|
"lora_dropout": 0.05, |
|
"megatron_config": null, |
|
"megatron_core": "megatron.core", |
|
"modules_to_save": [ |
|
"classifier", |
|
"score" |
|
], |
|
"peft_type": "LORA", |
|
"r": 16, |
|
"rank_pattern": {}, |
|
"revision": null, |
|
"target_modules": [ |
|
"c_proj", |
|
"c_attn", |
|
"c_fc", |
|
"score" |
|
], |
|
"task_specific_params": { |
|
"text-generation": { |
|
"do_sample": true, |
|
"max_length": 50 |
|
} |
|
"task_type": "SEQ_CLS", |
|
"use_dora": false, |
|
"use_rslora": false |
|
} |