allknowingroger / Llama3merge7-15B-MoE

huggingface.co
Total runs: 7
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: April 22 2024
text-generation

Introduction of Llama3merge7-15B-MoE

Model Details of Llama3merge7-15B-MoE

Llama3merge7-15B-MoE

Llama3merge7-15B-MoE is a Mixture of Experts (MoE) made with the following models using LazyMergekit :

🧩 Configuration
base_model: Kukedlc/NeuralLlamita-3-8B-v0.2
experts:
  - source_model: Kukedlc/NeuralLlamita-3-8B-v0.2
    positive_prompts: ["why"]
  - source_model: cognitivecomputations/dolphin-2.9-llama3-8b
    positive_prompts: ["what"]
💻 Usage
!pip install -qU transformers bitsandbytes accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "allknowingroger/Llama3merge7-15B-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 allknowingroger Llama3merge7-15B-MoE on huggingface.co

7
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About Llama3merge7-15B-MoE huggingface.co Model

More Llama3merge7-15B-MoE license Visit here:

https://choosealicense.com/licenses/apache-2.0

Llama3merge7-15B-MoE huggingface.co

Llama3merge7-15B-MoE huggingface.co is an AI model on huggingface.co that provides Llama3merge7-15B-MoE's model effect (), which can be used instantly with this allknowingroger Llama3merge7-15B-MoE model. huggingface.co supports a free trial of the Llama3merge7-15B-MoE model, and also provides paid use of the Llama3merge7-15B-MoE. Support call Llama3merge7-15B-MoE model through api, including Node.js, Python, http.

allknowingroger Llama3merge7-15B-MoE online free

Llama3merge7-15B-MoE huggingface.co is an online trial and call api platform, which integrates Llama3merge7-15B-MoE's modeling effects, including api services, and provides a free online trial of Llama3merge7-15B-MoE, you can try Llama3merge7-15B-MoE online for free by clicking the link below.

allknowingroger Llama3merge7-15B-MoE online free url in huggingface.co:

https://huggingface.co/allknowingroger/Llama3merge7-15B-MoE

Llama3merge7-15B-MoE install

Llama3merge7-15B-MoE is an open source model from GitHub that offers a free installation service, and any user can find Llama3merge7-15B-MoE on GitHub to install. At the same time, huggingface.co provides the effect of Llama3merge7-15B-MoE install, users can directly use Llama3merge7-15B-MoE installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Llama3merge7-15B-MoE install url in huggingface.co:

https://huggingface.co/allknowingroger/Llama3merge7-15B-MoE

Url of Llama3merge7-15B-MoE

Provider of Llama3merge7-15B-MoE huggingface.co

allknowingroger
ORGANIZATIONS

Other API from allknowingroger