diff --git a/gptc/compiler.py b/gptc/compiler.py index 185ab55..a929985 100755 --- a/gptc/compiler.py +++ b/gptc/compiler.py @@ -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