File size: 2,543 Bytes
c63598d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f19a607
c63598d
 
 
 
 
59ec545
c63598d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: apache-2.0
language:
  - en
  - fr
  - de
  - es
  - it
  - pt
  - ru
  - zh
  - ja
pipeline_tag: text-generation
tags:
- chat
---

## This repo contains EXL2 quants of the model. If you need the original weights, please find them [here](https://huggingface.co/anthracite-org/magnum-12b-v2.5-kto).
## Base repo only contains the measurement file, see revisions for your quant of choice.

- [measurement.json](https://huggingface.co/anthracite-org/magnum-12b-v2.5-kto-exl2/tree/main)
- [3.0bpw](https://huggingface.co/anthracite-org/magnum-12b-v2.5-kto-exl2/tree/3.0bpw)
- [4.0bpw](https://huggingface.co/anthracite-org/magnum-12b-v2.5-kto-exl2/tree/4.0bpw)
- [5.0bpw](https://huggingface.co/anthracite-org/magnum-12b-v2.5-kto-exl2/tree/5.0bpw)
- [6.0bpw](https://huggingface.co/anthracite-org/magnum-12b-v2.5-kto-exl2/tree/6.0bpw)
- [8.0bpw](https://huggingface.co/anthracite-org/magnum-12b-v2.5-kto-exl2/tree/8.0bpw)

![image/png](https://cdn-uploads.huggingface.co/production/uploads/658a46cbfb9c2bdfae75b3a6/TnsOYFR_aXVcrcjmBUFaG.png)

v2.5 KTO is an experimental release; we are testing a hybrid reinforcement learning strategy of KTO + DPOP, using rejected data sampled from the original model as "rejected". For "chosen", we use data from the original finetuning dataset as "chosen".
This was done on a limited portion of of primarily instruction following data; we plan to scale up a larger KTO dataset in the future for better generalization.

This is the 5th in a series of models designed to replicate the prose quality of the Claude 3 models, specifically Sonnet and Opus. This model is fine-tuned on top of [anthracite-org/magnum-12b-v2](https://huggingface.co/anthracite-org/magnum-12b-v2).

## Prompting
Model has been Instruct tuned with the ChatML formatting. A typical input would look like this:

```py
"""<|im_start|>user
Hi there!<|im_end|>
<|im_start|>assistant
Nice to meet you!<|im_end|>
<|im_start|>user
Can I ask a question?<|im_end|>
<|im_start|>assistant
"""
```

## Credits
- Stheno dataset (filtered)
- [kalomaze/Opus_Instruct_25k](https://huggingface.co/datasets/kalomaze/Opus_Instruct_25k)
- [Nopm/Opus_WritingStruct](https://huggingface.co/datasets/Nopm/Opus_WritingStruct)
- [Gryphe/Sonnet3.5-SlimOrcaDedupCleaned](https://huggingface.co/datasets/Gryphe/Sonnet3.5-SlimOrcaDedupCleaned) (A ~16k rows subset)
- [kalomaze/Opus_Instruct_3k](https://huggingface.co/datasets/kalomaze/Opus_Instruct_3k)

This model has been a team effort, and the credits goes to all members of Anthracite.

## Safety
...