Skip to content

Commit

Permalink
Update outlines/integrations/llamacpp.py
Browse files Browse the repository at this point in the history
Fix Comment formatting

Co-authored-by: Rémi Louf <remilouf@protonmail.com>
  • Loading branch information
lapp0 and rlouf committed May 17, 2024
1 parent 496e0a6 commit 93b529c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outlines/integrations/llamacpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(self, model: "Llama"):

self.decode = tokenizer.decode

# ### TODO: Remove when https://github.com/ggerganov/llama.cpp/pull/5613 is resolved
# TODO: Remove when https://github.com/ggerganov/llama.cpp/pull/5613 is resolved
try:
self.vocabulary = model.tokenizer_.hf_tokenizer.get_vocab()
except AttributeError:
Expand Down

0 comments on commit 93b529c

Please sign in to comment.