Add files using upload-large-folder tool
Browse files- README.md +4 -3
- chat_template.jinja +25 -0
- model-00001-of-00005.safetensors +2 -2
- model-00002-of-00005.safetensors +2 -2
- model-00003-of-00005.safetensors +2 -2
- model-00004-of-00005.safetensors +2 -2
- model-00005-of-00005.safetensors +2 -2
- model.safetensors.index.json +2 -1
- tokenizer_config.json +0 -1
README.md
CHANGED
|
@@ -1,16 +1,17 @@
|
|
| 1 |
---
|
| 2 |
base_model: arcee-ai/Arcee-Blitz
|
| 3 |
-
library_name:
|
| 4 |
license: apache-2.0
|
| 5 |
tags:
|
| 6 |
- mlx
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
# mlx-community/Arcee-Blitz-8bit
|
| 10 |
|
| 11 |
-
|
| 12 |
converted to MLX format from [arcee-ai/Arcee-Blitz](https://huggingface.co/arcee-ai/Arcee-Blitz)
|
| 13 |
-
using mlx-lm version **0.
|
| 14 |
|
| 15 |
## Use with mlx
|
| 16 |
|
|
|
|
| 1 |
---
|
| 2 |
base_model: arcee-ai/Arcee-Blitz
|
| 3 |
+
library_name: mlx
|
| 4 |
license: apache-2.0
|
| 5 |
tags:
|
| 6 |
- mlx
|
| 7 |
+
pipeline_tag: text-generation
|
| 8 |
---
|
| 9 |
|
| 10 |
# mlx-community/Arcee-Blitz-8bit
|
| 11 |
|
| 12 |
+
This model [mlx-community/Arcee-Blitz-8bit](https://huggingface.co/mlx-community/Arcee-Blitz-8bit) was
|
| 13 |
converted to MLX format from [arcee-ai/Arcee-Blitz](https://huggingface.co/arcee-ai/Arcee-Blitz)
|
| 14 |
+
using mlx-lm version **0.25.0**.
|
| 15 |
|
| 16 |
## Use with mlx
|
| 17 |
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set today = strftime_now("%Y-%m-%d") %}
|
| 2 |
+
{%- set default_system_message = "You are Arcee Blitz, a Large Language Model (LLM) created by Arcee AI.\nYour knowledge base was last updated on 2024-10-01. The current date is " + today + ".\n\nWhen you're not sure about some information, you say that you don't have the information and don't make up anything.\nIf the user's question is not clear, ambiguous, or does not provide enough context for you to accurately answer the question, you do not try to answer it right away and you rather ask the user to clarify their request (e.g. \"What are some good restaurants around me?\" => \"Where are you?\" or \"When is the next flight to Tokyo\" => \"Where do you travel from?\")" %}
|
| 3 |
+
|
| 4 |
+
{{- bos_token }}
|
| 5 |
+
|
| 6 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 7 |
+
{%- set system_message = messages[0]['content'] %}
|
| 8 |
+
{%- set loop_messages = messages[1:] %}
|
| 9 |
+
{%- else %}
|
| 10 |
+
{%- set system_message = default_system_message %}
|
| 11 |
+
{%- set loop_messages = messages %}
|
| 12 |
+
{%- endif %}
|
| 13 |
+
{{- '[SYSTEM_PROMPT]' + system_message + '[/SYSTEM_PROMPT]' }}
|
| 14 |
+
|
| 15 |
+
{%- for message in loop_messages %}
|
| 16 |
+
{%- if message['role'] == 'user' %}
|
| 17 |
+
{{- '[INST]' + message['content'] + '[/INST]' }}
|
| 18 |
+
{%- elif message['role'] == 'system' %}
|
| 19 |
+
{{- '[SYSTEM_PROMPT]' + message['content'] + '[/SYSTEM_PROMPT]' }}
|
| 20 |
+
{%- elif message['role'] == 'assistant' %}
|
| 21 |
+
{{- message['content'] + eos_token }}
|
| 22 |
+
{%- else %}
|
| 23 |
+
{{- raise_exception('Only user, system and assistant roles are supported!') }}
|
| 24 |
+
{%- endif %}
|
| 25 |
+
{%- endfor %}
|
model-00001-of-00005.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef834c1dc6a67b0c72184e54a13a6f4501fec440da528ba42f95eb3906c7f29e
|
| 3 |
+
size 5258772714
|
model-00002-of-00005.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c58ada1f8a5c5c91f4242e60750da97e3f09ac30d84a1813e345a816cbd2587d
|
| 3 |
+
size 5314522330
|
model-00003-of-00005.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4119ab9e185ca836f9f53e9e50608e4d1eaab6d66fc4fed95a6d630ad870b188
|
| 3 |
+
size 5314522369
|
model-00004-of-00005.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c185111e4af0e1c7efeaf153913e7fbd48a97e18516d4bce982375d570139444
|
| 3 |
+
size 5314522317
|
model-00005-of-00005.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a72337c4d3d08139d0c7585257b2ecd5e3d007b23d481a722572f898aa137f0
|
| 3 |
+
size 3843833652
|
model.safetensors.index.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"metadata": {
|
| 3 |
-
"total_size": 25046067200
|
|
|
|
| 4 |
},
|
| 5 |
"weight_map": {
|
| 6 |
"lm_head.biases": "model-00005-of-00005.safetensors",
|
|
|
|
| 1 |
{
|
| 2 |
"metadata": {
|
| 3 |
+
"total_size": 25046067200,
|
| 4 |
+
"total_parameters": 23572403200
|
| 5 |
},
|
| 6 |
"weight_map": {
|
| 7 |
"lm_head.biases": "model-00005-of-00005.safetensors",
|
tokenizer_config.json
CHANGED
|
@@ -9007,7 +9007,6 @@
|
|
| 9007 |
"<SPECIAL_999>"
|
| 9008 |
],
|
| 9009 |
"bos_token": "<s>",
|
| 9010 |
-
"chat_template": "{%- set today = strftime_now(\"%Y-%m-%d\") %}\n{%- set default_system_message = \"You are Virtouso Medium 3, a Large Language Model (LLM) created by Arcee AI.\\nYour knowledge base was last updated on 2023-10-01. The current date is \" + today + \".\\n\\nWhen you're not sure about some information, you say that you don't have the information and don't make up anything.\\nIf the user's question is not clear, ambiguous, or does not provide enough context for you to accurately answer the question, you do not try to answer it right away and you rather ask the user to clarify their request (e.g. \\\"What are some good restaurants around me?\\\" => \\\"Where are you?\\\" or \\\"When is the next flight to Tokyo\\\" => \\\"Where do you travel from?\\\")\" %}\n\n{{- bos_token }}\n\n{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content'] %}\n {%- set loop_messages = messages[1:] %}\n{%- else %}\n {%- set system_message = default_system_message %}\n {%- set loop_messages = messages %}\n{%- endif %}\n{{- '[SYSTEM_PROMPT]' + system_message + '[/SYSTEM_PROMPT]' }}\n\n{%- for message in loop_messages %}\n {%- if message['role'] == 'user' %}\n {{- '[INST]' + message['content'] + '[/INST]' }}\n {%- elif message['role'] == 'system' %}\n {{- '[SYSTEM_PROMPT]' + message['content'] + '[/SYSTEM_PROMPT]' }}\n {%- elif message['role'] == 'assistant' %}\n {{- message['content'] + eos_token }}\n {%- else %}\n {{- raise_exception('Only user, system and assistant roles are supported!') }}\n {%- endif %}\n{%- endfor %}",
|
| 9011 |
"clean_up_tokenization_spaces": false,
|
| 9012 |
"eos_token": "</s>",
|
| 9013 |
"extra_special_tokens": {},
|
|
|
|
| 9007 |
"<SPECIAL_999>"
|
| 9008 |
],
|
| 9009 |
"bos_token": "<s>",
|
|
|
|
| 9010 |
"clean_up_tokenization_spaces": false,
|
| 9011 |
"eos_token": "</s>",
|
| 9012 |
"extra_special_tokens": {},
|