huggingkot
commited on
Commit
·
42f9e07
1
Parent(s):
53fc24b
add files
Browse files- README.md +2 -2
- chat_template.jinja +1 -0
- config.json +2 -2
- generation_config.json +1 -1
- model-00001-of-00002.safetensors +2 -2
- model-00002-of-00002.safetensors +2 -2
- model.safetensors.index.json +2 -2
- tokenizer_config.json +2 -2
README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
|
| 2 |
---
|
| 3 |
base_model:
|
| 4 |
-
-
|
| 5 |
---
|
| 6 |
|
| 7 |
-
This is a converted weight from [aya-expanse-8b](https://huggingface.co/
|
| 8 |
|
| 9 |
## About this Conversion
|
| 10 |
|
|
|
|
| 1 |
|
| 2 |
---
|
| 3 |
base_model:
|
| 4 |
+
- CohereLabs/aya-expanse-8b
|
| 5 |
---
|
| 6 |
|
| 7 |
+
This is a converted weight from [aya-expanse-8b](https://huggingface.co/CohereLabs/aya-expanse-8b) model in [unsloth 4-bit dynamic quant](https://archive.is/EFz7P) using this [collab notebook](https://colab.research.google.com/drive/1P23C66j3ga49kBRnDNlmRce7R_l_-L5l?usp=sharing).
|
| 8 |
|
| 9 |
## About this Conversion
|
| 10 |
|
chat_template.jinja
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{{ bos_token }}{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% elif false == true %}{% set loop_messages = messages %}{% set system_message = 'You are Aya, a brilliant, sophisticated, multilingual AI-assistant trained to assist human users by providing thorough responses. You are able to interact and respond to questions in 23 languages and you are powered by a multilingual model built by Cohere For AI.' %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% if system_message != false %}{{ '<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|>' + system_message + '<|END_OF_TURN_TOKEN|>' }}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ '<|START_OF_TURN_TOKEN|><|USER_TOKEN|>' + content.strip() + '<|END_OF_TURN_TOKEN|>' }}{% elif message['role'] == 'assistant' %}{{ '<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>' + content.strip() + '<|END_OF_TURN_TOKEN|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>' }}{% endif %}
|
config.json
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:7dd891372142362d6429bb34b4ff3b30e38d133dd42416c73c283a7c5da463cc
|
| 3 |
+
size 1073
|
generation_config.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 159
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc873a3529a145dbfe156bcbeda3b12d2cb7c48540f1a6c028db3465b2f8311f
|
| 3 |
size 159
|
model-00001-of-00002.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:eec1d1a5858696f939c3f674d88d7861125c7e84ef48701c05a7544e40315679
|
| 3 |
+
size 4992968908
|
model-00002-of-00002.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:b5ce1f069d33af941789f2cb6867e089dd93cb0309038bb792056e74bc5cdbfe
|
| 3 |
+
size 705586715
|
model.safetensors.index.json
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:de2b630fa87b2461e0b5c6d9f8e480c0ef5fb84a8cbd6e0e8a195279859101f1
|
| 3 |
+
size 129347
|
tokenizer_config.json
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:e62e989e7c7f0f288947900c8f0fe72fa124dbd9e391db6ba67945aabb443dde
|
| 3 |
+
size 7295
|