Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
46092f76
Unverified
Commit
46092f76
authored
Oct 17, 2023
by
Bingchen Zhao
Committed by
GitHub
Oct 17, 2023
Browse files
Fixed a typo in mistral.md (#26879)
Fix a typo in mistral.md
parent
51042ae8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/source/en/model_doc/mistral.md
docs/source/en/model_doc/mistral.md
+1
-1
No files found.
docs/source/en/model_doc/mistral.md
View file @
46092f76
...
...
@@ -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
,
LlamaToken
z
ier
from
transformers
import
MistralForCausalLM
,
LlamaTokeni
z
er
tokenizer
=
LlamaTokenizer
.
from_pretrained
(
"/output/path"
)
model
=
MistralForCausalLM
.
from_pretrained
(
"/output/path"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment