Model save
Browse files
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
license: llama3.1
|
4 |
+
base_model: meta-llama/Llama-3.1-8B-Instruct
|
5 |
+
tags:
|
6 |
+
- trl
|
7 |
+
- dpo
|
8 |
+
- llama-factory
|
9 |
+
- generated_from_trainer
|
10 |
+
model-index:
|
11 |
+
- name: Llama-3.1-8B-Instruct_dpo_sg_values_p025_OA_gold
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# Llama-3.1-8B-Instruct_dpo_sg_values_p025_OA_gold
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [meta-llama/Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct) on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.1398
|
23 |
+
- Rewards/chosen: -0.3263
|
24 |
+
- Rewards/rejected: -3.7101
|
25 |
+
- Rewards/accuracies: 0.9340
|
26 |
+
- Rewards/margins: 3.3838
|
27 |
+
- Logps/chosen: -5.3544
|
28 |
+
- Logps/rejected: -43.7234
|
29 |
+
- Logits/chosen: -0.8241
|
30 |
+
- Logits/rejected: -0.8535
|
31 |
+
|
32 |
+
## Model description
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Intended uses & limitations
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training and evaluation data
|
41 |
+
|
42 |
+
More information needed
|
43 |
+
|
44 |
+
## Training procedure
|
45 |
+
|
46 |
+
### Training hyperparameters
|
47 |
+
|
48 |
+
The following hyperparameters were used during training:
|
49 |
+
- learning_rate: 1e-06
|
50 |
+
- train_batch_size: 2
|
51 |
+
- eval_batch_size: 2
|
52 |
+
- seed: 42
|
53 |
+
- gradient_accumulation_steps: 4
|
54 |
+
- total_train_batch_size: 8
|
55 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
56 |
+
- lr_scheduler_type: linear
|
57 |
+
- lr_scheduler_warmup_ratio: 0.1
|
58 |
+
- num_epochs: 1.0
|
59 |
+
|
60 |
+
### Training results
|
61 |
+
|
62 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/chosen | Logps/rejected | Logits/chosen | Logits/rejected |
|
63 |
+
|:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:------------:|:--------------:|:-------------:|:---------------:|
|
64 |
+
| 0.677 | 0.1495 | 250 | 0.6611 | -0.0030 | -0.0688 | 0.8780 | 0.0658 | -2.1210 | -7.3104 | -0.6673 | -0.6792 |
|
65 |
+
| 0.4141 | 0.2990 | 500 | 0.3328 | -0.1370 | -1.2934 | 0.8960 | 1.1564 | -3.4617 | -19.5564 | -0.7405 | -0.7604 |
|
66 |
+
| 0.1869 | 0.4486 | 750 | 0.1943 | -0.3266 | -2.7983 | 0.9280 | 2.4718 | -5.3572 | -34.6058 | -0.8272 | -0.8525 |
|
67 |
+
| 0.1234 | 0.5981 | 1000 | 0.1579 | -0.3430 | -3.2984 | 0.9380 | 2.9554 | -5.5213 | -39.6065 | -0.8336 | -0.8610 |
|
68 |
+
| 0.122 | 0.7476 | 1250 | 0.1439 | -0.3187 | -3.5609 | 0.9360 | 3.2422 | -5.2784 | -42.2310 | -0.8265 | -0.8553 |
|
69 |
+
| 0.0821 | 0.8971 | 1500 | 0.1398 | -0.3263 | -3.7101 | 0.9340 | 3.3838 | -5.3544 | -43.7234 | -0.8241 | -0.8535 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- PEFT 0.15.2
|
75 |
+
- Transformers 4.49.0
|
76 |
+
- Pytorch 2.6.0+cu124
|
77 |
+
- Datasets 2.21.0
|
78 |
+
- Tokenizers 0.21.1
|