Skip to content

Commit

Permalink
py : Falcon HF compatibility (ggerganov#4104)
Browse files Browse the repository at this point in the history
Falcon HF compatibility
  • Loading branch information
cmp-nct authored and olexiyb committed Nov 23, 2023
1 parent 38c6ef1 commit 2f3f0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert-hf-to-gguf.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def _get_model_architecture(self) -> gguf.MODEL_ARCH:
return gguf.MODEL_ARCH.MPT
if arch in ("BaichuanForCausalLM", "BaiChuanForCausalLM"):
return gguf.MODEL_ARCH.BAICHUAN
if arch == "FalconForCausalLM":
if arch in ("FalconForCausalLM", "RWForCausalLM"):
return gguf.MODEL_ARCH.FALCON
if arch == "GPTBigCodeForCausalLM":
return gguf.MODEL_ARCH.STARCODER
Expand Down

0 comments on commit 2f3f0c0

Please sign in to comment.