3thn commited on
Commit
770bb76
1 Parent(s): 796dbe1

Upload folder using huggingface_hub (#1)

Browse files

- c60e50ca7ee99bef1c725b52be2a0d4bd0229e6a2c6a466b2ffa0de41e91daf6 (8bfd12a150064d2f6775e63dfa0017ddb3d5d96a)
- 4f09e09ce6ab1eab17b5b587947cf1520ff5fb2c0123a1d5ca813a8ccadc11f7 (6e6121c08e34425cd7769b838a59ce7138fb24dd)
- 3c551d766f40ac84612dc99f3878d42cd01c864f9c42c67a90859037d218160e (76323d98ead7a2baae501d7ba5a8edb86f912129)
- 13c7867eeb5cde5ecf8878958929773e9a0cb31f1e654ba179442277cf0f4d92 (41bbf5470f04d3e06ad582ad4efe94f863a6ecd3)
- de6049638d35747844c25b6647ebee01a0b4c8d4c449a1835f642b62a347edd8 (158af34f87578316b44876b6ed4193424e595255)
- f800dabc9479dd59d9562769ce595fcac24c4064172e232478cd6c1aca592f80 (c7543e0f422f1ce87e95aedd1c28ef34236d4005)
- 25c183fe8c3736a0a0e65a3ae63596b8b7052abab300c83150b9cec80860d5ed (8ebb6bfbfd3f7a59772dd2a75e897ccf0c035c5d)
- 96d95a700940f663867fbbb8f1e34c6d401d72328427c28d23a1e6935c9b6e69 (1a448521523399ecca23373fe95886669119f29b)

README.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - generated_from_trainer
5
+ - axolotl
6
+ - mlx
7
+ base_model: Qwen/Qwen1.5-110B
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-qwen-110b-2bit
20
+ This model was converted to MLX format from [`cognitivecomputations/dolphin-2.9.1-qwen-110b`]() using mlx-lm version **0.12.1**.
21
+ Refer to the [original model card](https://huggingface.co/cognitivecomputations/dolphin-2.9.1-qwen-110b) 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-qwen-110b-2bit")
32
+ response = generate(model, tokenizer, prompt="hello", verbose=True)
33
+ ```
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2ForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "eos_token_id": 151645,
7
+ "hidden_act": "silu",
8
+ "hidden_size": 8192,
9
+ "initializer_range": 0.02,
10
+ "intermediate_size": 49152,
11
+ "max_position_embeddings": 32768,
12
+ "max_window_layers": 28,
13
+ "model_type": "qwen2",
14
+ "num_attention_heads": 64,
15
+ "num_hidden_layers": 80,
16
+ "num_key_value_heads": 8,
17
+ "quantization": {
18
+ "group_size": 64,
19
+ "bits": 2
20
+ },
21
+ "rms_norm_eps": 1e-06,
22
+ "rope_theta": 1000000.0,
23
+ "sliding_window": 32768,
24
+ "tie_word_embeddings": false,
25
+ "torch_dtype": "bfloat16",
26
+ "transformers_version": "4.40.0.dev0",
27
+ "use_cache": false,
28
+ "use_sliding_window": false,
29
+ "vocab_size": 152064
30
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:999887f3368b003ec3714c5dc7d552071fc00668512980d9a672cb67ba9f3554
3
+ size 5360175347
model-00002-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ad990e56f18bdac0827c72910dedf424ac498db78cbf75de79c6613dd755266
3
+ size 5269824421
model-00003-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:619bc3bf939ae29da1b55a8b01438a273754e10ed5b0de4df45b22ab65e734cd
3
+ size 5348412800
model-00004-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a63e6d0328e28ccb4e131796afb30f2428b8b1b19e1816e05b1bfccbc5f98ff1
3
+ size 5269824423
model-00005-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b4131db87ef579a6d738694b6e1863f31af6fdb9c63dd13f652a54cb470b816
3
+ size 5348412824
model-00006-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0b6fa815c68014851593fd382d52c49927a8b42d758d3c7a2445c9e33902ffc
3
+ size 5269824455
model-00007-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:951b4427d0c1e6aae815acda907c0c368501ec0e1bf869744675c60a9b87cb21
3
+ size 2890469413
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,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>"
5
+ ],
6
+ "eos_token": {
7
+ "content": "<|im_end|>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "pad_token": {
14
+ "content": "<|endoftext|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ }
20
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "151643": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "151644": {
13
+ "content": "<|im_start|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "151645": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ }
28
+ },
29
+ "additional_special_tokens": [
30
+ "<|im_start|>",
31
+ "<|im_end|>"
32
+ ],
33
+ "bos_token": null,
34
+ "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 %}",
35
+ "clean_up_tokenization_spaces": false,
36
+ "eos_token": "<|im_end|>",
37
+ "errors": "replace",
38
+ "model_max_length": 32768,
39
+ "pad_token": "<|endoftext|>",
40
+ "split_special_tokens": false,
41
+ "tokenizer_class": "Qwen2Tokenizer",
42
+ "unk_token": null
43
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff