Skip to content

Commit

Permalink
Mistral nemo (#1785)
Browse files Browse the repository at this point in the history
* add config head_dim mistral nemo

* fix black
  • Loading branch information
minhthuc2502 authored Sep 20, 2024
1 parent cb16c8e commit 5ad036d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/ctranslate2/converters/transformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1876,6 +1876,7 @@ def get_model_spec(self, model):
quant_type=quant_type,
quant_group_size=quant_group_size,
quant_bits=quant_bits,
head_dim=model.config.head_dim,
)

self.set_decoder(spec.decoder, model.model, quant_type=quant_type)
Expand Down

0 comments on commit 5ad036d

Please sign in to comment.