Views
No views yet


| Task | Version | Metric | Value | Stderr | |
|---|---|---|---|---|---|
| arc_challenge | 0 | acc | 62.28 | ± | 1.41 |
| acc_norm | 66.80 | ± | 1.37 | ||
| hellaswag | 0 | acc | 66.83 | ± | 0.46 |
| acc_norm | 85.66 | ± | 0.34 | ||
| gsm8k | 0 | acc | 53.52 | ± | 1.37 |
| winogrande | 0 | acc | 81.53 | ± | 1.09 |
| mmlu | 0 | acc | 64.51 | ± | 1.00 |
| Task | Version | Metric | Value | Stderr | |
|---|---|---|---|---|---|
| truthfulqa_mc | 1 | mc1 | 35.98 | ± | 1.68 |
| mc2 | 53.05 | ± | 1.53 |
1base_model: teknium/OpenHermes-2.5-Mistral-7B
2gate_mode: hidden
3dtype: bfloat16
4experts:
5 - source_model: abideen/NexoNimbus-7B
6 positive_prompts:
7 - "Mathematics"
8 - "Physics"
9 - "Chemistry"
10 - "Biology"
11 - "Medicine"
12 - "Engineering"
13 - "Computer Science"
14
15 negative_prompts:
16 - "History"
17 - "Philosophy"
18 - "Linguistics"
19 - "Literature"
20 - "Art and Art History"
21 - "Music Theory and Composition"
22 - "Performing Arts (Theater, Dance)"
23
24 - source_model: mlabonne/NeuralMarcoro14-7B
25 positive_prompts:
26 - "Earth Sciences (Geology, Meteorology, Oceanography)"
27 - "Environmental Science"
28 - "Astronomy and Space Science"
29 - "Psychology"
30 - "Sociology"
31 - "Anthropology"
32 - "Political Science"
33 - "Economics"
34 negative_prompts:
35 - "Education"
36 - "Law"
37 - "Theology and Religious Studies"
38 - "Communication Studies"
39 - "Business and Management"
40 - "Agricultural Sciences"
41 - "Nutrition and Food Science"
42 - "Sports Science"1!pip install -qU transformers bitsandbytes accelerate
2
3from transformers import AutoTokenizer
4import transformers
5import torch
6
7model = "abideen/NexoNimbus-MoE-2x7B"
8
9tokenizer = AutoTokenizer.from_pretrained(model)
10pipeline = transformers.pipeline(
11 "text-generation",
12 model=model,
13 model_kwargs={"torch_dtype": torch.float16, "load_in_4bit": True},
14)
15
16messages = [{"role": "user", "content": "Explain what is data science."}]
17prompt = pipeline.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
18outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
19print(outputs[0]["generated_text"])