File size: 1,425 Bytes
ea2819b
 
4755340
 
 
 
 
 
ea2819b
4755340
ea2819b
4755340
ea2819b
4755340
ea2819b
4755340
ea2819b
4755340
ea2819b
4755340
 
 
 
 
 
 
 
ea2819b
4755340
ea2819b
4755340
 
ea2819b
4755340
 
 
ea2819b
4755340
ea2819b
4755340
 
38ea056
4755340
38ea056
ea2819b
4755340
ea2819b
4755340
ea2819b
4755340
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
---
library_name: transformers
license: apache-2.0
base_model:
- mistralai/Mistral-Nemo-Instruct-2407
datasets:
- flammenai/MahouMix-v1
- flammenai/FlameMix-DPO-v1
---
![image/png](https://huggingface.co/flammenai/Mahou-1.0-mistral-7B/resolve/main/mahou1.png)

# Mahou-1.3-mistral-nemo-12B

Mahou is designed to provide short messages in a conversational context. It is capable of casual conversation and character roleplay.

### Chat Format

This model has been trained to use ChatML format.

```
<|im_start|>system
{{system}}<|im_end|>
<|im_start|>{{char}}
{{message}}<|im_end|>
<|im_start|>{{user}}
{{message}}<|im_end|>
```

### Roleplay Format

- Speech without quotes.
- Actions in `*asterisks*`

```
*leans against wall cooly* so like, i just casted a super strong spell at magician academy today, not gonna lie, felt badass.
```

### SillyTavern Settings

1. Use ChatML for the Context Template.
2. Enable Instruct Mode.
3. Use the [Mahou ChatML Instruct preset](https://huggingface.co/datasets/flammenai/Mahou-ST-ChatML-Instruct/raw/main/Mahou.json).
4. *Recommended* Additonal stopping strings: `["\n", "<|", "</"]`
5. Use the [Mahou Sampler preset](https://huggingface.co/datasets/flammenai/Mahou-ST-Sampler-Preset/raw/main/Mahou.json).

### Method

ORPO finetuned on a Google Colab A100 for 1 epoch.

[Fine-tune Llama 3 with ORPO](https://mlabonne.github.io/blog/posts/2024-04-19_Fine_tune_Llama_3_with_ORPO.html)