We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 828b1b9 commit dff996cCopy full SHA for dff996c
comfy/text_encoders/flux.py
@@ -87,6 +87,7 @@ def load_mistral_tokenizer(data):
87
vocab = {}
88
89
max_vocab = mistral_vocab["config"]["default_vocab_size"]
90
+ max_vocab -= len(mistral_vocab["special_tokens"])
91
92
for w in mistral_vocab["vocab"]:
93
r = w["rank"]
0 commit comments