hugodk-sch
commited on
Commit
•
4067ba4
1
Parent(s):
0a7602e
Model save
Browse files- README.md +14 -29
- adapter_model.safetensors +1 -1
- all_results.json +5 -18
- train_results.json +5 -5
- trainer_state.json +0 -0
README.md
CHANGED
@@ -1,13 +1,10 @@
|
|
1 |
---
|
2 |
library_name: peft
|
3 |
tags:
|
4 |
-
- alignment-handbook
|
5 |
- trl
|
6 |
- dpo
|
7 |
- generated_from_trainer
|
8 |
base_model: NorLLM-AI/NorMistral-7B
|
9 |
-
datasets:
|
10 |
-
- hugodk-sch/aftonposten_title_prefs
|
11 |
model-index:
|
12 |
- name: norllm-ai-normistral-7b-align-scan
|
13 |
results: []
|
@@ -18,17 +15,17 @@ should probably proofread and complete it, then remove this comment. -->
|
|
18 |
|
19 |
# norllm-ai-normistral-7b-align-scan
|
20 |
|
21 |
-
This model is a fine-tuned version of [
|
22 |
It achieves the following results on the evaluation set:
|
23 |
-
- Loss: 0.
|
24 |
-
- Rewards/chosen: -0.
|
25 |
-
- Rewards/rejected: -0.
|
26 |
-
- Rewards/accuracies: 0.
|
27 |
-
- Rewards/margins: 0.
|
28 |
-
- Logps/rejected: -
|
29 |
-
- Logps/chosen: -31.
|
30 |
-
- Logits/rejected: -2.
|
31 |
-
- Logits/chosen: -2.
|
32 |
|
33 |
## Model description
|
34 |
|
@@ -57,27 +54,15 @@ The following hyperparameters were used during training:
|
|
57 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
58 |
- lr_scheduler_type: cosine
|
59 |
- lr_scheduler_warmup_ratio: 0.1
|
60 |
-
- num_epochs:
|
61 |
|
62 |
### Training results
|
63 |
|
64 |
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
65 |
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
66 |
-
| 0.
|
67 |
-
| 0.
|
68 |
-
| 0.
|
69 |
-
| 0.1572 | 1.04 | 400 | 0.4798 | -0.0175 | -0.1496 | 0.5839 | 0.1321 | -34.9475 | -31.3117 | -2.8156 | -2.8172 |
|
70 |
-
| 0.1463 | 1.3 | 500 | 0.4816 | -0.0382 | -0.1668 | 0.5843 | 0.1285 | -34.9761 | -31.3462 | -2.8282 | -2.8294 |
|
71 |
-
| 0.1315 | 1.56 | 600 | 0.4786 | -0.0124 | -0.1617 | 0.5511 | 0.1493 | -34.9677 | -31.3031 | -2.8038 | -2.8065 |
|
72 |
-
| 0.1119 | 1.82 | 700 | 0.4778 | -0.0846 | -0.2536 | 0.5893 | 0.1691 | -35.1209 | -31.4234 | -2.8174 | -2.8202 |
|
73 |
-
| 0.0639 | 2.08 | 800 | 0.4746 | -0.1169 | -0.3129 | 0.5689 | 0.1961 | -35.2197 | -31.4772 | -2.8306 | -2.8335 |
|
74 |
-
| 0.0635 | 2.34 | 900 | 0.4768 | -0.1886 | -0.3820 | 0.5777 | 0.1934 | -35.3348 | -31.5967 | -2.8313 | -2.8346 |
|
75 |
-
| 0.0517 | 2.6 | 1000 | 0.4804 | -0.2063 | -0.3767 | 0.5544 | 0.1704 | -35.3260 | -31.6262 | -2.8305 | -2.8336 |
|
76 |
-
| 0.0446 | 2.86 | 1100 | 0.4794 | -0.2379 | -0.4230 | 0.5689 | 0.1851 | -35.4032 | -31.6790 | -2.8298 | -2.8332 |
|
77 |
-
| 0.0511 | 3.12 | 1200 | 0.4783 | -0.2347 | -0.4328 | 0.5806 | 0.1982 | -35.4196 | -31.6736 | -2.8297 | -2.8330 |
|
78 |
-
| 0.0414 | 3.38 | 1300 | 0.4778 | -0.2496 | -0.4539 | 0.5660 | 0.2043 | -35.4547 | -31.6984 | -2.8309 | -2.8340 |
|
79 |
-
| 0.0334 | 3.64 | 1400 | 0.4783 | -0.2495 | -0.4524 | 0.5777 | 0.2028 | -35.4521 | -31.6984 | -2.8308 | -2.8338 |
|
80 |
-
| 0.0416 | 3.9 | 1500 | 0.4785 | -0.2460 | -0.4418 | 0.5631 | 0.1958 | -35.4345 | -31.6925 | -2.8303 | -2.8337 |
|
81 |
|
82 |
|
83 |
### Framework versions
|
|
|
1 |
---
|
2 |
library_name: peft
|
3 |
tags:
|
|
|
4 |
- trl
|
5 |
- dpo
|
6 |
- generated_from_trainer
|
7 |
base_model: NorLLM-AI/NorMistral-7B
|
|
|
|
|
8 |
model-index:
|
9 |
- name: norllm-ai-normistral-7b-align-scan
|
10 |
results: []
|
|
|
15 |
|
16 |
# norllm-ai-normistral-7b-align-scan
|
17 |
|
18 |
+
This model is a fine-tuned version of [NorLLM-AI/NorMistral-7B](https://huggingface.co/NorLLM-AI/NorMistral-7B) on the None dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.6756
|
21 |
+
- Rewards/chosen: -0.0773
|
22 |
+
- Rewards/rejected: -0.1729
|
23 |
+
- Rewards/accuracies: 0.5569
|
24 |
+
- Rewards/margins: 0.0956
|
25 |
+
- Logps/rejected: -34.9863
|
26 |
+
- Logps/chosen: -31.4113
|
27 |
+
- Logits/rejected: -2.8175
|
28 |
+
- Logits/chosen: -2.8199
|
29 |
|
30 |
## Model description
|
31 |
|
|
|
54 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
55 |
- lr_scheduler_type: cosine
|
56 |
- lr_scheduler_warmup_ratio: 0.1
|
57 |
+
- num_epochs: 1
|
58 |
|
59 |
### Training results
|
60 |
|
61 |
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
62 |
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
63 |
+
| 0.6371 | 0.26 | 100 | 0.6738 | 0.0094 | -0.0765 | 0.6013 | 0.0860 | -34.8257 | -31.2667 | -2.8093 | -2.8120 |
|
64 |
+
| 0.5701 | 0.52 | 200 | 0.6704 | -0.0753 | -0.1790 | 0.5777 | 0.1037 | -34.9964 | -31.4080 | -2.8197 | -2.8224 |
|
65 |
+
| 0.5462 | 0.78 | 300 | 0.6756 | -0.0773 | -0.1729 | 0.5569 | 0.0956 | -34.9863 | -31.4113 | -2.8175 | -2.8199 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
|
67 |
|
68 |
### Framework versions
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 671150064
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43813f75c66ccd2464fcf5bf5cc65f759d1e14b2cf4a16986aa05db48b86060f
|
3 |
size 671150064
|
all_results.json
CHANGED
@@ -1,21 +1,8 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"eval_logps/chosen": -31.703718185424805,
|
6 |
-
"eval_logps/rejected": -35.44328689575195,
|
7 |
-
"eval_loss": 0.4786534011363983,
|
8 |
-
"eval_rewards/accuracies": 0.560215950012207,
|
9 |
-
"eval_rewards/chosen": -0.2527596652507782,
|
10 |
-
"eval_rewards/margins": 0.1943179965019226,
|
11 |
-
"eval_rewards/rejected": -0.4470776319503784,
|
12 |
-
"eval_runtime": 112.8079,
|
13 |
-
"eval_samples": 343,
|
14 |
-
"eval_samples_per_second": 3.041,
|
15 |
-
"eval_steps_per_second": 0.381,
|
16 |
-
"train_loss": 0.15808662716057392,
|
17 |
-
"train_runtime": 11226.5517,
|
18 |
"train_samples": 3079,
|
19 |
-
"train_samples_per_second": 1.
|
20 |
-
"train_steps_per_second": 0.
|
21 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.5523774078914098,
|
4 |
+
"train_runtime": 2722.392,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"train_samples": 3079,
|
6 |
+
"train_samples_per_second": 1.131,
|
7 |
+
"train_steps_per_second": 0.141
|
8 |
}
|
train_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"train_loss": 0.
|
4 |
-
"train_runtime":
|
5 |
"train_samples": 3079,
|
6 |
-
"train_samples_per_second": 1.
|
7 |
-
"train_steps_per_second": 0.
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.5523774078914098,
|
4 |
+
"train_runtime": 2722.392,
|
5 |
"train_samples": 3079,
|
6 |
+
"train_samples_per_second": 1.131,
|
7 |
+
"train_steps_per_second": 0.141
|
8 |
}
|
trainer_state.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|