reciprocate commited on
Commit
87b15b2
1 Parent(s): 37978d4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -2
README.md CHANGED
@@ -85,9 +85,13 @@ You are a helpful assistant with access to the following functions. You must use
85
  }
86
  ]
87
  """
88
- messages = [{'role': 'system', 'content': system_prompt_func}, "user": "Help me to generate a picture of Eiffel Tower in the night!"]
 
 
 
 
89
  inputs = tokenizer.apply_chat_template(
90
- prompt,
91
  add_generation_prompt=True,
92
  return_tensors='pt'
93
  )
 
85
  }
86
  ]
87
  """
88
+ messages = [
89
+ {'role': 'system', 'content': system_prompt},
90
+ {'role': "user", 'content': "Help me to generate a picture of Eiffel Tower in the night!"}
91
+ ]
92
+
93
  inputs = tokenizer.apply_chat_template(
94
+ messages,
95
  add_generation_prompt=True,
96
  return_tensors='pt'
97
  )