Editing Models with Task Arithmetic
Paper • 2212.04089 • Published • 9
How to use saishf/Multi-Verse-RP-7B-GGUF with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("saishf/Multi-Verse-RP-7B-GGUF", device_map="auto")How to use saishf/Multi-Verse-RP-7B-GGUF with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf saishf/Multi-Verse-RP-7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf saishf/Multi-Verse-RP-7B-GGUF:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf saishf/Multi-Verse-RP-7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf saishf/Multi-Verse-RP-7B-GGUF:Q4_K_M
# 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 saishf/Multi-Verse-RP-7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf saishf/Multi-Verse-RP-7B-GGUF:Q4_K_M
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 saishf/Multi-Verse-RP-7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf saishf/Multi-Verse-RP-7B-GGUF:Q4_K_M
docker model run hf.co/saishf/Multi-Verse-RP-7B-GGUF:Q4_K_M
How to use saishf/Multi-Verse-RP-7B-GGUF with Ollama:
ollama run hf.co/saishf/Multi-Verse-RP-7B-GGUF:Q4_K_M
How to use saishf/Multi-Verse-RP-7B-GGUF with Unsloth Studio:
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 saishf/Multi-Verse-RP-7B-GGUF to start chatting
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 saishf/Multi-Verse-RP-7B-GGUF to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for saishf/Multi-Verse-RP-7B-GGUF to start chatting
How to use saishf/Multi-Verse-RP-7B-GGUF with Docker Model Runner:
docker model run hf.co/saishf/Multi-Verse-RP-7B-GGUF:Q4_K_M
How to use saishf/Multi-Verse-RP-7B-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull saishf/Multi-Verse-RP-7B-GGUF:Q4_K_M
lemonade run user.Multi-Verse-RP-7B-GGUF-Q4_K_M
lemonade list
This is a merge of pre-trained language models created using mergekit.
This model was merged using the task arithmetic merge method using ammarali32/multi_verse_model as a base.
The following models were included in the merge:
The following YAML configuration was used to produce this model:
merge_method: task_arithmetic
base_model: ammarali32/multi_verse_model
parameters:
normalize: true
models:
- model: ammarali32/multi_verse_model+jeiku/Gnosis_Reformatted_Mistral
parameters:
weight: 0.7
- model: ammarali32/multi_verse_model+jeiku/Theory_of_Mind_Roleplay_Mistral
parameters:
weight: 0.65
- model: ammarali32/multi_verse_model+jeiku/Luna_LoRA_Mistral
parameters:
weight: 0.5
- model: ammarali32/multi_verse_model+jeiku/Re-Host_Limarp_Mistral
parameters:
weight: 0.8
- model: ammarali32/multi_verse_model+jeiku/Alpaca_NSFW_Shuffled_Mistral
parameters:
weight: 0.75
- model: ammarali32/multi_verse_model+jeiku/Theory_of_Mind_Mistral
parameters:
weight: 0.7
dtype: float16
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 74.73 |
| AI2 Reasoning Challenge (25-Shot) | 72.35 |
| HellaSwag (10-Shot) | 88.37 |
| MMLU (5-Shot) | 63.94 |
| TruthfulQA (0-shot) | 73.19 |
| Winogrande (5-shot) | 84.14 |
| GSM8k (5-shot) | 66.41 |
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit