Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
victorsungo authored Apr 15, 2024
1 parent 220aae8 commit 4853598
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ client = OpenAI(
base_url=API_URL,
api_key="EMPTY",
)
system_prompt = "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. "
stop_tokens = []
completion = client.chat.completions.create(
model=model_path,
Expand All @@ -46,6 +46,7 @@ completion = client.chat.completions.create(
max_tokens=4096,
stop=stop_tokens,
messages=[
{'role': 'system', 'content': system_prompt},
{"role": "user", "content": "Hello! What is your name?"},
{"role": "assistant", "content": "I am WizardLM2!"},
{"role": "user", "content": "Nice to meet you!"},
Expand Down

0 comments on commit 4853598

Please sign in to comment.