Skip to content

Commit e12b3ad

Browse files
author
Mug
committed
Fixed instruction stripping
1 parent 9cde797 commit e12b3ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/low_level_api_chatllama_cpp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __init__(self,
7575

7676
# add instruction as antiprompt
7777
if (self.instruct):
78-
self.first_antiprompt.append(self._tokenize(self.inp_prefix.strip()))
78+
self.first_antiprompt.append(self._tokenize(instruct_inp_prefix.strip()))
7979

8080
# primer feed
8181
if (len(primer) > 0):

0 commit comments

Comments
 (0)