EllieS commited on
Commit
20bd7ae
1 Parent(s): 515dff5

Model save

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ library_name: peft
4
+ tags:
5
+ - trl
6
+ - dpo
7
+ - generated_from_trainer
8
+ base_model: meta-llama/Meta-Llama-3-8B
9
+ model-index:
10
+ - name: llama3-L1-SFT-L2-DPO
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
+ # llama3-L1-SFT-L2-DPO
18
+
19
+ This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B](https://huggingface.co/meta-llama/Meta-Llama-3-8B) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.0028
22
+ - Rewards/chosen: -0.4016
23
+ - Rewards/rejected: -9.3312
24
+ - Rewards/accuracies: 1.0
25
+ - Rewards/margins: 8.9296
26
+ - Logps/rejected: -994.2072
27
+ - Logps/chosen: -84.5141
28
+ - Logits/rejected: 1.5698
29
+ - Logits/chosen: 0.6541
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: 1
51
+ - seed: 42
52
+ - distributed_type: multi-GPU
53
+ - gradient_accumulation_steps: 4
54
+ - total_train_batch_size: 4
55
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
56
+ - lr_scheduler_type: cosine
57
+ - lr_scheduler_warmup_ratio: 0.1
58
+ - num_epochs: 1
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.0033 | 0.2497 | 1000 | 0.0065 | -0.3610 | -7.6953 | 1.0 | 7.3344 | -830.6234 | -80.4518 | 1.5489 | 0.7452 |
65
+ | 0.0013 | 0.4995 | 2000 | 0.0031 | -0.3798 | -9.1892 | 1.0 | 8.8094 | -980.0131 | -82.3365 | 1.5546 | 0.6455 |
66
+ | 0.0019 | 0.7492 | 3000 | 0.0028 | -0.3966 | -9.3440 | 1.0 | 8.9474 | -995.4902 | -84.0208 | 1.5703 | 0.6568 |
67
+ | 0.0011 | 0.9989 | 4000 | 0.0028 | -0.4016 | -9.3312 | 1.0 | 8.9296 | -994.2072 | -84.5141 | 1.5698 | 0.6541 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - PEFT 0.7.1
73
+ - Transformers 4.40.2
74
+ - Pytorch 2.1.2+cu121
75
+ - Datasets 2.18.0
76
+ - Tokenizers 0.19.1
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b607da40eb5ad6af6d94bf7e1407aec44f32e473d80b2a1409d0ce1d04fc52d8
3
  size 83946192
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50cb2502b1c876c5aa351822c0eecad19176456eb3fe2244480ef0346afd007c
3
  size 83946192
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9999375663357682,
3
+ "total_flos": 0.0,
4
+ "train_loss": 0.05122942747121405,
5
+ "train_runtime": 6577.5594,
6
+ "train_samples": 16017,
7
+ "train_samples_per_second": 2.435,
8
+ "train_steps_per_second": 0.609
9
+ }
runs/May10_08-42-30_612e66badb5c/events.out.tfevents.1715330677.612e66badb5c.57653.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5a53e4b65765cf445079c4bb9edc660cfdf22d4e81078fa7ec16f59f518a6dd5
3
- size 283610
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6e8d9d7e668d238b2f68fe40c66ab16531c25936ae0ca49e2c63c37a66922dc
3
+ size 283964
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9999375663357682,
3
+ "total_flos": 0.0,
4
+ "train_loss": 0.05122942747121405,
5
+ "train_runtime": 6577.5594,
6
+ "train_samples": 16017,
7
+ "train_samples_per_second": 2.435,
8
+ "train_steps_per_second": 0.609
9
+ }
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff