wxzhang commited on
Commit
a2514bf
1 Parent(s): 5bcc4de

Model save

Browse files
README.md CHANGED
@@ -15,17 +15,17 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  This model was trained from scratch on the None dataset.
17
  It achieves the following results on the evaluation set:
18
- - Loss: 4322.0576
19
- - Rewards/chosen: -0.9426
20
- - Rewards/rejected: -1.0072
21
- - Rewards/accuracies: 0.6033
22
- - Rewards/margins: 0.0646
23
- - Rewards/safe Rewards: -0.9377
24
- - Rewards/unsafe Rewards: -0.9382
25
- - Logps/rejected: -193.1814
26
- - Logps/chosen: -224.6856
27
- - Logits/rejected: -1.7714
28
- - Logits/chosen: -1.9525
29
 
30
  ## Model description
31
 
@@ -45,13 +45,13 @@ More information needed
45
 
46
  The following hyperparameters were used during training:
47
  - learning_rate: 5e-07
48
- - train_batch_size: 2
49
  - eval_batch_size: 8
50
  - seed: 42
51
  - distributed_type: multi-GPU
52
  - num_devices: 4
53
  - gradient_accumulation_steps: 4
54
- - total_train_batch_size: 32
55
  - total_eval_batch_size: 32
56
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
57
  - lr_scheduler_type: cosine
@@ -62,12 +62,9 @@ The following hyperparameters were used during training:
62
 
63
  | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Rewards/safe Rewards | Rewards/unsafe Rewards | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
64
  |:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------------:|:----------------------:|:--------------:|:------------:|:---------------:|:-------------:|
65
- | 13096.7359 | 0.16 | 300 | 4529.6733 | -0.3957 | -0.4772 | 0.6584 | 0.0815 | -0.3930 | -0.3956 | -140.1830 | -170.0027 | -2.1815 | -2.3195 |
66
- | 11584.7875 | 0.32 | 600 | 4406.7134 | -0.8083 | -0.8819 | 0.6338 | 0.0736 | -0.8028 | -0.8050 | -180.6571 | -211.2575 | -1.7938 | -1.9934 |
67
- | 10862.3484 | 0.48 | 900 | 4377.5635 | -0.8828 | -0.9530 | 0.6196 | 0.0701 | -0.8775 | -0.8778 | -187.7609 | -218.7140 | -1.7468 | -1.9377 |
68
- | 11671.4219 | 0.65 | 1200 | 4346.4053 | -0.9811 | -1.0509 | 0.6158 | 0.0699 | -0.9764 | -0.9768 | -197.5588 | -228.5369 | -1.6740 | -1.8665 |
69
- | 10202.4125 | 0.81 | 1500 | 4320.9878 | -0.9655 | -1.0271 | 0.6023 | 0.0617 | -0.9611 | -0.9618 | -195.1794 | -226.9775 | -1.7645 | -1.9420 |
70
- | 11785.8336 | 0.97 | 1800 | 4320.8208 | -0.9417 | -1.0065 | 0.6027 | 0.0648 | -0.9369 | -0.9373 | -193.1151 | -224.6014 | -1.7745 | -1.9550 |
71
 
72
 
73
  ### Framework versions
 
15
 
16
  This model was trained from scratch on the None dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Loss: 4449.9023
19
+ - Rewards/chosen: -0.8766
20
+ - Rewards/rejected: -0.9587
21
+ - Rewards/accuracies: 0.6161
22
+ - Rewards/margins: 0.0822
23
+ - Rewards/safe Rewards: -0.8653
24
+ - Rewards/unsafe Rewards: -0.8608
25
+ - Logps/rejected: -198.0037
26
+ - Logps/chosen: -228.0047
27
+ - Logits/rejected: 1.7482
28
+ - Logits/chosen: 0.9054
29
 
30
  ## Model description
31
 
 
45
 
46
  The following hyperparameters were used during training:
47
  - learning_rate: 5e-07
48
+ - train_batch_size: 4
49
  - eval_batch_size: 8
50
  - seed: 42
51
  - distributed_type: multi-GPU
52
  - num_devices: 4
53
  - gradient_accumulation_steps: 4
54
+ - total_train_batch_size: 64
55
  - total_eval_batch_size: 32
56
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
57
  - lr_scheduler_type: cosine
 
62
 
63
  | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Rewards/safe Rewards | Rewards/unsafe Rewards | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
64
  |:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------------:|:----------------------:|:--------------:|:------------:|:---------------:|:-------------:|
65
+ | 5410.1973 | 0.27 | 500 | 4657.3340 | -0.6508 | -0.7493 | 0.6367 | 0.0984 | -0.6382 | -0.6354 | -177.0600 | -205.4323 | 0.6948 | -0.0099 |
66
+ | 5634.6316 | 0.53 | 1000 | 4507.8945 | -0.8000 | -0.8748 | 0.6152 | 0.0748 | -0.7886 | -0.7846 | -189.6167 | -220.3491 | 1.1542 | 0.4120 |
67
+ | 5749.5141 | 0.8 | 1500 | 4458.4429 | -0.8858 | -0.9723 | 0.6194 | 0.0865 | -0.8741 | -0.8700 | -199.3641 | -228.9305 | 1.9547 | 1.0718 |
 
 
 
68
 
69
 
70
  ### Framework versions
