a monkey patch for lora_target

Former-commit-id: 622f44a05b49b10571bd189ae3843683117ad77f
This commit is contained in:
hiyouga
2023-07-18 00:31:40 +08:00
parent 53d7d4c221
commit ce8ba8afac
2 changed files with 11 additions and 0 deletions

View File

@@ -29,3 +29,12 @@ SUPPORTED_MODELS = {
"InternLM-7B-Base": "internlm/internlm-7b",
"InternLM-7B-Chat": "internlm/internlm-chat-7b"
}
DEFAULT_MODULE = { # will be deprecated
"LLaMA": "q_proj,v_proj",
"BLOOM": "query_key_value",
"BLOOMZ": "query_key_value",
"Falcon": "query_key_value",
"Baichuan": "W_pack",
"InternLM": "q_proj,v_proj"
}