初始化项目,由ModelHub XC社区提供模型
Model: justinj92/phi2-bunny Source: Original Platform
This commit is contained in:
34
adapter_config.json
Normal file
34
adapter_config.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"alpha_pattern": {},
|
||||
"auto_mapping": null,
|
||||
"base_model_name_or_path": "microsoft/phi-2",
|
||||
"bias": "none",
|
||||
"fan_in_fan_out": null,
|
||||
"inference_mode": true,
|
||||
"init_lora_weights": true,
|
||||
"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": [
|
||||
"embed_tokens",
|
||||
"lm_head"
|
||||
],
|
||||
"peft_type": "LORA",
|
||||
"r": 64,
|
||||
"rank_pattern": {},
|
||||
"revision": null,
|
||||
"target_modules": [
|
||||
"dense",
|
||||
"k_proj",
|
||||
"v_proj",
|
||||
"fc2",
|
||||
"q_proj",
|
||||
"fc1"
|
||||
],
|
||||
"task_type": "CAUSAL_LM",
|
||||
"use_rslora": false
|
||||
}
|
||||
Reference in New Issue
Block a user