Fix another emoji bug

This commit is contained in:
Samuel Sloniker 2022-07-21 11:49:35 -07:00
parent 7250787228
commit 3634a10aeb

View File

@ -77,6 +77,6 @@ def compile(
model["__names__"] = names
model["__ngrams__"] = max_ngram_length
model["__version__"] = 3
model["__emoji__"] = int(tokenizer.has_emoji)
model["__emoji__"] = int(gptc.tokenizer.has_emoji)
return model