Update convert-hf-to-gguf.py
Co-authored-by: Aarni Koskela <akx@iki.fi>
This commit is contained in:
parent
216386f3f5
commit
7ad7da6af8
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ class Model:
|
|||
return gguf.MODEL_ARCH.BERT
|
||||
if arch == "NomicBertModel":
|
||||
return gguf.MODEL_ARCH.NOMIC_BERT
|
||||
if arch in "GemmaForCausalLM":
|
||||
if arch == "GemmaForCausalLM":
|
||||
return gguf.MODEL_ARCH.GEMMA
|
||||
|
||||
raise NotImplementedError(f'Architecture "{arch}" not supported!')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue