Text Generation
Transformers
Safetensors
GGUF
English
mistral
Merge
Eval Results (legacy)
text-generation-inference
Instructions to use kaitchup/Mayonnaise-4in1-02 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kaitchup/Mayonnaise-4in1-02 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="kaitchup/Mayonnaise-4in1-02")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("kaitchup/Mayonnaise-4in1-02") model = AutoModelForCausalLM.from_pretrained("kaitchup/Mayonnaise-4in1-02", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use kaitchup/Mayonnaise-4in1-02 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 kaitchup/Mayonnaise-4in1-02:Q4_0 # Run inference directly in the terminal: llama cli -hf kaitchup/Mayonnaise-4in1-02:Q4_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf kaitchup/Mayonnaise-4in1-02:Q4_0 # Run inference directly in the terminal: llama cli -hf kaitchup/Mayonnaise-4in1-02:Q4_0
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 kaitchup/Mayonnaise-4in1-02:Q4_0 # Run inference directly in the terminal: ./llama-cli -hf kaitchup/Mayonnaise-4in1-02:Q4_0
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 kaitchup/Mayonnaise-4in1-02:Q4_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf kaitchup/Mayonnaise-4in1-02:Q4_0
Use Docker
docker model run hf.co/kaitchup/Mayonnaise-4in1-02:Q4_0
- LM Studio
- Jan
- vLLM
How to use kaitchup/Mayonnaise-4in1-02 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kaitchup/Mayonnaise-4in1-02" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kaitchup/Mayonnaise-4in1-02", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/kaitchup/Mayonnaise-4in1-02:Q4_0
- SGLang
How to use kaitchup/Mayonnaise-4in1-02 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "kaitchup/Mayonnaise-4in1-02" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kaitchup/Mayonnaise-4in1-02", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "kaitchup/Mayonnaise-4in1-02" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kaitchup/Mayonnaise-4in1-02", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use kaitchup/Mayonnaise-4in1-02 with Ollama:
ollama run hf.co/kaitchup/Mayonnaise-4in1-02:Q4_0
- Unsloth Studio
How to use kaitchup/Mayonnaise-4in1-02 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for kaitchup/Mayonnaise-4in1-02 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for kaitchup/Mayonnaise-4in1-02 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for kaitchup/Mayonnaise-4in1-02 to start chatting
- Docker Model Runner
How to use kaitchup/Mayonnaise-4in1-02 with Docker Model Runner:
docker model run hf.co/kaitchup/Mayonnaise-4in1-02:Q4_0
- Lemonade
How to use kaitchup/Mayonnaise-4in1-02 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kaitchup/Mayonnaise-4in1-02:Q4_0
Run and chat with the model
lemonade run user.Mayonnaise-4in1-02-Q4_0
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -115,6 +115,10 @@ model-index:
|
|
| 115 |
This is a mixture of experts created with [mergekit](https://github.com/cg123/mergekit) and based on [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1).
|
| 116 |
## Model Details
|
| 117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
### Model Description
|
| 119 |
|
| 120 |
<!-- Provide a longer summary of what this model is. -->
|
|
|
|
| 115 |
This is a mixture of experts created with [mergekit](https://github.com/cg123/mergekit) and based on [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1).
|
| 116 |
## Model Details
|
| 117 |
|
| 118 |
+
The model was created using a recipe detailed in this article:
|
| 119 |
+
[The Mayonnaise: Rank First on the Open LLM Leaderboard with TIES-Merging
|
| 120 |
+
](https://kaitchup.substack.com/p/the-mayonnaise-rank-first-on-the)
|
| 121 |
+
|
| 122 |
### Model Description
|
| 123 |
|
| 124 |
<!-- Provide a longer summary of what this model is. -->
|