Skip to content

Commit

Permalink
chore(tokeniser): set legacy to False
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw committed Sep 25, 2024
1 parent 57f77fc commit b1dbbb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/examplify/features/chat/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def get_chat_model() -> ChatModel:
model (Chat) : the language model
"""
model_path = huggingface_download('winstxnhdw/openchat-3.6-ct2-int8')
tokeniser = LlamaTokenizerFast.from_pretrained(model_path, local_files_only=True)
tokeniser = LlamaTokenizerFast.from_pretrained(model_path, local_files_only=True, legacy=False)
generator = Generator(
model_path,
'cuda' if Config.use_cuda else 'cpu',
Expand Down

0 comments on commit b1dbbb0

Please sign in to comment.