Skip to content

Commit

Permalink
Update src/mistral_common/tokens/tokenizers/mistral.py
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickvonplaten authored Jul 18, 2024
1 parent c726553 commit 49582b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mistral_common/tokens/tokenizers/mistral.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def from_model(cls, model: str) -> "MistralTokenizer":
"mistral-large": MistralTokenizer.v2,
"open-mixtral-8x22b": MistralTokenizer.v3,
"codestral-22b": MistralTokenizer.v3,
"nemostral": lambda: MistralTokenizer.v3(is_tekken=True),
"mistral-nemo": lambda: MistralTokenizer.v3(is_tekken=True),
}

# Prefix search the model name mapping
Expand Down

0 comments on commit 49582b3

Please sign in to comment.