EllieS commited on
Commit
87d88a2
1 Parent(s): 9c47bb3

Model save

Browse files
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: peft
4
+ tags:
5
+ - trl
6
+ - dpo
7
+ - generated_from_trainer
8
+ base_model: alignment-handbook/zephyr-7b-sft-full
9
+ model-index:
10
+ - name: zephyr-7b-dpo-lora-ultrafeedback
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
+ # zephyr-7b-dpo-lora-ultrafeedback
18
+
19
+ This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-full](https://huggingface.co/alignment-handbook/zephyr-7b-sft-full) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.5939
22
+ - Rewards/chosen: -0.2154
23
+ - Rewards/rejected: -0.5247
24
+ - Rewards/accuracies: 0.6920
25
+ - Rewards/margins: 0.3093
26
+ - Logps/rejected: -320.4754
27
+ - Logps/chosen: -313.5164
28
+ - Logits/rejected: -2.1488
29
+ - Logits/chosen: -2.2262
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: 4
50
+ - eval_batch_size: 8
51
+ - seed: 42
52
+ - distributed_type: multi-GPU
53
+ - gradient_accumulation_steps: 2
54
+ - total_train_batch_size: 8
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.5796 | 0.92 | 7000 | 0.5940 | -0.2151 | -0.5243 | 0.6940 | 0.3091 | -320.4359 | -313.4948 | -2.1487 | -2.2261 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - PEFT 0.7.1
70
+ - Transformers 4.36.2
71
+ - Pytorch 2.1.1+cu121
72
+ - Datasets 2.14.6
73
+ - Tokenizers 0.15.0
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:df85356c9826e577d1c1045d18c0a09e9e75e4ab86bda2895300bc90b4d76817
3
  size 83946192
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23f37fa10cf84ca2927278a4e582b8e40abfee2fdee351127601a65853d75b29
3
  size 83946192
all_results.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_logits/chosen": -2.226208448410034,
4
+ "eval_logits/rejected": -2.1488096714019775,
5
+ "eval_logps/chosen": -313.5163879394531,
6
+ "eval_logps/rejected": -320.47540283203125,
7
+ "eval_loss": 0.5939346551895142,
8
+ "eval_rewards/accuracies": 0.6919999718666077,
9
+ "eval_rewards/chosen": -0.21535076200962067,
10
+ "eval_rewards/margins": 0.30932918190956116,
11
+ "eval_rewards/rejected": -0.524679958820343,
12
+ "eval_runtime": 1172.6262,
13
+ "eval_samples": 2000,
14
+ "eval_samples_per_second": 1.706,
15
+ "eval_steps_per_second": 0.213,
16
+ "train_loss": 0.6084560017191406,
17
+ "train_runtime": 59476.7244,
18
+ "train_samples": 61135,
19
+ "train_samples_per_second": 1.028,
20
+ "train_steps_per_second": 0.128
21
+ }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_logits/chosen": -2.226208448410034,
4
+ "eval_logits/rejected": -2.1488096714019775,
5
+ "eval_logps/chosen": -313.5163879394531,
6
+ "eval_logps/rejected": -320.47540283203125,
7
+ "eval_loss": 0.5939346551895142,
8
+ "eval_rewards/accuracies": 0.6919999718666077,
9
+ "eval_rewards/chosen": -0.21535076200962067,
10
+ "eval_rewards/margins": 0.30932918190956116,
11
+ "eval_rewards/rejected": -0.524679958820343,
12
+ "eval_runtime": 1172.6262,
13
+ "eval_samples": 2000,
14
+ "eval_samples_per_second": 1.706,
15
+ "eval_steps_per_second": 0.213
16
+ }
runs/Jan15_16-46-47_hrsung-a100-b/events.out.tfevents.1705337312.hrsung-a100-b.4361.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1cb5bcc7b2a51910fa1c219c80e0431766ad4f6d903b80a8ce2305e792956dfd
3
- size 290368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a324348ac4f2a775e8c3444cc476414eaa48d34627b3cb9d4ae8b2ead4fc00a9
3
+ size 490538
runs/Jan15_16-46-47_hrsung-a100-b/events.out.tfevents.1705397961.hrsung-a100-b.4361.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7de5d10080c33814c370b0e2db01eb92024eab40c816793a2f6c1e14c75daa9
3
+ size 828
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "train_loss": 0.6084560017191406,
4
+ "train_runtime": 59476.7244,
5
+ "train_samples": 61135,
6
+ "train_samples_per_second": 1.028,
7
+ "train_steps_per_second": 0.128
8
+ }
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff