Views
No views yet
| Name | Quant method | Size |
|---|---|---|
| Beyonder-4x7B-v2.Q2_K.gguf | Q2_K | 8.24GB |
| Beyonder-4x7B-v2.IQ3_XS.gguf | IQ3_XS | 9.21GB |
| Beyonder-4x7B-v2.IQ3_S.gguf | IQ3_S | 9.73GB |
| Beyonder-4x7B-v2.Q3_K_S.gguf | Q3_K_S | 9.72GB |
| Beyonder-4x7B-v2.IQ3_M.gguf | IQ3_M | 9.92GB |
| Beyonder-4x7B-v2.Q3_K.gguf | Q3_K | 10.79GB |
| Beyonder-4x7B-v2.Q3_K_M.gguf | Q3_K_M | 10.79GB |
| Beyonder-4x7B-v2.Q3_K_L.gguf | Q3_K_L | 11.68GB |
| Beyonder-4x7B-v2.IQ4_XS.gguf | IQ4_XS | 12.15GB |
| Beyonder-4x7B-v2.Q4_0.gguf | Q4_0 | 12.69GB |
| Beyonder-4x7B-v2.IQ4_NL.gguf | IQ4_NL | 4.29GB |
| Beyonder-4x7B-v2.Q4_K_S.gguf | Q4_K_S | 12.8GB |
| Beyonder-4x7B-v2.Q4_K.gguf | Q4_K | 13.61GB |
| Beyonder-4x7B-v2.Q4_K_M.gguf | Q4_K_M | 13.61GB |
| Beyonder-4x7B-v2.Q4_1.gguf | Q4_1 | 14.09GB |
| Beyonder-4x7B-v2.Q5_0.gguf | Q5_0 | 15.48GB |
| Beyonder-4x7B-v2.Q5_K_S.gguf | Q5_K_S | 15.48GB |
| Beyonder-4x7B-v2.Q5_K.gguf | Q5_K | 15.96GB |
| Beyonder-4x7B-v2.Q5_K_M.gguf | Q5_K_M | 15.96GB |
| Beyonder-4x7B-v2.Q5_1.gguf | Q5_1 | 16.88GB |
| Beyonder-4x7B-v2.Q6_K.gguf | Q6_K | 18.46GB |
| Beyonder-4x7B-v2.Q8_0.gguf | Q8_0 | 23.9GB |
1base_model: mlabonne/Marcoro14-7B-slerp
2experts:
3 - source_model: openchat/openchat-3.5-1210
4 positive_prompts:
5 - "chat"
6 - "assistant"
7 - "tell me"
8 - "explain"
9 - source_model: beowolx/CodeNinja-1.0-OpenChat-7B
10 positive_prompts:
11 - "code"
12 - "python"
13 - "javascript"
14 - "programming"
15 - "algorithm"
16 - source_model: maywell/PiVoT-0.1-Starling-LM-RP
17 positive_prompts:
18 - "storywriting"
19 - "write"
20 - "scene"
21 - "story"
22 - "character"
23 - source_model: WizardLM/WizardMath-7B-V1.1
24 positive_prompts:
25 - "reason"
26 - "math"
27 - "mathematics"
28 - "solve"
29 - "count"1!pip install -qU transformers bitsandbytes accelerate
2
3from transformers import AutoTokenizer
4import transformers
5import torch
6
7model = "mlabonne/Beyonder-4x7B-v2"
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 a Mixture of Experts is in less than 100 words."}]
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"])