all_results.json CHANGED
@@ -1,23 +1,23 @@
1
  {
2
  "epoch": 1.0,
3
- "eval_logits/chosen": -1.9525097608566284,
4
- "eval_logits/rejected": -1.7713532447814941,
5
- "eval_logps/chosen": -224.6856231689453,
6
- "eval_logps/rejected": -193.18142700195312,
7
- "eval_loss": 4322.0576171875,
8
- "eval_rewards/accuracies": 0.6033397912979126,
9
- "eval_rewards/chosen": -0.9425504207611084,
10
- "eval_rewards/margins": 0.06460745632648468,
11
- "eval_rewards/rejected": -1.0071579217910767,
12
- "eval_rewards/safe_rewards": -0.9376580119132996,
13
- "eval_rewards/unsafe_rewards": -0.9381570816040039,
14
- "eval_runtime": 993.6614,
15
- "eval_samples": 33044,
16
- "eval_samples_per_second": 33.255,
17
- "eval_steps_per_second": 1.04,
18
- "train_loss": 11692.422362755651,
19
- "train_runtime": 23508.9776,
20
- "train_samples": 59478,
21
- "train_samples_per_second": 2.53,
22
- "train_steps_per_second": 0.079
23
  }
 
1
  {
2
  "epoch": 1.0,
3
+ "eval_logits/chosen": 0.9053679704666138,
4
+ "eval_logits/rejected": 1.7481720447540283,
5
+ "eval_logps/chosen": -228.00465393066406,
6
+ "eval_logps/rejected": -198.00367736816406,
7
+ "eval_loss": 4449.90234375,
8
+ "eval_rewards/accuracies": 0.616104006767273,
9
+ "eval_rewards/chosen": -0.8765509724617004,
10
+ "eval_rewards/margins": 0.08215557038784027,
11
+ "eval_rewards/rejected": -0.9587064981460571,
12
+ "eval_rewards/safe_rewards": -0.865267813205719,
13
+ "eval_rewards/unsafe_rewards": -0.860846996307373,
14
+ "eval_runtime": 2354.4025,
15
+ "eval_samples": 35044,
16
+ "eval_samples_per_second": 14.884,
17
+ "eval_steps_per_second": 0.466,
18
+ "train_loss": 5859.617769083399,
19
+ "train_runtime": 32772.3871,
20
+ "train_samples": 120613,
21
+ "train_samples_per_second": 3.68,
22
+ "train_steps_per_second": 0.057
23
  }
eval_results.json CHANGED
@@ -1,18 +1,18 @@
1
  {
2
  "epoch": 1.0,
3
- "eval_logits/chosen": -1.9525097608566284,
4
- "eval_logits/rejected": -1.7713532447814941,
5
- "eval_logps/chosen": -224.6856231689453,
6
- "eval_logps/rejected": -193.18142700195312,
7
- "eval_loss": 4322.0576171875,
8
- "eval_rewards/accuracies": 0.6033397912979126,
9
- "eval_rewards/chosen": -0.9425504207611084,
10
- "eval_rewards/margins": 0.06460745632648468,
11
- "eval_rewards/rejected": -1.0071579217910767,
12
- "eval_rewards/safe_rewards": -0.9376580119132996,
13
- "eval_rewards/unsafe_rewards": -0.9381570816040039,
14
- "eval_runtime": 993.6614,
15
- "eval_samples": 33044,
16
- "eval_samples_per_second": 33.255,
17
- "eval_steps_per_second": 1.04
18
  }
 
1
  {
2
  "epoch": 1.0,
3
+ "eval_logits/chosen": 0.9053679704666138,
4
+ "eval_logits/rejected": 1.7481720447540283,
5
+ "eval_logps/chosen": -228.00465393066406,
6
+ "eval_logps/rejected": -198.00367736816406,
7
+ "eval_loss": 4449.90234375,
8
+ "eval_rewards/accuracies": 0.616104006767273,
9
+ "eval_rewards/chosen": -0.8765509724617004,
10
+ "eval_rewards/margins": 0.08215557038784027,
11
+ "eval_rewards/rejected": -0.9587064981460571,
12
+ "eval_rewards/safe_rewards": -0.865267813205719,
13
+ "eval_rewards/unsafe_rewards": -0.860846996307373,
14
+ "eval_runtime": 2354.4025,
15
+ "eval_samples": 35044,
16
+ "eval_samples_per_second": 14.884,
17
+ "eval_steps_per_second": 0.466
18
  }
model-00001-of-00003.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4150476808adc0b1f0332bef1db99919c14d4fdf7dbd79e3e92f2a46c1c2ba25
3
  size 4943162336
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd1ffd62dbd1638df8943c7aaecfbf0a36ab6c310ea7526c641642c038708374
3
  size 4943162336
model-00002-of-00003.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e5bbee3c9f21058e85d167ecc2f7455822337aff3d60a54b51f38160452ba85e
3
  size 4999819336
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8857c80e3bd6f6cdf0577edd0c683a84339d37a7deb9cfb6435e798d3c8a7663
3
  size 4999819336
model-00003-of-00003.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:de513fed91b9adbf5bd450a2207739d475b951af82255b2144f7e2a464f8f004
3
  size 4540516344
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ccdb216940fac7c77c3c865210942e9892bd76e4b1675024f8c1586b64f5e704
3
  size 4540516344
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 1.0,
3
- "train_loss": 11692.422362755651,
4
- "train_runtime": 23508.9776,
5
- "train_samples": 59478,
6
- "train_samples_per_second": 2.53,
7
- "train_steps_per_second": 0.079
8
  }
 
1
  {
2
  "epoch": 1.0,
3
+ "train_loss": 5859.617769083399,
4
+ "train_runtime": 32772.3871,
5
+ "train_samples": 120613,
6
+ "train_samples_per_second": 3.68,
7
+ "train_steps_per_second": 0.057
8
  }
trainer_state.json CHANGED
The diff for this file is too large to render. See raw diff