Update README.md
Browse files
README.md
CHANGED
@@ -17,6 +17,14 @@ Soliloquy-L3 is a fast, highly capable roleplaying model designed for immersive,
|
|
17 |
| --- | --- | --- | --- |
|
18 |
| 24k(24576) | 8B | Llama 3 Chat | Partly |
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
## License
|
21 |
|
22 |
This model is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license.
|
|
|
17 |
| --- | --- | --- | --- |
|
18 |
| 24k(24576) | 8B | Llama 3 Chat | Partly |
|
19 |
|
20 |
+
## Prompt Template
|
21 |
+
|
22 |
+
Use can you following jinja2 template. Which is identical to chat_template in [tokenizer_config](./tokenizer_config.json).
|
23 |
+
|
24 |
+
```
|
25 |
+
{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}
|
26 |
+
```
|
27 |
+
|
28 |
## License
|
29 |
|
30 |
This model is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license.
|