Skip to content

Commit

Permalink
Fix load correct tokenizer in Mixtral model documentation (#28437)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanFKurucz authored Jan 10, 2024
1 parent cef2e40 commit 3724156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/en/model_doc/mixtral.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ These ready-to-use checkpoints can be downloaded and used via the HuggingFace Hu
>>> device = "cuda" # the device to load the model onto

>>> model = AutoModelForCausalLM.from_pretrained("mistralai/Mixtral-8x7B-v0.1")
>>> tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-8x7B")
>>> tokenizer = AutoTokenizer.from_pretrained("mistralai/Mixtral-8x7B-v0.1")

>>> prompt = "My favourite condiment is"

Expand Down

0 comments on commit 3724156

Please sign in to comment.