初始化项目,由ModelHub XC社区提供模型
Model: RicardoLee/Llama2-chat-Chinese-50W Source: Original Platform
This commit is contained in:
26
sft_lora_model/adapter_config.json
Normal file
26
sft_lora_model/adapter_config.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"base_model_name_or_path": "/data3/litian/Redemption/LLama-2/chat/7B_HF",
|
||||
"bias": "none",
|
||||
"enable_lora": null,
|
||||
"fan_in_fan_out": false,
|
||||
"inference_mode": true,
|
||||
"lora_alpha": 32.0,
|
||||
"lora_dropout": 0.05,
|
||||
"merge_weights": false,
|
||||
"modules_to_save": [
|
||||
"embed_tokens",
|
||||
"lm_head"
|
||||
],
|
||||
"peft_type": "LORA",
|
||||
"r": 8,
|
||||
"target_modules": [
|
||||
"q_proj",
|
||||
"v_proj",
|
||||
"k_proj",
|
||||
"o_proj",
|
||||
"gate_proj",
|
||||
"down_proj",
|
||||
"up_proj"
|
||||
],
|
||||
"task_type": "CAUSAL_LM"
|
||||
}
|
||||
Reference in New Issue
Block a user