Instructions to use RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf:Q4_K_M
Use Docker
docker model run hf.co/RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf with Ollama:
ollama run hf.co/RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf with Docker Model Runner:
docker model run hf.co/RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf:Q4_K_M
- Lemonade
How to use RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RichardErkhov/allknowingroger_-_MultiverseMath-12B-MoE-gguf:Q4_K_M
Run and chat with the model
lemonade run user.allknowingroger_-_MultiverseMath-12B-MoE-gguf-Q4_K_M
List all available models
lemonade list
- Atomic Chat
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Quantization made by Richard Erkhov.
MultiverseMath-12B-MoE - GGUF
- Model creator: https://huggingface.co/allknowingroger/
- Original model: https://huggingface.co/allknowingroger/MultiverseMath-12B-MoE/
Original model description:
license: apache-2.0 tags: - moe - frankenmoe - merge - mergekit - lazymergekit - allknowingroger/MultiverseEx26-7B-slerp - DT12the/Math-Mixtral-7B base_model: - allknowingroger/MultiverseEx26-7B-slerp - DT12the/Math-Mixtral-7B
NeuralPipe-7B-slerp
NeuralPipe-7B-slerp is a Mixture of Experts (MoE) made with the following models using LazyMergekit:
π§© Configuration
base_model: allknowingroger/MultiverseEx26-7B-slerp
experts:
- source_model: allknowingroger/MultiverseEx26-7B-slerp
positive_prompts: ["what"]
- source_model: DT12the/Math-Mixtral-7B
positive_prompts: ["math"]
π» Usage
!pip install -qU transformers bitsandbytes accelerate
from transformers import AutoTokenizer
import transformers
import torch
model = "allknowingroger/MultiverseMath-12B-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"])
- Downloads last month
- 545
Hardware compatibility
Log In to add your hardware
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support