Update convert-hf-to-gguf.py

Co-authored-by: Aarni Koskela <akx@iki.fi>
This commit is contained in:
Georgi Gerganov 2024-02-22 11:27:27 +02:00 committed by GitHub
parent 83fe714b32
commit 216386f3f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -218,7 +218,7 @@ class Model:
return BertModel
if model_architecture == "NomicBertModel":
return NomicBertModel
if model_architecture in "GemmaForCausalLM":
if model_architecture == "GemmaForCausalLM":
return GemmaModel
return Model