Skip to content

Commit

Permalink
Merge pull request #42 from mistralai/patrickvonplaten-patch-1
Browse files Browse the repository at this point in the history
Update from_model with new mistral-large
  • Loading branch information
patrickvonplaten authored Aug 15, 2024
2 parents 0748675 + 524a08d commit 9313953
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/mistral_common/tokens/tokenizers/mistral.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ def from_model(cls, model: str) -> "MistralTokenizer":
"open-mistral-7b": MistralTokenizer.v1,
"open-mixtral-8x7b": MistralTokenizer.v1,
"mistral-embed": MistralTokenizer.v1,
"mistral-small": MistralTokenizer.v2,
"mistral-large": MistralTokenizer.v2,
"mistral-small-v1": MistralTokenizer.v2,
"mistral-large-v1": MistralTokenizer.v2,
"mistral-small": MistralTokenizer.v3,
"mistral-large": MistralTokenizer.v3,
"open-mixtral-8x22b": MistralTokenizer.v3,
"codestral-22b": MistralTokenizer.v3,
"mistral-nemo": lambda: MistralTokenizer.v3(is_tekken=True),
Expand Down

0 comments on commit 9313953

Please sign in to comment.