Upload folder using huggingface_hub
#3
by
schroneko
- opened
- README.md +18 -8
- config.json +4 -0
- model-00001-of-00010.safetensors +2 -2
- model-00002-of-00010.safetensors +2 -2
- model-00003-of-00010.safetensors +2 -2
- model-00004-of-00010.safetensors +2 -2
- model-00005-of-00010.safetensors +2 -2
- model-00006-of-00010.safetensors +2 -2
- model-00007-of-00010.safetensors +2 -2
- model-00008-of-00010.safetensors +2 -2
- model-00009-of-00010.safetensors +2 -2
- model-00010-of-00010.safetensors +2 -2
- model.safetensors.index.json +0 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
README.md
CHANGED
@@ -1,17 +1,17 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
2 |
language:
|
3 |
- en
|
4 |
- ja
|
5 |
-
license: apache-2.0
|
6 |
library_name: transformers
|
|
|
7 |
tags:
|
8 |
- mixtral
|
9 |
- steerlm
|
10 |
- mlx
|
11 |
-
base_model: tokyotech-llm/Swallow-MX-8x7b-NVE-v0.1
|
12 |
-
datasets:
|
13 |
-
- OpenAssistant/oasst2
|
14 |
-
- nvidia/HelpSteer
|
15 |
model-index:
|
16 |
- name: karakuri-ai/karakuri-lm-8x7b-chat-v0.1
|
17 |
results:
|
@@ -33,8 +33,9 @@ model-index:
|
|
33 |
---
|
34 |
|
35 |
# mlx-community/karakuri-lm-8x7b-chat-v0.1-8bit
|
36 |
-
|
37 |
-
|
|
|
38 |
## Use with mlx
|
39 |
|
40 |
```bash
|
@@ -45,5 +46,14 @@ pip install mlx-lm
|
|
45 |
from mlx_lm import load, generate
|
46 |
|
47 |
model, tokenizer = load("mlx-community/karakuri-lm-8x7b-chat-v0.1-8bit")
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
```
|
|
|
1 |
---
|
2 |
+
base_model: karakuri-ai/karakuri-lm-8x7b-chat-v0.1
|
3 |
+
datasets:
|
4 |
+
- OpenAssistant/oasst2
|
5 |
+
- nvidia/HelpSteer
|
6 |
language:
|
7 |
- en
|
8 |
- ja
|
|
|
9 |
library_name: transformers
|
10 |
+
license: apache-2.0
|
11 |
tags:
|
12 |
- mixtral
|
13 |
- steerlm
|
14 |
- mlx
|
|
|
|
|
|
|
|
|
15 |
model-index:
|
16 |
- name: karakuri-ai/karakuri-lm-8x7b-chat-v0.1
|
17 |
results:
|
|
|
33 |
---
|
34 |
|
35 |
# mlx-community/karakuri-lm-8x7b-chat-v0.1-8bit
|
36 |
+
|
37 |
+
The Model [mlx-community/karakuri-lm-8x7b-chat-v0.1-8bit](https://huggingface.co/mlx-community/karakuri-lm-8x7b-chat-v0.1-8bit) was converted to MLX format from [karakuri-ai/karakuri-lm-8x7b-chat-v0.1](https://huggingface.co/karakuri-ai/karakuri-lm-8x7b-chat-v0.1) using mlx-lm version **0.19.0**.
|
38 |
+
|
39 |
## Use with mlx
|
40 |
|
41 |
```bash
|
|
|
46 |
from mlx_lm import load, generate
|
47 |
|
48 |
model, tokenizer = load("mlx-community/karakuri-lm-8x7b-chat-v0.1-8bit")
|
49 |
+
|
50 |
+
prompt="hello"
|
51 |
+
|
52 |
+
if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
|
53 |
+
messages = [{"role": "user", "content": prompt}]
|
54 |
+
prompt = tokenizer.apply_chat_template(
|
55 |
+
messages, tokenize=False, add_generation_prompt=True
|
56 |
+
)
|
57 |
+
|
58 |
+
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
59 |
```
|
config.json
CHANGED
@@ -21,6 +21,10 @@
|
|
21 |
"group_size": 64,
|
22 |
"bits": 8
|
23 |
},
|
|
|
|
|
|
|
|
|
24 |
"rms_norm_eps": 1e-05,
|
25 |
"rope_theta": 1000000.0,
|
26 |
"router_aux_loss_coef": 0.02,
|
|
|
21 |
"group_size": 64,
|
22 |
"bits": 8
|
23 |
},
|
24 |
+
"quantization_config": {
|
25 |
+
"group_size": 64,
|
26 |
+
"bits": 8
|
27 |
+
},
|
28 |
"rms_norm_eps": 1e-05,
|
29 |
"rope_theta": 1000000.0,
|
30 |
"router_aux_loss_coef": 0.02,
|
model-00001-of-00010.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:a0f98fd8d2bcfae729eca81ca64efeabd99d27020746d6895a83df930d446146
|
3 |
+
size 5308944058
|
model-00002-of-00010.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:a9a22b37d94772743b43b4a2ae676c9c5b9110b50c900b02549040b2d6459873
|
3 |
+
size 5125078798
|
model-00003-of-00010.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:72adb2b73e7f26543110ddec749ae251f7a27933d5cb2ca62f728ae9230a761e
|
3 |
+
size 5169696419
|
model-00004-of-00010.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:01f2a2a5baa9868a104f9810d9ef32f83696741d70d0704a4d78c8f03faf5e5d
|
3 |
+
size 5125078885
|
model-00005-of-00010.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:f6bd5d186951409e027fea8985b1e26025cb0667e28c46fe78ae721e78f4b6fd
|
3 |
+
size 5125078871
|
model-00006-of-00010.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:b86866cc96a3072787e8ee6a61cbd1e52d622268d2b4aa5fe73e0dc6c83de583
|
3 |
+
size 5169696452
|
model-00007-of-00010.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:a594eaffbeb67460355ab5249fcae724b0f610c679774f4d51f538947f90743e
|
3 |
+
size 5125078889
|
model-00008-of-00010.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:3dba4331e0c696aed7dd3d2c2eab228ce3e2e29329a7a3e5431f4f45f6af6f0a
|
3 |
+
size 5125078895
|
model-00009-of-00010.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:f866b9a6e4f644348320d05b1cf29d8f8395c92b20f202177344249906a1331b
|
3 |
+
size 5169696468
|
model-00010-of-00010.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:d544b61fe6668bb53dcd51e98ea8c74baa605dce65d6cc75cdad34496089e8b3
|
3 |
+
size 3178642378
|
model.safetensors.index.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
{
|
2 |
"add_bos_token": true,
|
3 |
"add_eos_token": false,
|
|
|
4 |
"added_tokens_decoder": {
|
5 |
"0": {
|
6 |
"content": "<unk>",
|
|
|
1 |
{
|
2 |
"add_bos_token": true,
|
3 |
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
"added_tokens_decoder": {
|
6 |
"0": {
|
7 |
"content": "<unk>",
|