Model save
Browse files
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
tags:
|
4 |
+
- trl
|
5 |
+
- dpo
|
6 |
+
- generated_from_trainer
|
7 |
+
base_model: Weni/ZeroShot-3.3.14-Mistral-7b-Multilanguage-3.2.0-merged
|
8 |
+
model-index:
|
9 |
+
- name: ZeroShot-3.4.6-Mistral-7b-DPO-1.0.0
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# ZeroShot-3.4.6-Mistral-7b-DPO-1.0.0
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [Weni/ZeroShot-3.3.14-Mistral-7b-Multilanguage-3.2.0-merged](https://huggingface.co/Weni/ZeroShot-3.3.14-Mistral-7b-Multilanguage-3.2.0-merged) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.4359
|
21 |
+
- Rewards/chosen: 0.5672
|
22 |
+
- Rewards/rejected: -0.1870
|
23 |
+
- Rewards/accuracies: 0.8447
|
24 |
+
- Rewards/margins: 0.7542
|
25 |
+
- Logps/rejected: -17.4222
|
26 |
+
- Logps/chosen: -12.1310
|
27 |
+
- Logits/rejected: -1.2273
|
28 |
+
- Logits/chosen: -1.2477
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Intended uses & limitations
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training and evaluation data
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training procedure
|
43 |
+
|
44 |
+
### Training hyperparameters
|
45 |
+
|
46 |
+
The following hyperparameters were used during training:
|
47 |
+
- learning_rate: 2e-06
|
48 |
+
- train_batch_size: 8
|
49 |
+
- eval_batch_size: 8
|
50 |
+
- seed: 42
|
51 |
+
- gradient_accumulation_steps: 4
|
52 |
+
- total_train_batch_size: 32
|
53 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
54 |
+
- lr_scheduler_type: linear
|
55 |
+
- lr_scheduler_warmup_ratio: 0.1
|
56 |
+
- training_steps: 288
|
57 |
+
- mixed_precision_training: Native AMP
|
58 |
+
|
59 |
+
### Training results
|
60 |
+
|
61 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
62 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
63 |
+
| 0.5697 | 2.04 | 100 | 0.5667 | 0.3017 | -0.0150 | 0.7652 | 0.3167 | -15.7020 | -14.7860 | -1.3079 | -1.3298 |
|
64 |
+
| 0.4274 | 4.08 | 200 | 0.4359 | 0.5672 | -0.1870 | 0.8447 | 0.7542 | -17.4222 | -12.1310 | -1.2273 | -1.2477 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- PEFT 0.8.2
|
70 |
+
- Transformers 4.38.2
|
71 |
+
- Pytorch 2.1.0+cu118
|
72 |
+
- Datasets 2.17.1
|
73 |
+
- Tokenizers 0.15.2
|