3thn commited on
Commit
03618e3
1 Parent(s): 156b778

Upload folder using huggingface_hub (#1)

Browse files

- c542832b13795e20ee1516ca86fb6b9251f4f6f44a4b9b59c9078802c556ea69 (f6142e3cfb2768f86274e609bfd8096fd0380ecd)
- 2b3957abfc613e6dd2209f0927ee5d1c24327a34552efcd8d91aa2cc2e6b8a7e (45454996ee8a47e7211d493fb778f246e42c62c9)
- 171bb8ec8df35366cbd134e8b4e8cc52d11d0c0e6a6236393a1f758ce6f81c03 (425cfbee3cb5440d99d34e7c143e40dc07e3b9d1)
- 39eba0c5e64b0b04286173f247f92607f63148c44df8738527819ce30295adeb (e1c6a6bb73bc03c34a892d47735c72a1d9633fcf)
- 06dae51b194641a5cdecd69987c9e33afc189d7bb88e9c8e87b05729376e957c (3960517a8ddd084018945b42b96553eeaabd7404)
- 864ac4f61e919477677b14cf8d63d2212e4cee9903c85dfc0d72e10b5b84cd4d (359eae88669a9e6c32169d4e871145200e132e79)
- a6fac1f2d31c98e57380334667b0a037c8344286667a5b1ba49b1233c60486de (6e3a49aab16b660011d1d87fd3133766cf991039)
- fc3eb2bf266c8ba93daa54411d761d329e09156ae9f8e04cd83e6a6dd9e8b879 (8daac62f7a3d159c0c69d810c919875507b5c664)

README.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ - axolotl
6
+ - mlx
7
+ base_model: 01-ai/Yi-1.5-34B
8
+ datasets:
9
+ - cognitivecomputations/Dolphin-2.9
10
+ - teknium/OpenHermes-2.5
11
+ - m-a-p/CodeFeedback-Filtered-Instruction
12
+ - cognitivecomputations/dolphin-coder
13
+ - cognitivecomputations/samantha-data
14
+ - microsoft/orca-math-word-problems-200k
15
+ - Locutusque/function-calling-chatml
16
+ - internlm/Agent-FLAN
17
+ ---
18
+
19
+ # mlx-community/dolphin-2.9.1-yi-1.5-34b-8bit
20
+ This model was converted to MLX format from [`cognitivecomputations/dolphin-2.9.1-yi-1.5-34b`]() using mlx-lm version **0.12.1**.
21
+ Refer to the [original model card](https://huggingface.co/cognitivecomputations/dolphin-2.9.1-yi-1.5-34b) for more details on the model.
22
+ ## Use with mlx
23
+
24
+ ```bash
25
+ pip install mlx-lm
26
+ ```
27
+
28
+ ```python
29
+ from mlx_lm import load, generate
30
+
31
+ model, tokenizer = load("mlx-community/dolphin-2.9.1-yi-1.5-34b-8bit")
32
+ response = generate(model, tokenizer, prompt="hello", verbose=True)
33
+ ```
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": 1,
8
+ "eos_token_id": 7,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 7168,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 20480,
13
+ "max_position_embeddings": 8192,
14
+ "model_type": "llama",
15
+ "num_attention_heads": 56,
16
+ "num_hidden_layers": 60,
17
+ "num_key_value_heads": 8,
18
+ "pad_token_id": 0,
19
+ "pretraining_tp": 1,
20
+ "quantization": {
21
+ "group_size": 64,
22
+ "bits": 8
23
+ },
24
+ "rms_norm_eps": 1e-06,
25
+ "rope_scaling": null,
26
+ "rope_theta": 5000000.0,
27
+ "tie_word_embeddings": false,
28
+ "torch_dtype": "bfloat16",
29
+ "transformers_version": "4.40.0.dev0",
30
+ "use_cache": false,
31
+ "vocab_size": 64000
32
+ }
model-00001-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a30df19b90ec20195ec7d321755a7919c6a0b49cd31f7a2204146a9652bac3b3
3
+ size 5354117230
model-00002-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f3bcb2260e3485ec35709ff02837c3f51e0512b8f7fb783c181c3caf6783078
3
+ size 5334650055
model-00003-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f287e15306c9e24344f01312627d3cf35c459498d2efffa8b9eb2d9efb3ad5a3
3
+ size 5334650069
model-00004-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25a36996b7b8d9ccffe93e5ad3084332504cd78036abcc560b4046ec31873666
3
+ size 5334650063
model-00005-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8dd00f14170e05b14f7c7d519ae61a8c480d18ac50f89eb1ea017ab25e96b17c
3
+ size 5334650069
model-00006-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f4488d4333ca3d654bb199dc59d5300b3615475c08c5ebe74b22c97f0db11aa
3
+ size 5334650073
model-00007-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95bb40ce76808db092713bd664df0cf6320fc6ed5b7b8210ac7737b35ac01077
3
+ size 4511829028
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": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|im_end|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<unk>",
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.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:386c49cf943d71aa110361135338c50e38beeff0a66593480421f37b319e1a39
3
+ size 1033105
tokenizer_config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": true,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<|startoftext|>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "<|endoftext|>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "6": {
31
+ "content": "<|im_start|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": false
37
+ },
38
+ "7": {
39
+ "content": "<|im_end|>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": true
45
+ }
46
+ },
47
+ "bos_token": "<|startoftext|>",
48
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
49
+ "clean_up_tokenization_spaces": false,
50
+ "eos_token": "<|im_end|>",
51
+ "legacy": true,
52
+ "model_max_length": 4096,
53
+ "pad_token": "<unk>",
54
+ "sp_model_kwargs": {},
55
+ "spaces_between_special_tokens": false,
56
+ "tokenizer_class": "LlamaTokenizer",
57
+ "unk_token": "<unk>",
58
+ "use_default_system_prompt": false,
59
+ "use_fast": true
60
+ }