Skip to content

Commit

Permalink
Fixed instruction stripping
Browse files Browse the repository at this point in the history
  • Loading branch information
Mug committed Apr 4, 2023
1 parent 9cde797 commit e12b3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/low_level_api_chatllama_cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(self,

# add instruction as antiprompt
if (self.instruct):
self.first_antiprompt.append(self._tokenize(self.inp_prefix.strip()))
self.first_antiprompt.append(self._tokenize(instruct_inp_prefix.strip()))

# primer feed
if (len(primer) > 0):
Expand Down

0 comments on commit e12b3ad

Please sign in to comment.