Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e12b3ad

Browse filesBrowse files
author
Mug
committed
Fixed instruction stripping
1 parent 9cde797 commit e12b3ad
Copy full SHA for e12b3ad

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎examples/low_level_api_chatllama_cpp.py

Copy file name to clipboardExpand all lines: examples/low_level_api_chatllama_cpp.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.