Upload folder using huggingface_hub
#1
by
voxmenthe
- opened
This view is limited to 50 files because it contains too many changes.
See the raw diff here.
- ._README.md +0 -0
- ._config.json +0 -0
- ._model-00001-of-00002.safetensors +3 -0
- ._model-00001-of-00003.safetensors +3 -0
- ._model-00001-of-00004.safetensors +3 -0
- ._model-00001-of-00015.safetensors +3 -0
- ._model-00002-of-00002.safetensors +3 -0
- ._model-00002-of-00003.safetensors +3 -0
- ._model-00002-of-00004.safetensors +3 -0
- ._model-00002-of-00015.safetensors +3 -0
- ._model-00003-of-00003.safetensors +3 -0
- ._model-00003-of-00004.safetensors +3 -0
- ._model-00003-of-00015.safetensors +3 -0
- ._model-00004-of-00004.safetensors +3 -0
- ._model-00004-of-00015.safetensors +3 -0
- ._model-00005-of-00015.safetensors +3 -0
- ._model-00006-of-00015.safetensors +3 -0
- ._model-00007-of-00015.safetensors +3 -0
- ._model-00008-of-00015.safetensors +3 -0
- ._model-00009-of-00015.safetensors +3 -0
- ._model-00010-of-00015.safetensors +3 -0
- ._model-00011-of-00015.safetensors +3 -0
- ._model-00012-of-00015.safetensors +3 -0
- ._model-00013-of-00015.safetensors +3 -0
- ._model-00014-of-00015.safetensors +3 -0
- ._model-00015-of-00015.safetensors +3 -0
- ._model.safetensors.index.json +0 -0
- ._special_tokens_map.json +0 -0
- ._tokenizer.json +0 -0
- ._tokenizer.model +3 -0
- ._tokenizer_config.json +0 -0
- ._zero_to_fp32.py +0 -0
- README.md +27 -0
- config.json +32 -0
- model-00001-of-00002.safetensors +3 -0
- model-00001-of-00003.safetensors +3 -0
- model-00001-of-00004.safetensors +3 -0
- model-00001-of-00015.safetensors +3 -0
- model-00002-of-00002.safetensors +3 -0
- model-00002-of-00003.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00002-of-00015.safetensors +3 -0
- model-00003-of-00003.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00003-of-00015.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model-00004-of-00015.safetensors +3 -0
- model-00005-of-00015.safetensors +3 -0
- model-00006-of-00015.safetensors +3 -0
- model-00007-of-00015.safetensors +3 -0
._README.md
ADDED
Binary file (4.1 kB). View file
|
|
._config.json
ADDED
Binary file (4.1 kB). View file
|
|
._model-00001-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e0132362e3f14586558ea35f7deac27a808e1403b9718472218b91f2d24ff00
|
3 |
+
size 4096
|
._model-00001-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e29ea358685c1e26094bf7b0e3fd0fa2e369f17410ca5aca9c7be466d1ca526e
|
3 |
+
size 4096
|
._model-00001-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b02c2dcdc4c6aabfcd0cabb910f86695b914e882561f6c8ac355dccfc018882
|
3 |
+
size 4096
|
._model-00001-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ea6b8fd0dc56c93433a2f5b71438a51624703f796a5f863d55ffd011d664d0ec
|
3 |
+
size 4096
|
._model-00002-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5764471db54bb615689a5e6570ae22453a86097500d8e635ca0b949c985c0c4d
|
3 |
+
size 4096
|
._model-00002-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb2733b7419dca4130b294a823f527390ed2187259392156ba438497fd40154e
|
3 |
+
size 4096
|
._model-00002-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76a1271127d523215ac3375f0115c45473b5fb7fe284f83faa36583fcfdf225a
|
3 |
+
size 4096
|
._model-00002-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c235354f33e244fa3e4cd372bfe93ae374f23bf78ef9cb856a43dfb9d22c1d77
|
3 |
+
size 4096
|
._model-00003-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a182c95d420ca2016bc51b581afc5c1113ebd2543b9bf6fee6932e1965115372
|
3 |
+
size 4096
|
._model-00003-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:132052a34c70aa92fcff8de9e5bde8534a4883567d5be80530abd033a3e8cb30
|
3 |
+
size 4096
|
._model-00003-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:31faaeba3773c44774e0b666e8e20329e21e8567d9dce5580771afd4ffc8d7bc
|
3 |
+
size 4096
|
._model-00004-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a59f30e662b209d0b505295434ef486ad235b705912018efbc7cfcf13997457d
|
3 |
+
size 4096
|
._model-00004-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1bd0236ca79347555fd2be86dbf15e264cacef369c99b0aebac5c79c94223784
|
3 |
+
size 4096
|
._model-00005-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cef1fde03ecd52167a067bdfcda5a27e18ccc2131736111f0fb3caa75e7511a6
|
3 |
+
size 4096
|
._model-00006-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d10fa729290791235ce627a26a9f7312031b5556ad01a28f01462ff308536ea7
|
3 |
+
size 4096
|
._model-00007-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b902b41efa179243f2035166ae65ccd0d7b2285e7a9aaaee4f552cf4ddcdeede
|
3 |
+
size 4096
|
._model-00008-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e492b53cdaa9faa78bf088b161aa7a6084a97d54a8d5b74e5f45f997a368a7df
|
3 |
+
size 4096
|
._model-00009-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f60e901fd1c1d3d566e4723856bb65c048b02e434bc0bdb0c2e4fb066071df45
|
3 |
+
size 4096
|
._model-00010-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:030d3e1a58d932c3f46e4a1808c9dac73702beba6be5d0e349a893290a71053f
|
3 |
+
size 4096
|
._model-00011-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:09b44f0faedb0da5a3e51cabe7d1d9ab28da6e5bc717cf95f23f7f30c1a6816b
|
3 |
+
size 4096
|
._model-00012-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:21781b2466729f1af747641516a3d0ce816f86f4462a3578d96732980e504fb9
|
3 |
+
size 4096
|
._model-00013-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e49126766a6b8280d546b02cb0fa0505d72a2c97579fb9099a8c0edebb52317
|
3 |
+
size 4096
|
._model-00014-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:416246206c87c9eb220f273166793541da0622fdaf1f33196bd3ec72bcad0476
|
3 |
+
size 4096
|
._model-00015-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9a4e76134e10c6b31d4dbfd9326b2d2e3b70d583a06fb95d486a29213888ffc5
|
3 |
+
size 4096
|
._model.safetensors.index.json
ADDED
Binary file (4.1 kB). View file
|
|
._special_tokens_map.json
ADDED
Binary file (4.1 kB). View file
|
|
._tokenizer.json
ADDED
Binary file (4.1 kB). View file
|
|
._tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:95f56195e40a17bfe3fc486caa87cfaa8829255ea10768cabdd7331d1df5aecd
|
3 |
+
size 4096
|
._tokenizer_config.json
ADDED
Binary file (4.1 kB). View file
|
|
._zero_to_fp32.py
ADDED
Binary file (4.1 kB). View file
|
|
README.md
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama2
|
3 |
+
library_name: transformers
|
4 |
+
tags:
|
5 |
+
- mlx
|
6 |
+
datasets:
|
7 |
+
- aqua_rat
|
8 |
+
- microsoft/orca-math-word-problems-200k
|
9 |
+
- m-a-p/CodeFeedback-Filtered-Instruction
|
10 |
+
---
|
11 |
+
|
12 |
+
# voxmenthe/Smaug-Llama-3-70B-Instruct-mlx-8bit
|
13 |
+
|
14 |
+
The Model [voxmenthe/Smaug-Llama-3-70B-Instruct-mlx-8bit](https://huggingface.co/voxmenthe/Smaug-Llama-3-70B-Instruct-mlx-8bit) was converted to MLX format from [abacusai/Smaug-Llama-3-70B-Instruct](https://huggingface.co/abacusai/Smaug-Llama-3-70B-Instruct) using mlx-lm version **0.13.1**.
|
15 |
+
|
16 |
+
## Use with mlx
|
17 |
+
|
18 |
+
```bash
|
19 |
+
pip install mlx-lm
|
20 |
+
```
|
21 |
+
|
22 |
+
```python
|
23 |
+
from mlx_lm import load, generate
|
24 |
+
|
25 |
+
model, tokenizer = load("voxmenthe/Smaug-Llama-3-70B-Instruct-mlx-8bit")
|
26 |
+
response = generate(model, tokenizer, prompt="hello", verbose=True)
|
27 |
+
```
|
config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LlamaForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_bias": false,
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 128000,
|
8 |
+
"eos_token_id": 128001,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 8192,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 28672,
|
13 |
+
"max_position_embeddings": 8192,
|
14 |
+
"model_type": "llama",
|
15 |
+
"num_attention_heads": 64,
|
16 |
+
"num_hidden_layers": 80,
|
17 |
+
"num_key_value_heads": 8,
|
18 |
+
"pretraining_tp": 1,
|
19 |
+
"quantization": {
|
20 |
+
"group_size": 64,
|
21 |
+
"bits": 8
|
22 |
+
},
|
23 |
+
"rms_norm_eps": 1e-05,
|
24 |
+
"rope_scaling": null,
|
25 |
+
"rope_theta": 500000.0,
|
26 |
+
"tie_word_embeddings": false,
|
27 |
+
"torch_dtype": "bfloat16",
|
28 |
+
"transformers_version": "4.40.0",
|
29 |
+
"use_cache": true,
|
30 |
+
"use_flash_attention_2": true,
|
31 |
+
"vocab_size": 128256
|
32 |
+
}
|
model-00001-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d583c3b04c1cfbd8d2506d4761cb43a3c5b0ffd0de2e46a4bf70cf69fef0dc8
|
3 |
+
size 5356281224
|
model-00001-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f86f29756f06e9c2daeabf0a1f78892b73a59dcee13eb74dd92f1abc906a1db
|
3 |
+
size 5261946639
|
model-00001-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c18b25ca46cbdc85bc67f8e88d61887c216fc60f0f0de0b6e1c9fee008333503
|
3 |
+
size 5295466340
|
model-00001-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b58cd46bb36e3ab012990fc26017a81f086850003d5947db01656ff51a85995e
|
3 |
+
size 5162938579
|
model-00002-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d4b15818b8c4d7c908002c84a5fca5460f5414f316355e7e12e929a1953b2e5
|
3 |
+
size 2285900441
|
model-00002-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ff02654a6a086abd66e86dffef45942c9730dc36d59b303e78deb0a2ae781e68
|
3 |
+
size 5352141115
|
model-00002-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1e113d2991d0b2810cf000fce2ebbdd59b5f1b4c377e2c4f46b284f4117f49ba
|
3 |
+
size 5352157721
|
model-00002-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1e140d712353d47c763d847c4b64c1701ddb109437ff9db3d3ffbf6680b6c25a
|
3 |
+
size 5205343236
|
model-00003-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d5a819a8232b5c3ad56c0181cb196b21264987104cc6baa2c93489759e7b2943
|
3 |
+
size 3869409953
|
model-00003-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6afcfc1f720ba13b0b6b15ea97d49ca7c8cac205f8e952f7e88bf27bea265c59
|
3 |
+
size 4362258684
|
model-00003-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:29acc2a042c162b5b510c18646c9a78f7af2aa16bba87deb5d75292d896523ab
|
3 |
+
size 5365774815
|
model-00004-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:41d8c9e29df3e3f8cd42217b486de53311741477a5e51de3b264ba4d64a9f4c3
|
3 |
+
size 1050673278
|
model-00004-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e4569fa3791ae16aa0730ab354c308fd06b205c83a55334a058af36e911b187d
|
3 |
+
size 5134006863
|
model-00005-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:027af281b23db7a89e28d46fe3bc33c2689f0d6f49575f3ea1ad5f9c90f7bbdd
|
3 |
+
size 5205343384
|
model-00006-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eac465b4f5bdf9952e1afeeef6a11b9247d8e6042b5d28fe8f6b0c584cf0444e
|
3 |
+
size 5205343355
|
model-00007-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76ca7fae776d24a6aa4f93cc41901d7c81915b171d262a5dc07f14327435074c
|
3 |
+
size 5365774825
|