Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
- fr
|
6 |
+
- de
|
7 |
+
- es
|
8 |
+
- it
|
9 |
+
- pt
|
10 |
+
- ru
|
11 |
+
- zh
|
12 |
+
- ja
|
13 |
+
pipeline_tag: text-generation
|
14 |
+
tags:
|
15 |
+
- chat
|
16 |
+
---
|
17 |
+
|
18 |
+
|
19 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6491e00e057b0928b3e07b75/DImxlQFoc56eiM_XgHDNk.png)
|
20 |
+
This is the sixth 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 [Mistral-Large-Instruct-2407](https://huggingface.co/mistralai/Mistral-Large-Instruct-2407).
|
21 |
+
|
22 |
+
## Prompting
|
23 |
+
Model has been Instruct tuned with the Mistral formatting. A typical input would look like this:
|
24 |
+
|
25 |
+
```py
|
26 |
+
"""[INST] Hi there! [/INST]Nice to meet you!</s>[INST] Can I ask a question? [/INST]
|
27 |
+
"""
|
28 |
+
```
|
29 |
+
|
30 |
+
## Credits
|
31 |
+
- Stheno dataset (filtered)
|
32 |
+
- [anthracite-org/kalo-opus-instruct-22k-no-refusal](anthracite-org/kalo-opus-instruct-22k-no-refusal)
|
33 |
+
- [anthracite-org/nopm_claude_writing_fixed](https://huggingface.co/datasets/anthracite-org/nopm_claude_writing_fixed)
|
34 |
+
|
35 |
+
This model has been a team effort, and the credits goes to all members of Anthracite.
|
36 |
+
|
37 |
+
## Training
|
38 |
+
The training was done for 1.5 epochs. We used 8x [AMD Instinct™ MI300X Accelerators](https://www.amd.com/en/products/accelerators/instinct/mi300/mi300x.html) for the full-parameter fine-tuning of the model.
|
39 |
+
|
40 |
+
In addition to this, we noticed that Mistral Large models seemed much more sensitive to learning rate adjustments than other models:
|
41 |
+
|
42 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6491e00e057b0928b3e07b75/xCK3ISKF6pWcMyO7MEzTA.png)
|
43 |
+
|
44 |
+
We hypothesize this is primarily due to the particularly narrow and low variance weight distributions typical of Mistral derived models regardless of their scale.
|
45 |
+
In the end, we settled on 2e-6 with an effective batch size of 64 (and a packed tokens batch size of 8192; this effectively ~500,000 tokens per batch).
|
46 |
+
|
47 |
+
We also trained with a weight decay of 0.01 to help further stabilize the loss trajectory and mitigate overfitting.
|
48 |
+
|
49 |
+
[<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
|
50 |
+
|
51 |
+
## Safety
|
52 |
+
...
|