Text Generation
Transformers
Safetensors
English
mistral
mergekit
Merge
della
conversational
text-generation-inference
Instructions to use Naphula/Salamander-24B-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Naphula/Salamander-24B-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Naphula/Salamander-24B-v1") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("Naphula/Salamander-24B-v1") model = AutoModelForMultimodalLM.from_pretrained("Naphula/Salamander-24B-v1") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Naphula/Salamander-24B-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Naphula/Salamander-24B-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Naphula/Salamander-24B-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Naphula/Salamander-24B-v1
- SGLang
How to use Naphula/Salamander-24B-v1 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 "Naphula/Salamander-24B-v1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Naphula/Salamander-24B-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "Naphula/Salamander-24B-v1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Naphula/Salamander-24B-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Naphula/Salamander-24B-v1 with Docker Model Runner:
docker model run hf.co/Naphula/Salamander-24B-v1
File size: 5,108 Bytes
e6ea92a bb6e505 e6ea92a bb6e505 e6ea92a bb6e505 36ccfe1 9b48fac 36ccfe1 bb6e505 e8c4e47 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 | ---
base_model:
- Darkhn/Magistral-2509-24B-Text-Only
- ReadyArt/Broken-Tutu-24B-Transgression-v2.0
- MuXodious/Tiamat-24B-Magistral-PaperWitch-heresy
- llmfan46/MS3.2-PaintedFantasy-v4.1-24B-ultra-uncensored-heretic-v1
- ReadyArt/Dark-Nexus-24B-v2.0
- ReadyArt/4.2.0-Broken-Tutu-24b
- Undi95/MistralThinker-v1.1
- TheDrummer/Magidonia-24B-v4.3
- TheDrummer/Rivermind-24B-v1
- MuXodious/Hearthfire-24B-absolute-heresy
- Darkhn/M3.2-24B-Animus-V7.1
- zerofata/MS3.2-PaintedFantasy-v3-24B
- CrucibleLab/M3.2-24B-Loki-V1.3
- aixonlab/Eurydice-24b-v3.5
- Nabbers1999/MS-24B-Bathory-GRPO
- Naphula/BeaverAI_Fallen-Mistral-Small-3.1-24B-v1e_textonly
- allura-forge/ms32-final-TEXTONLY
- TheDrummer/Precog-24B-v1
- dphn/Dolphin-Mistral-24B-Venice-Edition
- TroyDoesAI/BlackSheep-24B
- trashpanda-org/MS3.2-24B-Mullein-v2
- TheDrummer/Cydonia-24B-v4.3
- zerofata/MS3.2-PaintedFantasy-v2-24B
language: eng
library_name: transformers
license: apache-2.0
tags:
- mergekit
- merge
- mistral
- della
widget:
- text: "Salamander-24B-v1"
output:
url: https://cdn-uploads.huggingface.co/production/uploads/68e840caa318194c44ec2a04/3KVMnxiGakKyYgcqHIa8B.jpeg
---
# Salamander 24B v1

This is **Checkpoint 82**, a new [`della`](https://arxiv.org/abs/2406.11617) merge combining several 2501, 2506, and 2509 models, with fallen mistral 2503 also sprinkled in.
No refusals were observed in the initial tests. The model should not require ablation or jailbreaks.
```yaml
architecture: MistralForCausalLM
models:
## BASE ##
- model: B:\24B\Darkhn--Magistral-2509-24B-Text-Only
## 2501 ##
- model: B:\24B\!models--ReadyArt--4.2.0-Broken-Tutu-24b
parameters:
weight: 0.1
density: 0.9
epsilon: 0.09
- model: B:\24B\!models--ReadyArt--Broken-Tutu-24B-Transgression-v2.0
parameters:
weight: 0.1
density: 0.9
epsilon: 0.09
- model: B:\24B\PrivateMerge29 # This merge is no longer available on HF
parameters:
weight: 0.1
density: 0.9
epsilon: 0.09
- model: B:\24B\!models--Nabbers1999--MS-24B-Bathory-GRPO
parameters:
weight: 0.1
density: 0.9
epsilon: 0.09
- model: B:\24B\!models--dphn--Dolphin-Mistral-24B-Venice-Edition
parameters:
weight: 0.1
density: 0.9
epsilon: 0.09
- model: B:\24B\!models--TroyDoesAI--BlackSheep-24B
parameters:
weight: 0.1
density: 0.9
epsilon: 0.09
- model: B:\24B\!models--aixonlab--Eurydice-24b-v3.5
parameters:
weight: 0.1
density: 0.9
epsilon: 0.09
- model: B:\24B\!models--Undi95--MistralThinker-v1.1
parameters:
weight: 0.1
density: 0.9
epsilon: 0.09
## 2503 ##
- model: B:\24B\!BeaverAI_Fallen-Mistral-Small-3.1-24B-v1e_textonly
parameters:
weight: 0.2
density: 0.9
epsilon: 0.09
## 2506 ##
- model: B:\24B\!models--zerofata--MS3.2-PaintedFantasy-v2-24B
parameters:
weight: 0.1
weight: 0.09
epsilon: 0.09
- model: B:\24B\!models--TheDrummer--Cydonia-24B-v4.3
parameters:
weight: 0.2
density: 0.9
epsilon: 0.09
- model: B:\24B\!models--TheDrummer--Rivermind-24B-v1
parameters:
weight: 0.1
density: 0.9
epsilon: 0.09
- model: B:\24B\!models--trashpanda-org--MS3.2-24B-Mullein-v2
parameters:
weight: 0.1
density: 0.9
epsilon: 0.09
- model: B:\24B\!models--allura-forge--ms32-final-TEXTONLY
parameters:
weight: 0.1
density: 0.9
epsilon: 0.09
- model: B:\24B\!models--CrucibleLab--M3.2-24B-Loki-V1.3
parameters:
weight: 0.1
density: 0.9
epsilon: 0.09
- model: B:\24B\!models--Darkhn--M3.2-24B-Animus-V7.1
parameters:
weight: 0.1
density: 0.9
epsilon: 0.09
- model: B:\24B\MuXodious--Hearthfire-24B-absolute-heresy
parameters:
weight: 0.1
density: 0.9
epsilon: 0.09
- model: B:\24B\!models--ReadyArt--Dark-Nexus-24B-v2.0
parameters:
weight: 0.1
density: 0.9
epsilon: 0.09
## 2509##
- model: B:\24B\!models--TheDrummer--Precog-24B-v1
parameters:
weight: 0.2
density: 0.9
epsilon: 0.09
- model: B:\24B\!models--TheDrummer--Magidonia-24B-v4.3
parameters:
weight: 0.2
density: 0.9
epsilon: 0.09
- model: B:\24B\llmfan46--MS3.2-PaintedFantasy-v4.1-24B-ultra-uncensored-heretic-v1
parameters:
weight: 0.2
density: 0.9
epsilon: 0.09
- model: B:\24B\!models--zerofata--MS3.2-PaintedFantasy-v3-24B
parameters:
weight: 0.2
density: 0.9
epsilon: 0.09
- model: B:\24B\MuXodious--Tiamat-24B-Magistral-PaperWitch-heresy\textonly
parameters:
weight: 0.2
density: 0.9
epsilon: 0.09
merge_method: della
base_model: B:\24B\Darkhn--Magistral-2509-24B-Text-Only
parameters:
lambda: 1.0
normalize: false
int8_mask: false
rescale: true
tokenizer:
source: union
dtype: float32
out_dtype: bfloat16
name: C82
``` |