Update README.md
Browse files
README.md
CHANGED
|
@@ -5,17 +5,7 @@ model_creator: astronomer-io
|
|
| 5 |
model_name: Meta-Llama-3-8B-Instruct
|
| 6 |
model_type: llama
|
| 7 |
pipeline_tag: text-generation
|
| 8 |
-
prompt_template:
|
| 9 |
-
{% set loop_messages = messages %}{% for message in loop_messages %}{% set
|
| 10 |
-
content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set
|
| 14 |
-
content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if
|
| 15 |
-
add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
' }}{% endif %}
|
| 19 |
quantized_by: davidxmle
|
| 20 |
license: other
|
| 21 |
license_name: llama-3-community-license
|
|
|
|
| 5 |
model_name: Meta-Llama-3-8B-Instruct
|
| 6 |
model_type: llama
|
| 7 |
pipeline_tag: text-generation
|
| 8 |
+
prompt_template: "{% 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 %}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
quantized_by: davidxmle
|
| 10 |
license: other
|
| 11 |
license_name: llama-3-community-license
|