Update README.md
Browse files
README.md
CHANGED
@@ -46,7 +46,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_name)
|
|
46 |
messages = [
|
47 |
{"role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required -"
|
48 |
+ json.dumps(input_example["tools"], ensure_ascii=False)},
|
49 |
-
{"role": "user", "content": input_example["
|
50 |
]
|
51 |
text = tokenizer.apply_chat_template(
|
52 |
messages,
|
|
|
46 |
messages = [
|
47 |
{"role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required -"
|
48 |
+ json.dumps(input_example["tools"], ensure_ascii=False)},
|
49 |
+
{"role": "user", "content": input_example["query"]}
|
50 |
]
|
51 |
text = tokenizer.apply_chat_template(
|
52 |
messages,
|