Restore support for RWForCausalLM
This commit is contained in:
parent
007be85087
commit
03c9683eb7
1 changed files with 1 additions and 1 deletions
2
model.py
2
model.py
|
@ -153,7 +153,7 @@ class Model:
|
|||
return MPTModel
|
||||
if model_architecture in ("BaichuanForCausalLM", "BaiChuanForCausalLM"):
|
||||
return BaichuanModel
|
||||
if model_architecture == "FalconForCausalLM":
|
||||
if model_architecture in ("FalconForCausalLM", "RWForCausalLM"):
|
||||
return FalconModel
|
||||
if model_architecture == "GPTBigCodeForCausalLM":
|
||||
return StarCoderModel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue