hannahbillo commited on
Commit
22cb8d5
1 Parent(s): 234bfd4

End of training

Browse files
Files changed (1) hide show
  1. README.md +74 -0
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: meta-llama/Meta-Llama-3.1-8B
3
+ library_name: peft
4
+ license: llama3.1
5
+ tags:
6
+ - trl
7
+ - dpo
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: dpo-llama3-8b-grammar-rules
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # dpo-llama3-8b-grammar-rules
18
+
19
+ This model is a fine-tuned version of [meta-llama/Meta-Llama-3.1-8B](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.1500
22
+ - Rewards/chosen: -0.7612
23
+ - Rewards/rejected: -2.8814
24
+ - Rewards/accuracies: 1.0
25
+ - Rewards/margins: 2.1202
26
+ - Logps/rejected: -647.7891
27
+ - Logps/chosen: -291.9149
28
+ - Logits/rejected: -1.1894
29
+ - Logits/chosen: -1.1810
30
+
31
+ ## Model description
32
+
33
+ More information needed
34
+
35
+ ## Intended uses & limitations
36
+
37
+ More information needed
38
+
39
+ ## Training and evaluation data
40
+
41
+ More information needed
42
+
43
+ ## Training procedure
44
+
45
+ ### Training hyperparameters
46
+
47
+ The following hyperparameters were used during training:
48
+ - learning_rate: 5e-06
49
+ - train_batch_size: 1
50
+ - eval_batch_size: 2
51
+ - seed: 42
52
+ - gradient_accumulation_steps: 8
53
+ - total_train_batch_size: 8
54
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
55
+ - lr_scheduler_type: cosine
56
+ - lr_scheduler_warmup_ratio: 0.1
57
+ - num_epochs: 1
58
+ - mixed_precision_training: Native AMP
59
+
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
63
+ |:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
64
+ | 0.388 | 0.4444 | 50 | 0.3531 | -0.2310 | -1.1328 | 1.0 | 0.9018 | -472.9276 | -238.8918 | -1.2924 | -1.2917 |
65
+ | 0.1309 | 0.8889 | 100 | 0.1500 | -0.7612 | -2.8814 | 1.0 | 2.1202 | -647.7891 | -291.9149 | -1.1894 | -1.1810 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - PEFT 0.12.0
71
+ - Transformers 4.44.0
72
+ - Pytorch 2.3.1+cu121
73
+ - Datasets 2.21.0
74
+ - Tokenizers 0.19.1