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 29fac8d

Browse filesBrowse files
authored
Update simple_local_chat.py
1 parent 301340e commit 29fac8d
Copy full SHA for 29fac8d

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-2
lines changed

‎examples/high_level_api/simple_local_chat.py

Copy file name to clipboardExpand all lines: examples/high_level_api/simple_local_chat.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
import argparse
33

44
parser = argparse.ArgumentParser()
5-
parser.add_argument("-m", "--model", "--interactive", type=str, default="<your path to your ggml-model.bin>")
5+
parser.add_argument("-m", "--model", type=str, default="<your path to your ggml-model.bin>")
66
args = parser.parse_args()
77

88
llm = Llama(model_path=args.model)
99

1010
# Create a list of messages
1111
messages = [
1212
ChatCompletionMessage(role='system', content='start chat'),
13-
ChatCompletionMessage(role='user', content='Hello)
13+
ChatCompletionMessage(role='user', content='Hello')
1414
]
1515

1616
while True:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.