Fmuaddib commited on
Commit
0781e19
·
verified ·
1 Parent(s): b3152c2

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +230 -0
README.md ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: transformers
4
+ datasets:
5
+ - vicgalle/configurable-system-prompt-multitask
6
+ base_model: vicgalle/Configurable-Yi-1.5-9B-Chat
7
+ tags:
8
+ - mlx
9
+ model-index:
10
+ - name: Configurable-Yi-1.5-9B-Chat
11
+ results:
12
+ - task:
13
+ type: text-generation
14
+ name: Text Generation
15
+ dataset:
16
+ name: AI2 Reasoning Challenge (25-Shot)
17
+ type: ai2_arc
18
+ config: ARC-Challenge
19
+ split: test
20
+ args:
21
+ num_few_shot: 25
22
+ metrics:
23
+ - type: acc_norm
24
+ value: 64.16
25
+ name: normalized accuracy
26
+ source:
27
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=vicgalle/Configurable-Yi-1.5-9B-Chat
28
+ name: Open LLM Leaderboard
29
+ - task:
30
+ type: text-generation
31
+ name: Text Generation
32
+ dataset:
33
+ name: HellaSwag (10-Shot)
34
+ type: hellaswag
35
+ split: validation
36
+ args:
37
+ num_few_shot: 10
38
+ metrics:
39
+ - type: acc_norm
40
+ value: 81.7
41
+ name: normalized accuracy
42
+ source:
43
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=vicgalle/Configurable-Yi-1.5-9B-Chat
44
+ name: Open LLM Leaderboard
45
+ - task:
46
+ type: text-generation
47
+ name: Text Generation
48
+ dataset:
49
+ name: MMLU (5-Shot)
50
+ type: cais/mmlu
51
+ config: all
52
+ split: test
53
+ args:
54
+ num_few_shot: 5
55
+ metrics:
56
+ - type: acc
57
+ value: 70.99
58
+ name: accuracy
59
+ source:
60
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=vicgalle/Configurable-Yi-1.5-9B-Chat
61
+ name: Open LLM Leaderboard
62
+ - task:
63
+ type: text-generation
64
+ name: Text Generation
65
+ dataset:
66
+ name: TruthfulQA (0-shot)
67
+ type: truthful_qa
68
+ config: multiple_choice
69
+ split: validation
70
+ args:
71
+ num_few_shot: 0
72
+ metrics:
73
+ - type: mc2
74
+ value: 58.75
75
+ source:
76
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=vicgalle/Configurable-Yi-1.5-9B-Chat
77
+ name: Open LLM Leaderboard
78
+ - task:
79
+ type: text-generation
80
+ name: Text Generation
81
+ dataset:
82
+ name: Winogrande (5-shot)
83
+ type: winogrande
84
+ config: winogrande_xl
85
+ split: validation
86
+ args:
87
+ num_few_shot: 5
88
+ metrics:
89
+ - type: acc
90
+ value: 76.8
91
+ name: accuracy
92
+ source:
93
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=vicgalle/Configurable-Yi-1.5-9B-Chat
94
+ name: Open LLM Leaderboard
95
+ - task:
96
+ type: text-generation
97
+ name: Text Generation
98
+ dataset:
99
+ name: GSM8k (5-shot)
100
+ type: gsm8k
101
+ config: main
102
+ split: test
103
+ args:
104
+ num_few_shot: 5
105
+ metrics:
106
+ - type: acc
107
+ value: 70.58
108
+ name: accuracy
109
+ source:
110
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=vicgalle/Configurable-Yi-1.5-9B-Chat
111
+ name: Open LLM Leaderboard
112
+ - task:
113
+ type: text-generation
114
+ name: Text Generation
115
+ dataset:
116
+ name: IFEval (0-Shot)
117
+ type: HuggingFaceH4/ifeval
118
+ args:
119
+ num_few_shot: 0
120
+ metrics:
121
+ - type: inst_level_strict_acc and prompt_level_strict_acc
122
+ value: 43.23
123
+ name: strict accuracy
124
+ source:
125
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=vicgalle/Configurable-Yi-1.5-9B-Chat
126
+ name: Open LLM Leaderboard
127
+ - task:
128
+ type: text-generation
129
+ name: Text Generation
130
+ dataset:
131
+ name: BBH (3-Shot)
132
+ type: BBH
133
+ args:
134
+ num_few_shot: 3
135
+ metrics:
136
+ - type: acc_norm
137
+ value: 35.33
138
+ name: normalized accuracy
139
+ source:
140
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=vicgalle/Configurable-Yi-1.5-9B-Chat
141
+ name: Open LLM Leaderboard
142
+ - task:
143
+ type: text-generation
144
+ name: Text Generation
145
+ dataset:
146
+ name: MATH Lvl 5 (4-Shot)
147
+ type: hendrycks/competition_math
148
+ args:
149
+ num_few_shot: 4
150
+ metrics:
151
+ - type: exact_match
152
+ value: 6.12
153
+ name: exact match
154
+ source:
155
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=vicgalle/Configurable-Yi-1.5-9B-Chat
156
+ name: Open LLM Leaderboard
157
+ - task:
158
+ type: text-generation
159
+ name: Text Generation
160
+ dataset:
161
+ name: GPQA (0-shot)
162
+ type: Idavidrein/gpqa
163
+ args:
164
+ num_few_shot: 0
165
+ metrics:
166
+ - type: acc_norm
167
+ value: 12.42
168
+ name: acc_norm
169
+ source:
170
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=vicgalle/Configurable-Yi-1.5-9B-Chat
171
+ name: Open LLM Leaderboard
172
+ - task:
173
+ type: text-generation
174
+ name: Text Generation
175
+ dataset:
176
+ name: MuSR (0-shot)
177
+ type: TAUR-Lab/MuSR
178
+ args:
179
+ num_few_shot: 0
180
+ metrics:
181
+ - type: acc_norm
182
+ value: 12.02
183
+ name: acc_norm
184
+ source:
185
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=vicgalle/Configurable-Yi-1.5-9B-Chat
186
+ name: Open LLM Leaderboard
187
+ - task:
188
+ type: text-generation
189
+ name: Text Generation
190
+ dataset:
191
+ name: MMLU-PRO (5-shot)
192
+ type: TIGER-Lab/MMLU-Pro
193
+ config: main
194
+ split: test
195
+ args:
196
+ num_few_shot: 5
197
+ metrics:
198
+ - type: acc
199
+ value: 33.5
200
+ name: accuracy
201
+ source:
202
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=vicgalle/Configurable-Yi-1.5-9B-Chat
203
+ name: Open LLM Leaderboard
204
+ ---
205
+
206
+ # Fmuaddib/Configurable-Yi-1.5-9B-Chat-mlx-8Bit
207
+
208
+ The Model [Fmuaddib/Configurable-Yi-1.5-9B-Chat-mlx-8Bit](https://huggingface.co/Fmuaddib/Configurable-Yi-1.5-9B-Chat-mlx-8Bit) was converted to MLX format from [vicgalle/Configurable-Yi-1.5-9B-Chat](https://huggingface.co/vicgalle/Configurable-Yi-1.5-9B-Chat) using mlx-lm version **0.22.1**.
209
+
210
+ ## Use with mlx
211
+
212
+ ```bash
213
+ pip install mlx-lm
214
+ ```
215
+
216
+ ```python
217
+ from mlx_lm import load, generate
218
+
219
+ model, tokenizer = load("Fmuaddib/Configurable-Yi-1.5-9B-Chat-mlx-8Bit")
220
+
221
+ prompt="hello"
222
+
223
+ if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
224
+ messages = [{"role": "user", "content": prompt}]
225
+ prompt = tokenizer.apply_chat_template(
226
+ messages, tokenize=False, add_generation_prompt=True
227
+ )
228
+
229
+ response = generate(model, tokenizer, prompt=prompt, verbose=True)
230
+ ```