Upload folder using huggingface_hub (#1)
Browse files- 63f2c7090ee3387decbd21e2b1ab3f7288119654a6079bab578f3a1e9ff316c1 (67231b8da1b7c8146203d47457c7f3f5a81d4d88)
- cb5de052bcb4095beeb361599235e8debc9ba129624da2a2c8901bc9cb860ce9 (a023ee8c1d881200d0d016692091a798ad2f345e)
- aee239ef69e9b2cde60be8cdd04da87ac226edcaae4558691a09c78efca9f443 (4ac1b4e63bc2bad2f4aaba85d8391ea1cb91300d)
- 16bee350d6854f3761b01de305b109d9d85498c1aa4a636e4326f38f3cadd9a6 (772e7354b08ef0010bac282ac64991524caf0ea6)
- db661f94c3d0ddc18873364b23244f903f4cc15600110885533bf4bc732ec147 (9cd0204c72fc0f8144ea16782a256937597f23ad)
- 1646ff12d7009155f5b40db761753b59e0f23f7e1cbdf27ee80c3c7468f4038c (5a866ffa565e2c81691fc0a8d68bc4749e28031b)
- d04d6ff6f8d631d4921dd9488a01c3fdaf00a2ce15355ba79f4a7da227fcfe81 (5b6070196ab6cded32b5d6a327ba77c667432b58)
- d348753585356cd5b92b84e51ce306d8407071915089cbae8b93e6c7f67a1cfa (996b23ced2a25f228850b19a3d9be394aa17c948)
- 0307e5d1d253e54331b0a7c68f1784953d17d9fb36ad75d04a235f664489739b (a84d81f3c03ce07589621f822d5b32ee3ce1eba9)
- 53339fc095a7bc00aecb682ac6b527aa24addb6c401f6f0e9c7d816e8d5820d1 (92377a2498aaca43790c32d3500839fbfedf5671)
- 3aecfe8ffbe12da193c957d26a0837ec8d91aa8e9d4b00f69c8f4e56ffab5cf6 (5c8e2f63fec69ac87f2ae5d58058d1b0d6b127ad)
- 6957c68ae05a49173619302e85036a5a98d1953d43a99f2679a53db807f31467 (9dcb4a94283de052200c779616856838a275cf5a)
- 41fd0a78ebc00f72a68450ca270eadb4e039f2aaa91f145625f9fc0d10090996 (f77295f5a139e14205f2bd72de9e82957ac26b1d)
- 81298ddb55a2a8112fd5f74b3e71ae615a49510f40deda471ab4b9023b814fe4 (efa38e1ee6141945df95b42ef4707874fbee3750)
- bf5221496618a6a62b55d180c63121013cc57280d171266f5565798053a7fa18 (ea99602037d15b4074daf524b777225aa771b9fe)
- 31d617986b84db9243c21ba1c0c915cd450ff1996e0d4bb3a85b1196dc268511 (132531f5a9d10272ee598562eaf1c386b70a2db5)
- README.md +145 -0
- added_tokens.json +5 -0
- config.json +34 -0
- merges.txt +0 -0
- model-00001-of-00015.safetensors +3 -0
- model-00002-of-00015.safetensors +3 -0
- model-00003-of-00015.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 +20 -0
- tokenizer.json +0 -0
- tokenizer_config.json +43 -0
- vocab.json +0 -0
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: anthracite-org/magnum-v2-72b
|
3 |
+
datasets:
|
4 |
+
- Doctor-Shotgun/C2-Stheno
|
5 |
+
- anthracite-org/kalo-opus-instruct-22k-no-refusal
|
6 |
+
- anthracite-org/nopm_claude_writing_fixed
|
7 |
+
language:
|
8 |
+
- en
|
9 |
+
- fr
|
10 |
+
- de
|
11 |
+
- es
|
12 |
+
- it
|
13 |
+
- pt
|
14 |
+
- ru
|
15 |
+
- zh
|
16 |
+
- ja
|
17 |
+
license: other
|
18 |
+
license_name: tongyi-qianwen
|
19 |
+
license_link: https://huggingface.co/anthracite-org/magnum-v2-72b/blob/main/LICENSE
|
20 |
+
pipeline_tag: text-generation
|
21 |
+
tags:
|
22 |
+
- chat
|
23 |
+
- mlx
|
24 |
+
model-index:
|
25 |
+
- name: magnum-v2-72b
|
26 |
+
results:
|
27 |
+
- task:
|
28 |
+
type: text-generation
|
29 |
+
name: Text Generation
|
30 |
+
dataset:
|
31 |
+
name: IFEval (0-Shot)
|
32 |
+
type: HuggingFaceH4/ifeval
|
33 |
+
args:
|
34 |
+
num_few_shot: 0
|
35 |
+
metrics:
|
36 |
+
- type: inst_level_strict_acc and prompt_level_strict_acc
|
37 |
+
value: 75.6
|
38 |
+
name: strict accuracy
|
39 |
+
source:
|
40 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v2-72b
|
41 |
+
name: Open LLM Leaderboard
|
42 |
+
- task:
|
43 |
+
type: text-generation
|
44 |
+
name: Text Generation
|
45 |
+
dataset:
|
46 |
+
name: BBH (3-Shot)
|
47 |
+
type: BBH
|
48 |
+
args:
|
49 |
+
num_few_shot: 3
|
50 |
+
metrics:
|
51 |
+
- type: acc_norm
|
52 |
+
value: 57.85
|
53 |
+
name: normalized accuracy
|
54 |
+
source:
|
55 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v2-72b
|
56 |
+
name: Open LLM Leaderboard
|
57 |
+
- task:
|
58 |
+
type: text-generation
|
59 |
+
name: Text Generation
|
60 |
+
dataset:
|
61 |
+
name: MATH Lvl 5 (4-Shot)
|
62 |
+
type: hendrycks/competition_math
|
63 |
+
args:
|
64 |
+
num_few_shot: 4
|
65 |
+
metrics:
|
66 |
+
- type: exact_match
|
67 |
+
value: 31.65
|
68 |
+
name: exact match
|
69 |
+
source:
|
70 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v2-72b
|
71 |
+
name: Open LLM Leaderboard
|
72 |
+
- task:
|
73 |
+
type: text-generation
|
74 |
+
name: Text Generation
|
75 |
+
dataset:
|
76 |
+
name: GPQA (0-shot)
|
77 |
+
type: Idavidrein/gpqa
|
78 |
+
args:
|
79 |
+
num_few_shot: 0
|
80 |
+
metrics:
|
81 |
+
- type: acc_norm
|
82 |
+
value: 18.12
|
83 |
+
name: acc_norm
|
84 |
+
source:
|
85 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v2-72b
|
86 |
+
name: Open LLM Leaderboard
|
87 |
+
- task:
|
88 |
+
type: text-generation
|
89 |
+
name: Text Generation
|
90 |
+
dataset:
|
91 |
+
name: MuSR (0-shot)
|
92 |
+
type: TAUR-Lab/MuSR
|
93 |
+
args:
|
94 |
+
num_few_shot: 0
|
95 |
+
metrics:
|
96 |
+
- type: acc_norm
|
97 |
+
value: 14.18
|
98 |
+
name: acc_norm
|
99 |
+
source:
|
100 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v2-72b
|
101 |
+
name: Open LLM Leaderboard
|
102 |
+
- task:
|
103 |
+
type: text-generation
|
104 |
+
name: Text Generation
|
105 |
+
dataset:
|
106 |
+
name: MMLU-PRO (5-shot)
|
107 |
+
type: TIGER-Lab/MMLU-Pro
|
108 |
+
config: main
|
109 |
+
split: test
|
110 |
+
args:
|
111 |
+
num_few_shot: 5
|
112 |
+
metrics:
|
113 |
+
- type: acc
|
114 |
+
value: 49.51
|
115 |
+
name: accuracy
|
116 |
+
source:
|
117 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v2-72b
|
118 |
+
name: Open LLM Leaderboard
|
119 |
+
---
|
120 |
+
|
121 |
+
# mlx-community/magnum-v2-72b
|
122 |
+
|
123 |
+
The Model [mlx-community/magnum-v2-72b](https://huggingface.co/mlx-community/magnum-v2-72b) was converted to MLX format from [anthracite-org/magnum-v2-72b](https://huggingface.co/anthracite-org/magnum-v2-72b) using mlx-lm version **0.19.0**.
|
124 |
+
|
125 |
+
## Use with mlx
|
126 |
+
|
127 |
+
```bash
|
128 |
+
pip install mlx-lm
|
129 |
+
```
|
130 |
+
|
131 |
+
```python
|
132 |
+
from mlx_lm import load, generate
|
133 |
+
|
134 |
+
model, tokenizer = load("mlx-community/magnum-v2-72b")
|
135 |
+
|
136 |
+
prompt="hello"
|
137 |
+
|
138 |
+
if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
|
139 |
+
messages = [{"role": "user", "content": prompt}]
|
140 |
+
prompt = tokenizer.apply_chat_template(
|
141 |
+
messages, tokenize=False, add_generation_prompt=True
|
142 |
+
)
|
143 |
+
|
144 |
+
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
145 |
+
```
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|endoftext|>": 151643,
|
3 |
+
"<|im_end|>": 151645,
|
4 |
+
"<|im_start|>": 151644
|
5 |
+
}
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": 29568,
|
11 |
+
"max_position_embeddings": 32768,
|
12 |
+
"max_window_layers": 80,
|
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": 8
|
20 |
+
},
|
21 |
+
"quantization_config": {
|
22 |
+
"group_size": 64,
|
23 |
+
"bits": 8
|
24 |
+
},
|
25 |
+
"rms_norm_eps": 1e-06,
|
26 |
+
"rope_theta": 1000000.0,
|
27 |
+
"sliding_window": null,
|
28 |
+
"tie_word_embeddings": false,
|
29 |
+
"torch_dtype": "bfloat16",
|
30 |
+
"transformers_version": "4.43.4",
|
31 |
+
"use_cache": false,
|
32 |
+
"use_sliding_window": false,
|
33 |
+
"vocab_size": 152064
|
34 |
+
}
|
The diff for this file is too large to render.
See raw diff
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f78a54460d8eac47a02f743cc8088c56b0f4657bc7df5988f8c89a4f88916d1e
|
3 |
+
size 5214291416
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bdc1633d14e11e613c5cab76723be4dd104781140a5b550d7a388eba9125367a
|
3 |
+
size 5177560084
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:86fcc3946541e45b84c68073713d821a02886157cdbd1d50fc7bf110ea46fa77
|
3 |
+
size 5338047551
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1ffc55221ea7c7c93eb45ea4d2a9a561ab1a45da8654479a46c949fd638f7ba9
|
3 |
+
size 5338047541
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb9c105408399f21cf0f121cab108b55dca2d954bbac4576a2db97671a08eec1
|
3 |
+
size 5177560272
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3c3ca7764283a209e9db76a3b3b85a147d9ff7399042a311e20252c6e7916624
|
3 |
+
size 5338047538
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:738b7c10b0894a6a73017b4bb56f549104c15c19a878dc6707f8d1a1d3c04660
|
3 |
+
size 5338047533
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cec190c40a0af3c5e3f95750b6839d7961399279324c393d03c9c0c133466f21
|
3 |
+
size 5177560252
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9f0a946c45e4e5aa5b420980cc970cc961130e40e90649e29e24a4cd0c1199e8
|
3 |
+
size 5338047568
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0ea58d25f6053bb32a78128cca84b6f0635d5e08657b7accdfc2084a4e9c737a
|
3 |
+
size 5338047545
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:98cc8dc5b031860a67f74a75834b024b3a3a4624f6ee2c118b929c69c1f4ec25
|
3 |
+
size 5177560270
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:008640ce0b45e5799a6b816b6b81e51d8d62d1156d84b49121f6d6975c9b8d6b
|
3 |
+
size 5338047588
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4bdca1f258f06e5687c73c398e5002f42cc995eed794cc6341ea60bc342bee32
|
3 |
+
size 5338047529
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a903406ce36f07a0024fdfb6ba84200db2512082709711a7481ba36068b5941d
|
3 |
+
size 5177560238
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:45bb71456477f5c105d5cafb8dcfb9149ae0f21c2044888c8f2f0dff9755bb16
|
3 |
+
size 3446110914
|
The diff for this file is too large to render.
See raw diff
|
|
@@ -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 |
+
}
|
The diff for this file is too large to render.
See raw diff
|
|
@@ -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": 131072,
|
39 |
+
"pad_token": "<|endoftext|>",
|
40 |
+
"split_special_tokens": false,
|
41 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
42 |
+
"unk_token": null
|
43 |
+
}
|
The diff for this file is too large to render.
See raw diff
|
|