base_model:mlabonne/AlphaMonarch-7Bgate_mode:hiddendtype:bfloat16experts_per_token:2experts:-source_model:mlabonne/AlphaMonarch-7Bpositive_prompts:-"You excel at reasoning skills. For every prompt you think of an answer from 3 different angles"## (optional)# negative_prompts:# - "This is a prompt expert_model_1 should not be used for"-source_model:bardsai/jaskier-7b-dpo-v5.6positive_prompts:-"You excel at logic and reasoning skills. Reply in a straightforward and concise way"
💻 Usage
!pip install -qU transformers bitsandbytes accelerate
from transformers import AutoTokenizer
import transformers
import torch
model = "mayacinka/ExpertRamonda-7Bx2_MoE"
tokenizer = AutoTokenizer.from_pretrained(model)
pipeline = transformers.pipeline(
"text-generation",
model=model,
model_kwargs={"torch_dtype": torch.float16, "load_in_4bit": True},
)
messages = [{"role": "user", "content": "Explain what a Mixture of Experts is in less than 100 words."}]
prompt = pipeline.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])
Runs of mayacinka ExpertRamonda-7Bx2_MoE on huggingface.co
13
Total runs
0
24-hour runs
0
3-day runs
4
7-day runs
6
30-day runs
More Information About ExpertRamonda-7Bx2_MoE huggingface.co Model
ExpertRamonda-7Bx2_MoE huggingface.co is an AI model on huggingface.co that provides ExpertRamonda-7Bx2_MoE's model effect (), which can be used instantly with this mayacinka ExpertRamonda-7Bx2_MoE model. huggingface.co supports a free trial of the ExpertRamonda-7Bx2_MoE model, and also provides paid use of the ExpertRamonda-7Bx2_MoE. Support call ExpertRamonda-7Bx2_MoE model through api, including Node.js, Python, http.
ExpertRamonda-7Bx2_MoE huggingface.co is an online trial and call api platform, which integrates ExpertRamonda-7Bx2_MoE's modeling effects, including api services, and provides a free online trial of ExpertRamonda-7Bx2_MoE, you can try ExpertRamonda-7Bx2_MoE online for free by clicking the link below.
mayacinka ExpertRamonda-7Bx2_MoE online free url in huggingface.co:
ExpertRamonda-7Bx2_MoE is an open source model from GitHub that offers a free installation service, and any user can find ExpertRamonda-7Bx2_MoE on GitHub to install. At the same time, huggingface.co provides the effect of ExpertRamonda-7Bx2_MoE install, users can directly use ExpertRamonda-7Bx2_MoE installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
ExpertRamonda-7Bx2_MoE install url in huggingface.co: