Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: apache-2.0
|
5 |
+
library_name: transformers
|
6 |
+
tags:
|
7 |
+
- chat
|
8 |
+
- mlx
|
9 |
+
- mlx-my-repo
|
10 |
+
pipeline_tag: text-generation
|
11 |
+
datasets:
|
12 |
+
- anthracite-org/c2_logs_32k_llama3_qwen2_v1.2_no_system
|
13 |
+
- anthracite-org/kalo-opus-instruct-22k-no-refusal-no-system
|
14 |
+
- anthracite-org/kalo-opus-instruct-3k-filtered-no-system
|
15 |
+
- anthracite-org/nopm_claude_writing_fixed
|
16 |
+
- anthracite-org/kalo_opus_misc_240827_no_system
|
17 |
+
- anthracite-org/kalo_misc_part2_no_system
|
18 |
+
base_model: anthracite-org/magnum-v4-12b
|
19 |
+
model-index:
|
20 |
+
- name: magnum-v4-12b
|
21 |
+
results:
|
22 |
+
- task:
|
23 |
+
type: text-generation
|
24 |
+
name: Text Generation
|
25 |
+
dataset:
|
26 |
+
name: IFEval (0-Shot)
|
27 |
+
type: HuggingFaceH4/ifeval
|
28 |
+
args:
|
29 |
+
num_few_shot: 0
|
30 |
+
metrics:
|
31 |
+
- type: inst_level_strict_acc and prompt_level_strict_acc
|
32 |
+
value: 33.93
|
33 |
+
name: strict accuracy
|
34 |
+
source:
|
35 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-12b
|
36 |
+
name: Open LLM Leaderboard
|
37 |
+
- task:
|
38 |
+
type: text-generation
|
39 |
+
name: Text Generation
|
40 |
+
dataset:
|
41 |
+
name: BBH (3-Shot)
|
42 |
+
type: BBH
|
43 |
+
args:
|
44 |
+
num_few_shot: 3
|
45 |
+
metrics:
|
46 |
+
- type: acc_norm
|
47 |
+
value: 30.5
|
48 |
+
name: normalized accuracy
|
49 |
+
source:
|
50 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-12b
|
51 |
+
name: Open LLM Leaderboard
|
52 |
+
- task:
|
53 |
+
type: text-generation
|
54 |
+
name: Text Generation
|
55 |
+
dataset:
|
56 |
+
name: MATH Lvl 5 (4-Shot)
|
57 |
+
type: hendrycks/competition_math
|
58 |
+
args:
|
59 |
+
num_few_shot: 4
|
60 |
+
metrics:
|
61 |
+
- type: exact_match
|
62 |
+
value: 9.82
|
63 |
+
name: exact match
|
64 |
+
source:
|
65 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-12b
|
66 |
+
name: Open LLM Leaderboard
|
67 |
+
- task:
|
68 |
+
type: text-generation
|
69 |
+
name: Text Generation
|
70 |
+
dataset:
|
71 |
+
name: GPQA (0-shot)
|
72 |
+
type: Idavidrein/gpqa
|
73 |
+
args:
|
74 |
+
num_few_shot: 0
|
75 |
+
metrics:
|
76 |
+
- type: acc_norm
|
77 |
+
value: 6.15
|
78 |
+
name: acc_norm
|
79 |
+
source:
|
80 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-12b
|
81 |
+
name: Open LLM Leaderboard
|
82 |
+
- task:
|
83 |
+
type: text-generation
|
84 |
+
name: Text Generation
|
85 |
+
dataset:
|
86 |
+
name: MuSR (0-shot)
|
87 |
+
type: TAUR-Lab/MuSR
|
88 |
+
args:
|
89 |
+
num_few_shot: 0
|
90 |
+
metrics:
|
91 |
+
- type: acc_norm
|
92 |
+
value: 10.36
|
93 |
+
name: acc_norm
|
94 |
+
source:
|
95 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-12b
|
96 |
+
name: Open LLM Leaderboard
|
97 |
+
- task:
|
98 |
+
type: text-generation
|
99 |
+
name: Text Generation
|
100 |
+
dataset:
|
101 |
+
name: MMLU-PRO (5-shot)
|
102 |
+
type: TIGER-Lab/MMLU-Pro
|
103 |
+
config: main
|
104 |
+
split: test
|
105 |
+
args:
|
106 |
+
num_few_shot: 5
|
107 |
+
metrics:
|
108 |
+
- type: acc
|
109 |
+
value: 28.93
|
110 |
+
name: accuracy
|
111 |
+
source:
|
112 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-12b
|
113 |
+
name: Open LLM Leaderboard
|
114 |
+
---
|
115 |
+
|
116 |
+
# isv2lf/magnum-v4-12b-Q6-mlx
|
117 |
+
|
118 |
+
The Model [isv2lf/magnum-v4-12b-Q6-mlx](https://huggingface.co/isv2lf/magnum-v4-12b-Q6-mlx) was converted to MLX format from [anthracite-org/magnum-v4-12b](https://huggingface.co/anthracite-org/magnum-v4-12b) using mlx-lm version **0.20.5**.
|
119 |
+
|
120 |
+
## Use with mlx
|
121 |
+
|
122 |
+
```bash
|
123 |
+
pip install mlx-lm
|
124 |
+
```
|
125 |
+
|
126 |
+
```python
|
127 |
+
from mlx_lm import load, generate
|
128 |
+
|
129 |
+
model, tokenizer = load("isv2lf/magnum-v4-12b-Q6-mlx")
|
130 |
+
|
131 |
+
prompt="hello"
|
132 |
+
|
133 |
+
if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
|
134 |
+
messages = [{"role": "user", "content": prompt}]
|
135 |
+
prompt = tokenizer.apply_chat_template(
|
136 |
+
messages, tokenize=False, add_generation_prompt=True
|
137 |
+
)
|
138 |
+
|
139 |
+
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
140 |
+
```
|