Commit
•
b549f37
1
Parent(s):
dc2a81e
Update README.md
Browse files
README.md
CHANGED
@@ -110,6 +110,24 @@ The model will output something like:
|
|
110 |
>>>Response 2: 🤖 A capital do Brasil é Brasília.
|
111 |
```
|
112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
## Limitations
|
114 |
|
115 |
Like almost all other language models trained on large text datasets scraped from the web, the TTL pair exhibited behavior that does not make them an out-of-the-box solution to many real-world applications, especially those requiring factual, reliable, nontoxic text generation. Our models are all subject to the following:
|
|
|
110 |
>>>Response 2: 🤖 A capital do Brasil é Brasília.
|
111 |
```
|
112 |
|
113 |
+
The chat template for this model is:
|
114 |
+
|
115 |
+
```bash
|
116 |
+
{{bos_token}}
|
117 |
+
{% for message in messages %}
|
118 |
+
{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}
|
119 |
+
{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}
|
120 |
+
{% endif %}
|
121 |
+
{% if message['role'] == 'user' %}
|
122 |
+
{{ '<instruction>' + message['content'].strip() + '</instruction>'}}
|
123 |
+
{% elif message['role'] == 'assistant' %}
|
124 |
+
{{ message['content'].strip() + eos_token}}
|
125 |
+
{% else %}
|
126 |
+
{{ raise_exception('Only user and assistant roles are supported!') }}
|
127 |
+
{% endif %}
|
128 |
+
{% endfor %}
|
129 |
+
```
|
130 |
+
|
131 |
## Limitations
|
132 |
|
133 |
Like almost all other language models trained on large text datasets scraped from the web, the TTL pair exhibited behavior that does not make them an out-of-the-box solution to many real-world applications, especially those requiring factual, reliable, nontoxic text generation. Our models are all subject to the following:
|