EllieS commited on
Commit
9428d29
1 Parent(s): e7d2302

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-pubmedqa-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-pubmedqa-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.5835
22
+ - Rewards/chosen: -0.1486
23
+ - Rewards/rejected: -0.4853
24
+ - Rewards/accuracies: 0.7105
25
+ - Rewards/margins: 0.3368
26
+ - Logps/rejected: -314.4243
27
+ - Logps/chosen: -302.0460
28
+ - Logits/rejected: -2.5375
29
+ - Logits/chosen: -2.5889
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.5703 | 0.92 | 7000 | 0.5835 | -0.1500 | -0.4872 | 0.7140 | 0.3372 | -314.6089 | -302.1864 | -2.5236 | -2.5765 |
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:167a5bd968615daddbd16f7adeab90f2d8d4f1134bfa2bb5b71ade2e9f140353
3
  size 83946192
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:908406a982aed53efb59ba54e454dd03c4a473ff904ac00d58c771d45caecdc2
3
  size 83946192
all_results.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_logits/chosen": -2.5889480113983154,
4
+ "eval_logits/rejected": -2.5375468730926514,
5
+ "eval_logps/chosen": -302.0460205078125,
6
+ "eval_logps/rejected": -314.4243469238281,
7
+ "eval_loss": 0.5835465788841248,
8
+ "eval_rewards/accuracies": 0.7105000019073486,
9
+ "eval_rewards/chosen": -0.1485649198293686,
10
+ "eval_rewards/margins": 0.33676549792289734,
11
+ "eval_rewards/rejected": -0.4853304326534271,
12
+ "eval_runtime": 1163.5942,
13
+ "eval_samples": 2000,
14
+ "eval_samples_per_second": 1.719,
15
+ "eval_steps_per_second": 0.215,
16
+ "train_loss": 0.6024045768410584,
17
+ "train_runtime": 59158.061,
18
+ "train_samples": 61135,
19
+ "train_samples_per_second": 1.033,
20
+ "train_steps_per_second": 0.129
21
+ }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_logits/chosen": -2.5889480113983154,
4
+ "eval_logits/rejected": -2.5375468730926514,
5
+ "eval_logps/chosen": -302.0460205078125,
6
+ "eval_logps/rejected": -314.4243469238281,
7
+ "eval_loss": 0.5835465788841248,
8
+ "eval_rewards/accuracies": 0.7105000019073486,
9
+ "eval_rewards/chosen": -0.1485649198293686,
10
+ "eval_rewards/margins": 0.33676549792289734,
11
+ "eval_rewards/rejected": -0.4853304326534271,
12
+ "eval_runtime": 1163.5942,
13
+ "eval_samples": 2000,
14
+ "eval_samples_per_second": 1.719,
15
+ "eval_steps_per_second": 0.215
16
+ }
runs/Jan17_07-21-05_hrsung-a100/events.out.tfevents.1705476496.hrsung-a100.134878.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dae8338ef646a19e7468af26c889631a414d931857b0a0335f27457c44f3307d
3
- size 449682
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aafbbe01e7515a57394bd9db52e711a9ee752117cc6548fa4447096e4c3de93b
3
+ size 490612
runs/Jan17_07-21-05_hrsung-a100/events.out.tfevents.1705536818.hrsung-a100.134878.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61e384cd983a4f01dae5b029fdefb6af3beb989cb24d255a6fb8ae76596eb91c
3
+ size 828
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "train_loss": 0.6024045768410584,
4
+ "train_runtime": 59158.061,
5
+ "train_samples": 61135,
6
+ "train_samples_per_second": 1.033,
7
+ "train_steps_per_second": 0.129
8
+ }
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff