hugodk-sch commited on
Commit
4067ba4
1 Parent(s): 0a7602e

Model save

Browse files
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 [data/norllm-ai-normistral-7b-sft-qlora](https://huggingface.co/data/norllm-ai-normistral-7b-sft-qlora) on the hugodk-sch/aftonposten_title_prefs dataset.
22
  It achieves the following results on the evaluation set:
23
- - Loss: 0.4787
24
- - Rewards/chosen: -0.2528
25
- - Rewards/rejected: -0.4471
26
- - Rewards/accuracies: 0.5602
27
- - Rewards/margins: 0.1943
28
- - Logps/rejected: -35.4433
29
- - Logps/chosen: -31.7037
30
- - Logits/rejected: -2.8306
31
- - Logits/chosen: -2.8338
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: 4
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.4852 | 0.26 | 100 | 0.4894 | 0.0835 | 0.0380 | 0.5689 | 0.0456 | -34.6349 | -31.1432 | -2.8023 | -2.8050 |
67
- | 0.4094 | 0.52 | 200 | 0.4824 | 0.1068 | 0.0177 | 0.5432 | 0.0891 | -34.6687 | -31.1045 | -2.8122 | -2.8150 |
68
- | 0.3408 | 0.78 | 300 | 0.4827 | 0.0196 | -0.0908 | 0.5694 | 0.1105 | -34.8496 | -31.2497 | -2.8188 | -2.8212 |
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:6442dd659aa9777f2cbf26375980612115d3f4127a6e07013f07d61d34d90456
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": 4.0,
3
- "eval_logits/chosen": -2.8337740898132324,
4
- "eval_logits/rejected": -2.830592393875122,
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.097,
20
- "train_steps_per_second": 0.137
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": 4.0,
3
- "train_loss": 0.15808662716057392,
4
- "train_runtime": 11226.5517,
5
  "train_samples": 3079,
6
- "train_samples_per_second": 1.097,
7
- "train_steps_per_second": 0.137
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