bobtk commited on
Commit
41210dc
·
verified ·
1 Parent(s): b1a4180

Upload folder using huggingface_hub (#1)

Browse files

- 3f85f1c0e66929222a47ee999ac95d6a840e3986fa90b942ddce111ffeb3e66c (dadf76cd0d312c689db4d5991eb8a07a1a829dd8)
- 36a90d81f14c067e90d7d68c18ffc1c894f8c17329fa74194bb78a793040f672 (07c53596bf11b827f7b8d74be9f1a28f87c8e157)
- f7ab2fec23e1fc9bf34ca0a747451cac103533950a0189fc8d42015d8d8e6239 (41173d806bfdc1419aa6c5687f207e2db7f4dd17)
- a9e113e926d581d603e508269faa871a04a695f2b88adcf5c67865c280ac629d (3e05b505e6bca2edea41961dc89c31c3e0c71f17)
- a5bc4d59eb6da17aac59378ee272bda467663d494445b010517bc322d0b545e4 (003c4c171bf2a344ff5f9e1fa06f63a2f41af5d6)
- a21e16fc91fb7902a45cc5f7e9f82c561a0a57f5a18e109f9ec4f2a8a0baf98b (0c70e04b48db4e3514234ad9decaff293604b229)
- b2b045aafb34c8c0ca96b4ff5bbcae146a2d2c9a8b56f759f59a29603d9f8360 (a85128926b3c578787164745fa0156cd0f3ac813)
- 62808faf00d301fcd15da5f1d911d51dd2aaf420c80aa91bee119c0fc10d9e27 (9539821c3799031d4c490a4d038d946ec78e7668)
- 21436ac2da03c72fa5b916b93fbca7a715a3366a58b33f48d119c39db142daee (ff8c8b8db85a3946979b8b1cee2cf6aaddb70ad2)
- 2a4c6a05a29a37b9ec6359ed8d80127d246336b3ad327275c716fc0122e002da (bf0b7328145a77e2ce72bfa34270fbce05a2fe34)
- 3d7086bf54df774639b12ca51e314b5c9ab207e60cad37d459349b3de3fd0bb6 (85240abae89c393614d0f1e99189afad47705b4f)

.DS_Store ADDED
Binary file (6.15 kB). View file
 
README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ja
4
+ - en
5
+ license: mit
6
+ library_name: transformers
7
+ tags:
8
+ - mlx
9
+ ---
10
+
11
+ # mlx-community/stockmark-100b-4bit
12
+ This model was converted to MLX format from [`stockmark/stockmark-100b`]() using mlx-lm version **0.12.1**.
13
+ Refer to the [original model card](https://huggingface.co/stockmark/stockmark-100b) for more details on the model.
14
+ ## Use with mlx
15
+
16
+ ```bash
17
+ pip install mlx-lm
18
+ ```
19
+
20
+ ```python
21
+ from mlx_lm import load, generate
22
+
23
+ model, tokenizer = load("mlx-community/stockmark-100b-4bit")
24
+ response = generate(model, tokenizer, prompt="hello", verbose=True)
25
+ ```
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": 0,
8
+ "eos_token_id": 1,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 9216,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 32256,
13
+ "max_position_embeddings": 4096,
14
+ "model_type": "llama",
15
+ "num_attention_heads": 72,
16
+ "num_hidden_layers": 88,
17
+ "num_key_value_heads": 8,
18
+ "pad_token_id": 2,
19
+ "pretraining_tp": 1,
20
+ "quantization": {
21
+ "group_size": 64,
22
+ "bits": 4
23
+ },
24
+ "rms_norm_eps": 1e-05,
25
+ "rope_scaling": null,
26
+ "rope_theta": 10000.0,
27
+ "tie_word_embeddings": false,
28
+ "torch_dtype": "bfloat16",
29
+ "transformers_version": "4.40.1",
30
+ "use_cache": true,
31
+ "vocab_size": 60416
32
+ }
model-00001-of-00011.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:544a380e8575c4af6988bac63dcbc03e5eb31153f08d30cd9fff912d70549c20
3
+ size 5282191464
model-00002-of-00011.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26f96765d78569a7b3b3d10a6182d9218f67bf85d1b0c3ce91a1d42d625bd760
3
+ size 5364508499
model-00003-of-00011.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e70a9487c241519376aa2d58392286741d47304a62a8419393fd96b6ee19632
3
+ size 5303425697
model-00004-of-00011.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4909577a6400c11cca7a94f377ac7d0614e7032cf0d51dbc92c7355cd412ab4b
3
+ size 5303462745
model-00005-of-00011.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:906fc7476f3a26d013a0d0c268c95449bda8601d19d1b2c0d55af2cc7358844b
3
+ size 5303462788
model-00006-of-00011.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2eb8593b0ad813338361987f6d408b02d91893b4e48673e2b91d255c28563851
3
+ size 5364508495
model-00007-of-00011.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e213cf9ead59c3075b1655abb284ec4b73c78e5b80a781961ab6325dd89bc397
3
+ size 5303425679
model-00008-of-00011.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2be70436d95fed7066e514bd040499f63408c3d50a810aceb28a560a473dd4a
3
+ size 5303462797
model-00009-of-00011.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02ae214af66295974e2c00578794fe18a746e1c115421227609f4946cc2963b0
3
+ size 5303462720
model-00010-of-00011.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f60d3730ecebc8355c104848b44e137dd45faf8f67aaa1c2e33d821205761e45
3
+ size 5364508535
model-00011-of-00011.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50e7f9f7685d8130ea671921df6fd5da3efea2dd6c0c6e23a795c722ed501523
3
+ size 921068451
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<pad>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<s>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "</s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "<pad>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "3": {
30
+ "content": "<unk>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ }
37
+ },
38
+ "bos_token": "<s>",
39
+ "clean_up_tokenization_spaces": false,
40
+ "eos_token": "</s>",
41
+ "model_max_length": 1000000000000000019884624838656,
42
+ "pad_token": "<pad>",
43
+ "tokenizer_class": "LlamaTokenizer",
44
+ "unk_token": "<unk>",
45
+ "use_default_system_prompt": false
46
+ }