Skip to content

Commit 8165494

Browse files
committed
Default to mistral tokenizer for mistral models
1 parent e676a70 commit 8165494

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

charts/azimuth-llm/templates/api/deployment.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ spec:
3434
- --max-model-len
3535
- {{ .Values.api.modelMaxContextLength | quote }}
3636
{{- end -}}
37+
{{- if and (not (has "--tokenizer-model" .Values.api.extraArgs)) (hasPrefix "mistralai/" .Values.huggingface.model) -}}
38+
- --tokenizer-mode
39+
- mistral
40+
{{- end -}}
3741
{{- if .Values.api.extraArgs -}}
3842
{{- .Values.api.extraArgs | toYaml | nindent 10 }}
3943
{{- end -}}

0 commit comments

Comments
 (0)