RonanMcGovern
commited on
Commit
•
7014281
1
Parent(s):
1caedbf
update prompt format
Browse files
README.md
CHANGED
@@ -36,7 +36,7 @@ Complete inference scripts are available for purchase [here](https://trelis.com/
|
|
36 |
|
37 |
## Prompt Format
|
38 |
### Using tokenizer.apply_chat_template
|
39 |
-
For an easier application of the prompt, you can set up as follows:
|
40 |
|
41 |
Set up `messages`:
|
42 |
```
|
@@ -128,7 +128,6 @@ huggingface-cli login
|
|
128 |
```
|
129 |
<|begin_of_text|><|start_header_id|>function_metadata<|end_header_id|>
|
130 |
|
131 |
-
You have access to the following functions. Use them if required:
|
132 |
[
|
133 |
{
|
134 |
"type": "function",
|
|
|
36 |
|
37 |
## Prompt Format
|
38 |
### Using tokenizer.apply_chat_template
|
39 |
+
For an easier application of the prompt, you can set up as follows (note that the conversation below is complete, i.e. you need to remove assistant messages if you want to feed in the conversation to the model):
|
40 |
|
41 |
Set up `messages`:
|
42 |
```
|
|
|
128 |
```
|
129 |
<|begin_of_text|><|start_header_id|>function_metadata<|end_header_id|>
|
130 |
|
|
|
131 |
[
|
132 |
{
|
133 |
"type": "function",
|