Views
No views yet
1<|im_start|>system
2You are JOSIE, my private and superinteligent AI Assistant.<|im_end|>
3<|im_start|>user
4{{ .Prompt }}<|im_end|>
5<|im_start|>assistant
6{{ .Response }}<|im_end|>ollama run goekdenizguelmez/j.o.s.i.e.v3-beta12.11slices:
2 - sources:
3 - model: Weyaxi/Einstein-v6-7B
4 layer_range: [0, 32]
5 - model: argilla/CapybaraHermes-2.5-Mistral-7B
6 layer_range: [0, 32]
7merge_method: slerp
8base_model: argilla/CapybaraHermes-2.5-Mistral-7B
9parameters:
10 t:
11 - filter: self_attn
12 value: [0, 0.5, 0.3, 0.7, 1]
13 - filter: mlp
14 value: [1, 0.5, 0.7, 0.3, 0]
15 - value: 0.5
16dtype: bfloat161!pip install -qU transformers accelerate
2
3from transformers import AutoTokenizer
4import transformers
5import torch
6
7model = "Isaak-Carter/J.O.S.I.E.3-Beta12-7B-slerp"
8messages = [{"role": "user", "content": "What is a large language model?"}]
9
10tokenizer = AutoTokenizer.from_pretrained(model)
11prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
12pipeline = transformers.pipeline(
13 "text-generation",
14 model=model,
15 torch_dtype=torch.float16,
16 device_map="auto",
17)
18
19outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
20print(outputs[0]["generated_text"])1{
2 "all": {
3 "acc": 0.635008846776534,
4 "acc_stderr": 0.03244450973873997,
5 "acc_norm": 0.6365238167399629,
6 "acc_norm_stderr": 0.033101612504829854,
7 "mc1": 0.397796817625459,
8 "mc1_stderr": 0.017133934248559635,
9 "mc2": 0.5816259277988214,
10 "mc2_stderr": 0.01521267822060948
11 },
12 "harness|arc:challenge|25": {
13 "acc": 0.6220136518771331,
14 "acc_stderr": 0.0141696645203031,
15 "acc_norm": 0.6459044368600683,
16 "acc_norm_stderr": 0.013975454122756557
17 },
18 "harness|hellaswag|10": {
19 "acc": 0.6512646883091018,
20 "acc_stderr": 0.004755960559929163,
21 "acc_norm": 0.8397729535949015,
22 "acc_norm_stderr": 0.003660668242740655
23 },
24 "harness|hendrycksTest-abstract_algebra|5": {
25 "acc": 0.4,
26 "acc_stderr": 0.04923659639173309,
27 "acc_norm": 0.4,
28 "acc_norm_stderr": 0.04923659639173309
29 },
30 "harness|hendrycksTest-anatomy|5": {
31 "acc": 0.5703703703703704,
32 "acc_stderr": 0.042763494943765995,
33 "acc_norm": 0.5703703703703704,
34 "acc_norm_stderr": 0.042763494943765995
35 },
36 "harness|hendrycksTest-astronomy|5": {
37 "acc": 0.6842105263157895,
38 "acc_stderr": 0.0378272898086547,
39 "acc_norm": 0.6842105263157895,
40 "acc_norm_stderr": 0.0378272898086547
41 },
42 "harness|hendrycksTest-business_ethics|5": {
43 "acc": 0.58,
44 "acc_stderr": 0.049604496374885836,
45 "acc_norm": 0.58,
46 "acc_norm_stderr": 0.049604496374885836
47 },
48 "harness|hendrycksTest-clinical_knowledge|5": {
49 "acc": 0.6792452830188679,
50 "acc_stderr": 0.028727502957880267,
51 "acc_norm": 0.6792452830188679,
52 "acc_norm_stderr": 0.028727502957880267
53 },
54 "harness|hendrycksTest-college_biology|5": {
55 "acc": 0.7361111111111112,
56 "acc_stderr": 0.03685651095897532,
57 "acc_norm": 0.7361111111111112,
58 "acc_norm_stderr": 0.03685651095897532
59 },
60 "harness|hendrycksTest-college_chemistry|5": {
61 "acc": 0.54,
62 "acc_stderr": 0.05009082659620332,
63 "acc_norm": 0.54,
64 "acc_norm_stderr": 0.05009082659620332
65 },
66 "harness|hendrycksTest-college_computer_science|5": {
67 "acc": 0.51,
68 "acc_stderr": 0.05024183937956912,
69 "acc_norm": 0.51,
70 "acc_norm_stderr": 0.05024183937956912
71 },
72 "harness|hendrycksTest-college_mathematics|5": {
73 "acc": 0.29,
74 "acc_stderr": 0.04560480215720684,
75 "acc_norm": 0.29,
76 "acc_norm_stderr": 0.04560480215720684
77 },
78 "harness|hendrycksTest-college_medicine|5": {
79 "acc": 0.6416184971098265,
80 "acc_stderr": 0.036563436533531585,
81 "acc_norm": 0.6416184971098265,
82 "acc_norm_stderr": 0.036563436533531585
83 },
84 "harness|hendrycksTest-college_physics|5": {
85 "acc": 0.3235294117647059,
86 "acc_stderr": 0.04655010411319619,
87 "acc_norm": 0.3235294117647059,
88 "acc_norm_stderr": 0.04655010411319619
89 },
90 "harness|hendrycksTest-computer_security|5": {
91 "acc": 0.76,
92 "acc_stderr": 0.04292346959909283,
93 "acc_norm": 0.76,
94 "acc_norm_stderr": 0.04292346959909283
95 },
96 "harness|hendrycksTest-conceptual_physics|5": {
97 "acc": 0.5829787234042553,
98 "acc_stderr": 0.03223276266711712,
99 "acc_norm": 0.5829787234042553,
100 "acc_norm_stderr": 0.03223276266711712
101 },
102 "harness|hendrycksTest-econometrics|5": {
103 "acc": 0.4649122807017544,
104 "acc_stderr": 0.046920083813689104,
105 "acc_norm": 0.4649122807017544,
106 "acc_norm_stderr": 0.046920083813689104
107 },
108 "harness|hendrycksTest-electrical_engineering|5": {
109 "acc": 0.5517241379310345,
110 "acc_stderr": 0.04144311810878152,
111 "acc_norm": 0.5517241379310345,
112 "acc_norm_stderr": 0.04144311810878152
113 },
114 "harness|hendrycksTest-elementary_mathematics|5": {
115 "acc": 0.42063492063492064,
116 "acc_stderr": 0.025424835086924006,
117 "acc_norm": 0.42063492063492064,
118 "acc_norm_stderr": 0.025424835086924006
119 },
120 "harness|hendrycksTest-formal_logic|5": {
121 "acc": 0.4444444444444444,
122 "acc_stderr": 0.044444444444444495,
123 "acc_norm": 0.4444444444444444,
124 "acc_norm_stderr": 0.044444444444444495
125 },
126 "harness|hendrycksTest-global_facts|5": {
127 "acc": 0.44,
128 "acc_stderr": 0.04988876515698589,
129 "acc_norm": 0.44,
130 "acc_norm_stderr": 0.04988876515698589
131 },
132 "harness|hendrycksTest-high_school_biology|5": {
133 "acc": 0.7548387096774194,
134 "acc_stderr": 0.024472243840895525,
135 "acc_norm": 0.7548387096774194,
136 "acc_norm_stderr": 0.024472243840895525
137 },
138 "harness|hendrycksTest-high_school_chemistry|5": {
139 "acc": 0.5024630541871922,
140 "acc_stderr": 0.035179450386910616,
141 "acc_norm": 0.5024630541871922,
142 "acc_norm_stderr": 0.035179450386910616
143 },
144 "harness|hendrycksTest-high_school_computer_science|5": {
145 "acc": 0.66,
146 "acc_stderr": 0.04760952285695237,
147 "acc_norm": 0.66,
148 "acc_norm_stderr": 0.04760952285695237
149 },
150 "harness|hendrycksTest-high_school_european_history|5": {
151 "acc": 0.7818181818181819,
152 "acc_stderr": 0.03225078108306289,
153 "acc_norm": 0.7818181818181819,
154 "acc_norm_stderr": 0.03225078108306289
155 },
156 "harness|hendrycksTest-high_school_geography|5": {
157 "acc": 0.797979797979798,
158 "acc_stderr": 0.02860620428922988,
159 "acc_norm": 0.797979797979798,
160 "acc_norm_stderr": 0.02860620428922988
161 },
162 "harness|hendrycksTest-high_school_government_and_politics|5": {
163 "acc": 0.8756476683937824,
164 "acc_stderr": 0.023814477086593552,
165 "acc_norm": 0.8756476683937824,
166 "acc_norm_stderr": 0.023814477086593552
167 },
168 "harness|hendrycksTest-high_school_macroeconomics|5": {
169 "acc": 0.658974358974359,
170 "acc_stderr": 0.02403548967633509,
171 "acc_norm": 0.658974358974359,
172 "acc_norm_stderr": 0.02403548967633509
173 },
174 "harness|hendrycksTest-high_school_mathematics|5": {
175 "acc": 0.32592592592592595,
176 "acc_stderr": 0.02857834836547308,
177 "acc_norm": 0.32592592592592595,
178 "acc_norm_stderr": 0.02857834836547308
179 },
180 "harness|hendrycksTest-high_school_microeconomics|5": {
181 "acc": 0.6638655462184874,
182 "acc_stderr": 0.030684737115135363,
183 "acc_norm": 0.6638655462184874,
184 "acc_norm_stderr": 0.030684737115135363
185 },
186 "harness|hendrycksTest-high_school_physics|5": {
187 "acc": 0.304635761589404,
188 "acc_stderr": 0.03757949922943344,
189 "acc_norm": 0.304635761589404,
190 "acc_norm_stderr": 0.03757949922943344
191 },
192 "harness|hendrycksTest-high_school_psychology|5": {
193 "acc": 0.8238532110091743,
194 "acc_stderr": 0.016332882393431353,
195 "acc_norm": 0.8238532110091743,
196 "acc_norm_stderr": 0.016332882393431353
197 },
198 "harness|hendrycksTest-high_school_statistics|5": {
199 "acc": 0.5092592592592593,
200 "acc_stderr": 0.03409386946992699,
201 "acc_norm": 0.5092592592592593,
202 "acc_norm_stderr": 0.03409386946992699
203 },
204 "harness|hendrycksTest-high_school_us_history|5": {
205 "acc": 0.7990196078431373,
206 "acc_stderr": 0.02812597226565437,
207 "acc_norm": 0.7990196078431373,
208 "acc_norm_stderr": 0.02812597226565437
209 },
210 "harness|hendrycksTest-high_school_world_history|5": {
211 "acc": 0.759493670886076,
212 "acc_stderr": 0.027820781981149685,
213 "acc_norm": 0.759493670886076,
214 "acc_norm_stderr": 0.027820781981149685
215 },
216 "harness|hendrycksTest-human_aging|5": {
217 "acc": 0.6681614349775785,
218 "acc_stderr": 0.03160295143776679,
219 "acc_norm": 0.6681614349775785,
220 "acc_norm_stderr": 0.03160295143776679
221 },
222 "harness|hendrycksTest-human_sexuality|5": {
223 "acc": 0.7404580152671756,
224 "acc_stderr": 0.03844876139785271,
225 "acc_norm": 0.7404580152671756,
226 "acc_norm_stderr": 0.03844876139785271
227 },
228 "harness|hendrycksTest-international_law|5": {
229 "acc": 0.8016528925619835,
230 "acc_stderr": 0.036401182719909456,
231 "acc_norm": 0.8016528925619835,
232 "acc_norm_stderr": 0.036401182719909456
233 },
234 "harness|hendrycksTest-jurisprudence|5": {
235 "acc": 0.7777777777777778,
236 "acc_stderr": 0.040191074725573483,
237 "acc_norm": 0.7777777777777778,
238 "acc_norm_stderr": 0.040191074725573483
239 },
240 "harness|hendrycksTest-logical_fallacies|5": {
241 "acc": 0.754601226993865,
242 "acc_stderr": 0.03380939813943354,
243 "acc_norm": 0.754601226993865,
244 "acc_norm_stderr": 0.03380939813943354
245 },
246 "harness|hendrycksTest-machine_learning|5": {
247 "acc": 0.4732142857142857,
248 "acc_stderr": 0.047389751192741546,
249 "acc_norm": 0.4732142857142857,
250 "acc_norm_stderr": 0.047389751192741546
251 },
252 "harness|hendrycksTest-management|5": {
253 "acc": 0.7766990291262136,
254 "acc_stderr": 0.04123553189891431,
255 "acc_norm": 0.7766990291262136,
256 "acc_norm_stderr": 0.04123553189891431
257 },
258 "harness|hendrycksTest-marketing|5": {
259 "acc": 0.8632478632478633,
260 "acc_stderr": 0.022509033937077802,
261 "acc_norm": 0.8632478632478633,
262 "acc_norm_stderr": 0.022509033937077802
263 },
264 "harness|hendrycksTest-medical_genetics|5": {
265 "acc": 0.69,
266 "acc_stderr": 0.04648231987117316,
267 "acc_norm": 0.69,
268 "acc_norm_stderr": 0.04648231987117316
269 },
270 "harness|hendrycksTest-miscellaneous|5": {
271 "acc": 0.8173690932311622,
272 "acc_stderr": 0.013816335389973141,
273 "acc_norm": 0.8173690932311622,
274 "acc_norm_stderr": 0.013816335389973141
275 },
276 "harness|hendrycksTest-moral_disputes|5": {
277 "acc": 0.7254335260115607,
278 "acc_stderr": 0.02402774515526502,
279 "acc_norm": 0.7254335260115607,
280 "acc_norm_stderr": 0.02402774515526502
281 },
282 "harness|hendrycksTest-moral_scenarios|5": {
283 "acc": 0.27039106145251396,
284 "acc_stderr": 0.014854993938010071,
285 "acc_norm": 0.27039106145251396,
286 "acc_norm_stderr": 0.014854993938010071
287 },
288 "harness|hendrycksTest-nutrition|5": {
289 "acc": 0.7516339869281046,
290 "acc_stderr": 0.02473998135511359,
291 "acc_norm": 0.7516339869281046,
292 "acc_norm_stderr": 0.02473998135511359
293 },
294 "harness|hendrycksTest-philosophy|5": {
295 "acc": 0.7331189710610932,
296 "acc_stderr": 0.025122637608816653,
297 "acc_norm": 0.7331189710610932,
298 "acc_norm_stderr": 0.025122637608816653
299 },
300 "harness|hendrycksTest-prehistory|5": {
301 "acc": 0.7222222222222222,
302 "acc_stderr": 0.024922001168886324,
303 "acc_norm": 0.7222222222222222,
304 "acc_norm_stderr": 0.024922001168886324
305 },
306 "harness|hendrycksTest-professional_accounting|5": {
307 "acc": 0.46099290780141844,
308 "acc_stderr": 0.02973659252642444,
309 "acc_norm": 0.46099290780141844,
310 "acc_norm_stderr": 0.02973659252642444
311 },
312 "harness|hendrycksTest-professional_law|5": {
313 "acc": 0.4680573663624511,
314 "acc_stderr": 0.012744149704869647,
315 "acc_norm": 0.4680573663624511,
316 "acc_norm_stderr": 0.012744149704869647
317 },
318 "harness|hendrycksTest-professional_medicine|5": {
319 "acc": 0.6801470588235294,
320 "acc_stderr": 0.02833295951403121,
321 "acc_norm": 0.6801470588235294,
322 "acc_norm_stderr": 0.02833295951403121
323 },
324 "harness|hendrycksTest-professional_psychology|5": {
325 "acc": 0.6470588235294118,
326 "acc_stderr": 0.01933314202079716,
327 "acc_norm": 0.6470588235294118,
328 "acc_norm_stderr": 0.01933314202079716
329 },
330 "harness|hendrycksTest-public_relations|5": {
331 "acc": 0.6727272727272727,
332 "acc_stderr": 0.0449429086625209,
333 "acc_norm": 0.6727272727272727,
334 "acc_norm_stderr": 0.0449429086625209
335 },
336 "harness|hendrycksTest-security_studies|5": {
337 "acc": 0.6816326530612244,
338 "acc_stderr": 0.029822533793982062,
339 "acc_norm": 0.6816326530612244,
340 "acc_norm_stderr": 0.029822533793982062
341 },
342 "harness|hendrycksTest-sociology|5": {
343 "acc": 0.8507462686567164,
344 "acc_stderr": 0.025196929874827072,
345 "acc_norm": 0.8507462686567164,
346 "acc_norm_stderr": 0.025196929874827072
347 },
348 "harness|hendrycksTest-us_foreign_policy|5": {
349 "acc": 0.85,
350 "acc_stderr": 0.035887028128263734,
351 "acc_norm": 0.85,
352 "acc_norm_stderr": 0.035887028128263734
353 },
354 "harness|hendrycksTest-virology|5": {
355 "acc": 0.5180722891566265,
356 "acc_stderr": 0.03889951252827216,
357 "acc_norm": 0.5180722891566265,
358 "acc_norm_stderr": 0.03889951252827216
359 },
360 "harness|hendrycksTest-world_religions|5": {
361 "acc": 0.8362573099415205,
362 "acc_stderr": 0.028380919596145866,
363 "acc_norm": 0.8362573099415205,
364 "acc_norm_stderr": 0.028380919596145866
365 },
366 "harness|truthfulqa:mc|0": {
367 "mc1": 0.397796817625459,
368 "mc1_stderr": 0.017133934248559635,
369 "mc2": 0.5816259277988214,
370 "mc2_stderr": 0.01521267822060948
371 },
372 "harness|winogrande|5": {
373 "acc": 0.7963693764798737,
374 "acc_stderr": 0.011317798781626913
375 },
376 "harness|gsm8k|5": {
377 "acc": 0.5966641394996209,
378 "acc_stderr": 0.013512654781814702
379 }
380}