Text Generation
Transformers
Safetensors
NeMo
mistral
mergekit
Merge
qliphoth
conversational
text-generation-inference
Instructions to use OccultAI/Qliphoth-12B-v1.2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OccultAI/Qliphoth-12B-v1.2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="OccultAI/Qliphoth-12B-v1.2") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("OccultAI/Qliphoth-12B-v1.2") model = AutoModelForCausalLM.from_pretrained("OccultAI/Qliphoth-12B-v1.2", device_map="auto") 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]:])) - NeMo
How to use OccultAI/Qliphoth-12B-v1.2 with NeMo:
# tag did not correspond to a valid NeMo domain.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use OccultAI/Qliphoth-12B-v1.2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OccultAI/Qliphoth-12B-v1.2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OccultAI/Qliphoth-12B-v1.2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/OccultAI/Qliphoth-12B-v1.2
- SGLang
How to use OccultAI/Qliphoth-12B-v1.2 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 "OccultAI/Qliphoth-12B-v1.2" \ --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": "OccultAI/Qliphoth-12B-v1.2", "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 "OccultAI/Qliphoth-12B-v1.2" \ --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": "OccultAI/Qliphoth-12B-v1.2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use OccultAI/Qliphoth-12B-v1.2 with Docker Model Runner:
docker model run hf.co/OccultAI/Qliphoth-12B-v1.2
Update README.md
Browse files
README.md
CHANGED
|
@@ -113,4 +113,289 @@ out_dtype: bfloat16
|
|
| 113 |
tokenizer:
|
| 114 |
source: base
|
| 115 |
chat_template: "chatml"
|
| 116 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
tokenizer:
|
| 114 |
source: base
|
| 115 |
chat_template: "chatml"
|
| 116 |
+
```
|
| 117 |
+
|
| 118 |
+
---
|
| 119 |
+
|
| 120 |
+
## Notes for v1 and 1.1
|
| 121 |
+
|
| 122 |
+
**Qliphoth 12B** has some refusals and may require jailbreaks or ablation to fully uncensor.
|
| 123 |
+
|
| 124 |
+
Both `Mistral Tekken` and `ChatML` chat templates are supported and may produce different results, so it's recommended to use one of those.
|
| 125 |
+
|
| 126 |
+
The model is very creative and produces highly varied, verbose output even at low temps. A `karcher` merge was tested using the same donors and was found to be less creative in comparison.
|
| 127 |
+
|
| 128 |
+
## Version 1 vs 1.1
|
| 129 |
+
In my simple tests, [v1](https://huggingface.co/OccultAI/Qliphoth-12B-v1) had a distinct, visceral style and seemed to prefer `Mistral Tekken`, while [v1.1](https://huggingface.co/OccultAI/Qliphoth-12B-v1.1) was more clinical and detached, and did better with `ChatML` template.
|
| 130 |
+
|
| 131 |
+
Both versions performed well and were tested with [Q0 Bench](https://huggingface.co/Naphula/Q0_Bench), where v1.1 scored about 3000 points higher. They were also tested with the new [MiniBARD](https://huggingface.co/spaces/Naphula/MiniBARD) (Benchmark for Aesthetics, Roleplay & Depth). Again here, v1.1 outperformed v1. **Either version is great**, so test them both if you have time, although I may slightly prefer the style of v1.
|
| 132 |
+
|
| 133 |
+

|
| 134 |
+
|
| 135 |
+
### ⚙️ Configuration
|
| 136 |
+
The following YAML configuration was used to produce this model:
|
| 137 |
+
|
| 138 |
+
<details><summary>Qliphoth 12B v1 yaml</summary>
|
| 139 |
+
|
| 140 |
+
```yaml
|
| 141 |
+
architecture: MistralForCausalLM
|
| 142 |
+
base_model: B:/12B/IntervitensInc--Mistral-Nemo-Base-2407-chatml
|
| 143 |
+
models:
|
| 144 |
+
- model: B:/12B/SicariusSicariiStuff--Impish_Bloodmoon_12B
|
| 145 |
+
parameters:
|
| 146 |
+
pinocchio: 0.0
|
| 147 |
+
- model: B:/12B/NeverSleep--Lumimaid-v0.2-12B
|
| 148 |
+
parameters:
|
| 149 |
+
pinocchio: 0.0
|
| 150 |
+
- model: B:/12B/KOOWEEYUS--BlackSheep-RP-12B
|
| 151 |
+
parameters:
|
| 152 |
+
pinocchio: 0.0
|
| 153 |
+
- model: B:/12B/KOOWEEYUS--BlackSheep-RP-12B # x2 influence for the apprentice
|
| 154 |
+
parameters:
|
| 155 |
+
pinocchio: 0.0
|
| 156 |
+
- model: B:/12B/SuperbEmphasis--MN-12b-RP-Ink-RP-Longform
|
| 157 |
+
parameters:
|
| 158 |
+
pinocchio: 0.0
|
| 159 |
+
- model: B:/12B/TheDrummer--Rocinante-X-12B-v1
|
| 160 |
+
parameters:
|
| 161 |
+
pinocchio: 0.0
|
| 162 |
+
- model: B:/12B/WokeAI--Tankie-DPE-12b-SFT
|
| 163 |
+
parameters:
|
| 164 |
+
pinocchio: 0.0
|
| 165 |
+
- model: B:/12B/WokeAI--Tankie-DPE-12B-SFT-v2 # pinocchio
|
| 166 |
+
parameters:
|
| 167 |
+
pinocchio: 1.0
|
| 168 |
+
- model: B:/12B/XeyonAI--Mistral-Helcyon-Mercury-12b-v3.2
|
| 169 |
+
parameters:
|
| 170 |
+
pinocchio: 0.0
|
| 171 |
+
- model: B:/12B/anthracite-org--magnum-v4-12b
|
| 172 |
+
parameters:
|
| 173 |
+
pinocchio: 0.0
|
| 174 |
+
- model: B:/12B/dphn--dolphin-2.9.3-mistral-nemo-12b
|
| 175 |
+
parameters:
|
| 176 |
+
pinocchio: 0.0
|
| 177 |
+
- model: B:/12B/Edens-Gate--nemo-erebus-lora-2152/nemo-erebus-lora-2152
|
| 178 |
+
parameters:
|
| 179 |
+
pinocchio: 0.0
|
| 180 |
+
- model: B:/12B/Epiculous--Azure_Dusk-v0.2
|
| 181 |
+
parameters:
|
| 182 |
+
pinocchio: 0.0
|
| 183 |
+
- model: B:/12B/Epiculous--Crimson_Dawn-v0.2
|
| 184 |
+
parameters:
|
| 185 |
+
pinocchio: 0.0
|
| 186 |
+
- model: B:/12B/Fizzarolli--MN-12b-Rosier-v1
|
| 187 |
+
parameters:
|
| 188 |
+
pinocchio: 0.0
|
| 189 |
+
- model: B:/12B/HumanLLMs--Human-Like-Mistral-Nemo-Instruct-2407
|
| 190 |
+
parameters:
|
| 191 |
+
pinocchio: 0.0
|
| 192 |
+
- model: B:/12B/IIEleven11--Kalypso
|
| 193 |
+
parameters:
|
| 194 |
+
pinocchio: 0.0
|
| 195 |
+
- model: B:/12B/Lambent--Arsenic-Shahrazad-12B-v4.1
|
| 196 |
+
parameters:
|
| 197 |
+
pinocchio: 0.0
|
| 198 |
+
- model: B:/12B/LatitudeGames--Wayfarer-2-12B
|
| 199 |
+
parameters:
|
| 200 |
+
pinocchio: 0.0
|
| 201 |
+
- model: B:/12B/PocketDoc--Dans-DangerousWinds-V1.1.0-12b
|
| 202 |
+
parameters:
|
| 203 |
+
pinocchio: 0.0
|
| 204 |
+
- model: B:/12B/PocketDoc--Dans-SakuraKaze-V1.0.0-12b
|
| 205 |
+
parameters:
|
| 206 |
+
pinocchio: 0.0
|
| 207 |
+
- model: B:/12B/PygmalionAI--Pygmalion-3-12B
|
| 208 |
+
parameters:
|
| 209 |
+
pinocchio: 0.0
|
| 210 |
+
- model: B:/12B/sleepdeprived3--Christian-Bible-Expert-v2.0-12B
|
| 211 |
+
parameters:
|
| 212 |
+
pinocchio: 0.0
|
| 213 |
+
- model: B:/12B/rAIfle--Questionable-MN-bf16
|
| 214 |
+
parameters:
|
| 215 |
+
pinocchio: 0.0
|
| 216 |
+
- model: B:/12B/jtatman--mistral_nemo_12b_reasoning_psychology_lora/mistral_nemo_12b_reasoning_psychology_lora
|
| 217 |
+
parameters:
|
| 218 |
+
pinocchio: 0.0
|
| 219 |
+
- model: B:/12B/LatitudeGames--Muse-12B
|
| 220 |
+
parameters:
|
| 221 |
+
pinocchio: 0.0
|
| 222 |
+
- model: B:/12B/allura-org--Tlacuilo-12B
|
| 223 |
+
parameters:
|
| 224 |
+
pinocchio: 0.0
|
| 225 |
+
- model: B:/12B/ChaoticNeutrals--Mag-Mell-Reasoner-12B
|
| 226 |
+
parameters:
|
| 227 |
+
pinocchio: 0.0
|
| 228 |
+
- model: A:/LLM/.cache/13B/taozi555--MN-12B-Mag-Mell-R1-KTO
|
| 229 |
+
parameters:
|
| 230 |
+
pinocchio: 0.0
|
| 231 |
+
- model: A:/LLM/.cache/13B/UniLLMer--GslayerKaa
|
| 232 |
+
parameters:
|
| 233 |
+
pinocchio: 0.0
|
| 234 |
+
merge_method: qliphoth
|
| 235 |
+
dtype: float32
|
| 236 |
+
out_dtype: bfloat16
|
| 237 |
+
tokenizer:
|
| 238 |
+
source: base
|
| 239 |
+
chat_template: "chatml"
|
| 240 |
+
```
|
| 241 |
+
|
| 242 |
+
</details>
|
| 243 |
+
|
| 244 |
+
<details><summary>Qliphoth 12B v1.1 yaml</summary>
|
| 245 |
+
|
| 246 |
+
```yaml
|
| 247 |
+
architecture: MistralForCausalLM
|
| 248 |
+
base_model: B:/12B/IntervitensInc--Mistral-Nemo-Base-2407-chatml
|
| 249 |
+
models:
|
| 250 |
+
- model: B:/12B/SicariusSicariiStuff--Impish_Bloodmoon_12B
|
| 251 |
+
parameters:
|
| 252 |
+
pinocchio: 0.0
|
| 253 |
+
- model: B:/12B/NeverSleep--Lumimaid-v0.2-12B
|
| 254 |
+
parameters:
|
| 255 |
+
pinocchio: 0.0
|
| 256 |
+
- model: B:/12B/KOOWEEYUS--BlackSheep-RP-12B
|
| 257 |
+
parameters:
|
| 258 |
+
pinocchio: 0.0
|
| 259 |
+
- model: B:/12B/nothingiisreal--MN-12B-Celeste-V1.9
|
| 260 |
+
parameters:
|
| 261 |
+
pinocchio: 0.0
|
| 262 |
+
- model: B:/12B/SuperbEmphasis--MN-12b-RP-Ink-RP-Longform
|
| 263 |
+
parameters:
|
| 264 |
+
pinocchio: 0.0
|
| 265 |
+
- model: B:/12B/TheDrummer--Rocinante-X-12B-v1
|
| 266 |
+
parameters:
|
| 267 |
+
pinocchio: 0.0
|
| 268 |
+
- model: B:/12B/WokeAI--Tankie-DPE-12b-SFT
|
| 269 |
+
parameters:
|
| 270 |
+
pinocchio: 0.0
|
| 271 |
+
- model: B:/12B/WokeAI--Tankie-DPE-12B-SFT-v2 # pinocchio
|
| 272 |
+
parameters:
|
| 273 |
+
pinocchio: 1.0
|
| 274 |
+
- model: B:/12B/XeyonAI--Mistral-Helcyon-Mercury-12b-v3.2
|
| 275 |
+
parameters:
|
| 276 |
+
pinocchio: 0.0
|
| 277 |
+
- model: B:/12B/anthracite-org--magnum-v4-12b
|
| 278 |
+
parameters:
|
| 279 |
+
pinocchio: 0.0
|
| 280 |
+
- model: B:/12B/dphn--dolphin-2.9.3-mistral-nemo-12b
|
| 281 |
+
parameters:
|
| 282 |
+
pinocchio: 0.0
|
| 283 |
+
- model: B:/12B/Edens-Gate--nemo-erebus-lora-2152/nemo-erebus-lora-2152
|
| 284 |
+
parameters:
|
| 285 |
+
pinocchio: 0.0
|
| 286 |
+
- model: B:/12B/Epiculous--Azure_Dusk-v0.2
|
| 287 |
+
parameters:
|
| 288 |
+
pinocchio: 0.0
|
| 289 |
+
- model: B:/12B/Epiculous--Crimson_Dawn-v0.2
|
| 290 |
+
parameters:
|
| 291 |
+
pinocchio: 0.0
|
| 292 |
+
- model: B:/12B/Fizzarolli--MN-12b-Rosier-v1
|
| 293 |
+
parameters:
|
| 294 |
+
pinocchio: 0.0
|
| 295 |
+
- model: B:/12B/HumanLLMs--Human-Like-Mistral-Nemo-Instruct-2407
|
| 296 |
+
parameters:
|
| 297 |
+
pinocchio: 0.0
|
| 298 |
+
- model: B:/12B/IIEleven11--Kalypso
|
| 299 |
+
parameters:
|
| 300 |
+
pinocchio: 0.0
|
| 301 |
+
- model: B:/12B/Lambent--Arsenic-Shahrazad-12B-v4.3.2
|
| 302 |
+
parameters:
|
| 303 |
+
pinocchio: 0.0
|
| 304 |
+
- model: B:/12B/Lambent--Arsenic-Shahrazad-12B-v4.1
|
| 305 |
+
parameters:
|
| 306 |
+
pinocchio: 0.0
|
| 307 |
+
- model: B:/12B/LatitudeGames--Wayfarer-2-12B
|
| 308 |
+
parameters:
|
| 309 |
+
pinocchio: 0.0
|
| 310 |
+
- model: B:/12B/PocketDoc--Dans-DangerousWinds-V1.1.0-12b
|
| 311 |
+
parameters:
|
| 312 |
+
pinocchio: 0.0
|
| 313 |
+
- model: B:/12B/PocketDoc--Dans-SakuraKaze-V1.0.0-12b
|
| 314 |
+
parameters:
|
| 315 |
+
pinocchio: 0.0
|
| 316 |
+
- model: B:/12B/PygmalionAI--Pygmalion-3-12B
|
| 317 |
+
parameters:
|
| 318 |
+
pinocchio: 0.0
|
| 319 |
+
- model: B:/12B/sleepdeprived3--Christian-Bible-Expert-v2.0-12B
|
| 320 |
+
parameters:
|
| 321 |
+
pinocchio: 0.0
|
| 322 |
+
- model: B:/12B/rAIfle--Questionable-MN-bf16
|
| 323 |
+
parameters:
|
| 324 |
+
pinocchio: 0.0
|
| 325 |
+
- model: B:/12B/jtatman--mistral_nemo_12b_reasoning_psychology_lora/mistral_nemo_12b_reasoning_psychology_lora
|
| 326 |
+
parameters:
|
| 327 |
+
pinocchio: 0.0
|
| 328 |
+
- model: B:/12B/LatitudeGames--Muse-12B
|
| 329 |
+
parameters:
|
| 330 |
+
pinocchio: 0.0
|
| 331 |
+
- model: B:/12B/allura-org--Tlacuilo-12B
|
| 332 |
+
parameters:
|
| 333 |
+
pinocchio: 0.0
|
| 334 |
+
- model: B:/12B/ChaoticNeutrals--Mag-Mell-Reasoner-12B
|
| 335 |
+
parameters:
|
| 336 |
+
pinocchio: 0.0
|
| 337 |
+
- model: A:/LLM/.cache/13B/taozi555--MN-12B-Mag-Mell-R1-KTO
|
| 338 |
+
parameters:
|
| 339 |
+
pinocchio: 0.0
|
| 340 |
+
- model: A:/LLM/.cache/13B/UniLLMer--GslayerKaa
|
| 341 |
+
parameters:
|
| 342 |
+
pinocchio: 0.0
|
| 343 |
+
- model: B:/12B/Retreatcost--Evertide-RX-12B
|
| 344 |
+
parameters:
|
| 345 |
+
pinocchio: 0.0
|
| 346 |
+
merge_method: qliphoth
|
| 347 |
+
dtype: float32
|
| 348 |
+
out_dtype: bfloat16
|
| 349 |
+
tokenizer:
|
| 350 |
+
source: base
|
| 351 |
+
chat_template: "chatml"
|
| 352 |
+
```
|
| 353 |
+
|
| 354 |
+
</details>
|
| 355 |
+
|
| 356 |
+
To fix tokenizer issues while retaining enhanced intelligence of the chatml base:
|
| 357 |
+
|
| 358 |
+
1. I first merged the model using
|
| 359 |
+
```yaml
|
| 360 |
+
base_model: B:/12B/IntervitensInc--Mistral-Nemo-Base-2407-chatml
|
| 361 |
+
tokenizer:
|
| 362 |
+
source: base
|
| 363 |
+
chat_template: "chatml"
|
| 364 |
+
```
|
| 365 |
+
|
| 366 |
+
2. I then merged it again using
|
| 367 |
+
```yaml
|
| 368 |
+
base_model: B:/12B/mistralai--Mistral-Nemo-Instruct-2407
|
| 369 |
+
tokenizer:
|
| 370 |
+
source: union
|
| 371 |
+
chat_template: auto
|
| 372 |
+
```
|
| 373 |
+
|
| 374 |
+
3. I then had to modify `mergekit/tokenizer/embed.py` to allow for the passthrough merge
|
| 375 |
+
```py
|
| 376 |
+
token_configs[token] = TokenEmbeddingConfig(source=ZeroEmbedding(kind="zero"))
|
| 377 |
+
|
| 378 |
+
) -> torch.Tensor:
|
| 379 |
+
if isinstance(cfg.source, ZeroEmbedding):
|
| 380 |
+
first_tensor = next(iter(tensors.values()))
|
| 381 |
+
embed = torch.zeros(
|
| 382 |
+
first_tensor.shape[1],
|
| 383 |
+
dtype=first_tensor.dtype,
|
| 384 |
+
device=first_tensor.device
|
| 385 |
+
)
|
| 386 |
+
```
|
| 387 |
+
|
| 388 |
+
4. I then ran another merge to fix tokenizer issues
|
| 389 |
+
```yaml
|
| 390 |
+
merge_method: passthrough
|
| 391 |
+
slices:
|
| 392 |
+
- sources:
|
| 393 |
+
- model: B:\12B\Stage1Base
|
| 394 |
+
layer_range: [0, 40]
|
| 395 |
+
tokenizer_source: B:\12B\Stage2Union
|
| 396 |
+
chat_template: auto
|
| 397 |
+
```
|
| 398 |
+
|
| 399 |
+
For some reason, this process produced significantly smarter output than just using `base_model: B:/12B/mistralai--Mistral-Nemo-Instruct-2407`.
|
| 400 |
+
|
| 401 |
+
**This passthrough process using base as base_model was replicated for v1.2**
|