Skip to content

Commit 5ad036d

Browse files
authored
Mistral nemo (#1785)
* add config head_dim mistral nemo * fix black
1 parent cb16c8e commit 5ad036d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/ctranslate2/converters/transformers.py

+1
Original file line numberDiff line numberDiff line change
@@ -1876,6 +1876,7 @@ def get_model_spec(self, model):
18761876
quant_type=quant_type,
18771877
quant_group_size=quant_group_size,
18781878
quant_bits=quant_bits,
1879+
head_dim=model.config.head_dim,
18791880
)
18801881

18811882
self.set_decoder(spec.decoder, model.model, quant_type=quant_type)

0 commit comments

Comments
 (0)