From 46092f763d26eb938a937c2a9cc69ce1cb6c44c2 Mon Sep 17 00:00:00 2001 From: Bingchen Zhao Date: Tue, 17 Oct 2023 22:06:37 +0100 Subject: [PATCH] Fixed a typo in mistral.md (#26879) Fix a typo in mistral.md --- docs/source/en/model_doc/mistral.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/en/model_doc/mistral.md b/docs/source/en/model_doc/mistral.md index d39a566892..5972f72a61 100644 --- a/docs/source/en/model_doc/mistral.md +++ b/docs/source/en/model_doc/mistral.md @@ -76,7 +76,7 @@ python src/transformers/models/mistral/convert_mistral_weights_to_hf.py \ You can then load the converted model from the `output/path`: ```python -from transformers import MistralForCausalLM, LlamaTokenzier +from transformers import MistralForCausalLM, LlamaTokenizer tokenizer = LlamaTokenizer.from_pretrained("/output/path") model = MistralForCausalLM.from_pretrained("/output/path")