Add missing parenthesis

Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com>
This commit is contained in:
Anas Ahouzi 2024-02-24 22:19:33 +01:00 committed by GitHub
parent a6dbec8822
commit 79959cae73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1077,7 +1077,7 @@ class StableLMModel(Model):
self.gguf_writer.add_rope_dimension_count(int(hparams["partial_rotary_factor"] * (hparams["hidden_size"] // hparams["num_attention_heads"])))
self.gguf_writer.add_head_count(hparams["num_attention_heads"])
self.gguf_writer.add_parallel_residual(hparams["use_parallel_residual"] if "use_parallel_residual" in hparams else True)
self.gguf_writer.add_layer_norm_eps(self.find_hparam(["layer_norm_eps", "norm_eps"])
self.gguf_writer.add_layer_norm_eps(self.find_hparam(["layer_norm_eps", "norm_eps"]))
class MixtralModel(Model):