Model save
Browse files- README.md +22 -27
- all_results.json +5 -5
- config.json +1 -1
- model-00001-of-00004.safetensors +1 -1
- model-00002-of-00004.safetensors +1 -1
- model-00003-of-00004.safetensors +1 -1
- model-00004-of-00004.safetensors +1 -1
- runs/Sep23_17-22-00_zizgpu06.cpu.stats.ox.ac.uk/events.out.tfevents.1727108622.zizgpu06.cpu.stats.ox.ac.uk.54426.0 +3 -0
- train_results.json +5 -5
- trainer_state.json +0 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -3,15 +3,10 @@ library_name: transformers
|
|
3 |
license: gemma
|
4 |
base_model: google/gemma-7b
|
5 |
tags:
|
6 |
-
- alignment-handbook
|
7 |
-
- trl
|
8 |
-
- orpo
|
9 |
-
- generated_from_trainer
|
10 |
- trl
|
11 |
- orpo
|
|
|
12 |
- generated_from_trainer
|
13 |
-
datasets:
|
14 |
-
- silviasapora/low_quality_dpo7k
|
15 |
model-index:
|
16 |
- name: gemma-7b-borpo-low-quality-v4
|
17 |
results: []
|
@@ -22,20 +17,20 @@ should probably proofread and complete it, then remove this comment. -->
|
|
22 |
|
23 |
# gemma-7b-borpo-low-quality-v4
|
24 |
|
25 |
-
This model is a fine-tuned version of [google/gemma-7b](https://huggingface.co/google/gemma-7b) on
|
26 |
It achieves the following results on the evaluation set:
|
27 |
-
- Loss: 1.
|
28 |
-
- Rewards/chosen: -0.
|
29 |
-
- Rewards/rejected: -0.
|
30 |
-
- Rewards/accuracies: 0.
|
31 |
-
- Rewards/margins: 0.
|
32 |
-
- Logps/rejected: -1.
|
33 |
-
- Logps/chosen: -1.
|
34 |
-
- Logits/rejected:
|
35 |
-
- Logits/chosen:
|
36 |
-
- Nll Loss: 1.
|
37 |
-
- Log Odds Ratio: -0.
|
38 |
-
- Log Odds Chosen: 0.
|
39 |
|
40 |
## Model description
|
41 |
|
@@ -59,10 +54,10 @@ The following hyperparameters were used during training:
|
|
59 |
- eval_batch_size: 1
|
60 |
- seed: 42
|
61 |
- distributed_type: multi-GPU
|
62 |
-
- num_devices:
|
63 |
- gradient_accumulation_steps: 4
|
64 |
-
- total_train_batch_size:
|
65 |
-
- total_eval_batch_size:
|
66 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
67 |
- lr_scheduler_type: inverse_sqrt
|
68 |
- lr_scheduler_warmup_steps: 100
|
@@ -70,11 +65,11 @@ The following hyperparameters were used during training:
|
|
70 |
|
71 |
### Training results
|
72 |
|
73 |
-
| Training Loss | Epoch
|
74 |
-
|
75 |
-
| 1.
|
76 |
-
| 1.
|
77 |
-
| 0.
|
78 |
|
79 |
|
80 |
### Framework versions
|
|
|
3 |
license: gemma
|
4 |
base_model: google/gemma-7b
|
5 |
tags:
|
|
|
|
|
|
|
|
|
6 |
- trl
|
7 |
- orpo
|
8 |
+
- alignment-handbook
|
9 |
- generated_from_trainer
|
|
|
|
|
10 |
model-index:
|
11 |
- name: gemma-7b-borpo-low-quality-v4
|
12 |
results: []
|
|
|
17 |
|
18 |
# gemma-7b-borpo-low-quality-v4
|
19 |
|
20 |
+
This model is a fine-tuned version of [google/gemma-7b](https://huggingface.co/google/gemma-7b) on an unknown dataset.
|
21 |
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 1.8577
|
23 |
+
- Rewards/chosen: -0.5993
|
24 |
+
- Rewards/rejected: -0.7602
|
25 |
+
- Rewards/accuracies: 0.6143
|
26 |
+
- Rewards/margins: 0.1610
|
27 |
+
- Logps/rejected: -1.5205
|
28 |
+
- Logps/chosen: -1.1986
|
29 |
+
- Logits/rejected: 240.3907
|
30 |
+
- Logits/chosen: 301.1215
|
31 |
+
- Nll Loss: 1.5532
|
32 |
+
- Log Odds Ratio: -0.6421
|
33 |
+
- Log Odds Chosen: 0.4396
|
34 |
|
35 |
## Model description
|
36 |
|
|
|
54 |
- eval_batch_size: 1
|
55 |
- seed: 42
|
56 |
- distributed_type: multi-GPU
|
57 |
+
- num_devices: 8
|
58 |
- gradient_accumulation_steps: 4
|
59 |
+
- total_train_batch_size: 64
|
60 |
+
- total_eval_batch_size: 8
|
61 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
- lr_scheduler_type: inverse_sqrt
|
63 |
- lr_scheduler_warmup_steps: 100
|
|
|
65 |
|
66 |
### Training results
|
67 |
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen | Nll Loss | Log Odds Ratio | Log Odds Chosen |
|
69 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|:--------:|:--------------:|:---------------:|
|
70 |
+
| 1.8227 | 1.0 | 84 | 1.9616 | -0.6050 | -0.6743 | 0.5 | 0.0693 | -1.3486 | -1.2099 | 257.8447 | 315.1940 | 1.6719 | -0.6903 | 0.1646 |
|
71 |
+
| 1.4803 | 2.0 | 168 | 1.7681 | -0.5462 | -0.6508 | 0.5286 | 0.1046 | -1.3017 | -1.0924 | 274.3526 | 328.0207 | 1.4854 | -0.6718 | 0.2561 |
|
72 |
+
| 0.9109 | 3.0 | 252 | 1.8577 | -0.5993 | -0.7602 | 0.6143 | 0.1610 | -1.5205 | -1.1986 | 240.3907 | 301.1215 | 1.5532 | -0.6421 | 0.4396 |
|
73 |
|
74 |
|
75 |
### Framework versions
|
all_results.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
"eval_log_odds_chosen": 0.42297032475471497,
|
4 |
"eval_log_odds_ratio": -0.6477048993110657,
|
5 |
"eval_logits/chosen": 282.00848388671875,
|
@@ -17,9 +17,9 @@
|
|
17 |
"eval_samples_per_second": 1.571,
|
18 |
"eval_steps_per_second": 0.395,
|
19 |
"total_flos": 0.0,
|
20 |
-
"train_loss":
|
21 |
-
"train_runtime":
|
22 |
"train_samples": 5364,
|
23 |
-
"train_samples_per_second":
|
24 |
-
"train_steps_per_second": 0.
|
25 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 3.0,
|
3 |
"eval_log_odds_chosen": 0.42297032475471497,
|
4 |
"eval_log_odds_ratio": -0.6477048993110657,
|
5 |
"eval_logits/chosen": 282.00848388671875,
|
|
|
17 |
"eval_samples_per_second": 1.571,
|
18 |
"eval_steps_per_second": 0.395,
|
19 |
"total_flos": 0.0,
|
20 |
+
"train_loss": 2.2429193542117165,
|
21 |
+
"train_runtime": 13126.4564,
|
22 |
"train_samples": 5364,
|
23 |
+
"train_samples_per_second": 1.226,
|
24 |
+
"train_steps_per_second": 0.019
|
25 |
}
|
config.json
CHANGED
@@ -24,6 +24,6 @@
|
|
24 |
"rope_theta": 10000.0,
|
25 |
"torch_dtype": "bfloat16",
|
26 |
"transformers_version": "4.44.2",
|
27 |
-
"use_cache":
|
28 |
"vocab_size": 256000
|
29 |
}
|
|
|
24 |
"rope_theta": 10000.0,
|
25 |
"torch_dtype": "bfloat16",
|
26 |
"transformers_version": "4.44.2",
|
27 |
+
"use_cache": false,
|
28 |
"vocab_size": 256000
|
29 |
}
|
model-00001-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4995496656
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f443dda04572c417a42cfdd54346f42ce60e90ff3d5ae05f7e731aed5844fc75
|
3 |
size 4995496656
|
model-00002-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4982953168
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9a29d30c5f49faadf68cd6bc7571db8587854429f86910876e5c1909b40f940d
|
3 |
size 4982953168
|
model-00003-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4982953200
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ae31c784bc60ac996a2bef0fadb0668a9347e9923fa627628f1bd6b0beb95d49
|
3 |
size 4982953200
|
model-00004-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2113988336
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fcd7d1d840a767f2761f1873181edc7f1bcbf0fcff3ec307719affbe2e60b69e
|
3 |
size 2113988336
|
runs/Sep23_17-22-00_zizgpu06.cpu.stats.ox.ac.uk/events.out.tfevents.1727108622.zizgpu06.cpu.stats.ox.ac.uk.54426.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4158871cf5f1d411a43dcb4533a2a518467c8a3f9e5b5e332c276c2e9cdc7560
|
3 |
+
size 51124
|
train_results.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
"total_flos": 0.0,
|
4 |
-
"train_loss":
|
5 |
-
"train_runtime":
|
6 |
"train_samples": 5364,
|
7 |
-
"train_samples_per_second":
|
8 |
-
"train_steps_per_second": 0.
|
9 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 3.0,
|
3 |
"total_flos": 0.0,
|
4 |
+
"train_loss": 2.2429193542117165,
|
5 |
+
"train_runtime": 13126.4564,
|
6 |
"train_samples": 5364,
|
7 |
+
"train_samples_per_second": 1.226,
|
8 |
+
"train_steps_per_second": 0.019
|
9 |
}
|
trainer_state.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 6776
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d21b714b06ef407acc522612db50939c448e0c9200b396aa7f78fd733fe2884
|
3 |
size 6776
|