File size: 4,906 Bytes
3829c7f
 
 
3a39109
3829c7f
 
 
 
3a39109
 
3829c7f
 
 
 
 
 
 
 
 
 
3a39109
3829c7f
3a39109
 
 
 
 
 
 
 
 
3829c7f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4d259a0
3829c7f
 
 
 
 
 
 
 
 
ab5fba1
3829c7f
 
 
ab5fba1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3829c7f
 
 
 
ab5fba1
 
3829c7f
ab5fba1
3829c7f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
---
library_name: peft
tags:
- alignment-handbook
- trl
- dpo
- generated_from_trainer
base_model: NbAiLab/nb-gpt-j-6B-v2
datasets:
- hugodk-sch/aftonposten_title_prefs
model-index:
- name: aftonposten-6b-align-scan
  results: []
---

<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# aftonposten-6b-align-scan

This model is a fine-tuned version of [data/ap-gpt-j-6b-sft-qlora-04-08](https://huggingface.co./data/ap-gpt-j-6b-sft-qlora-04-08) on the hugodk-sch/aftonposten_title_prefs dataset.
It achieves the following results on the evaluation set:
- Loss: 0.3778
- Rewards/chosen: 0.1312
- Rewards/rejected: 0.1259
- Rewards/accuracies: 0.5166
- Rewards/margins: 0.0052
- Logps/rejected: -37.3767
- Logps/chosen: -33.8888
- Logits/rejected: -2.2423
- Logits/chosen: -2.2472

## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 5e-06
- train_batch_size: 4
- eval_batch_size: 8
- seed: 42
- distributed_type: multi-GPU
- gradient_accumulation_steps: 2
- total_train_batch_size: 8
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 4

### Training results

| Training Loss | Epoch | Step | Logits/chosen | Logits/rejected | Logps/chosen | Logps/rejected | Validation Loss | Rewards/accuracies | Rewards/chosen | Rewards/margins | Rewards/rejected |
|:-------------:|:-----:|:----:|:-------------:|:---------------:|:------------:|:--------------:|:---------------:|:------------------:|:--------------:|:---------------:|:----------------:|
| 0.3038        | 0.26  | 100  | -2.2372       | -2.2324         | -34.0128     | -37.5115       | 0.3512          | 0.5424             | 0.0196         | 0.0150          | 0.0046           |
| 0.3157        | 0.52  | 200  | -2.2371       | -2.2322         | -34.0181     | -37.5184       | 0.3716          | 0.5245             | 0.0148         | 0.0164          | -0.0016          |
| 0.2156        | 0.78  | 300  | -2.2364       | -2.2316         | -34.0143     | -37.4970       | 0.3845          | 0.4934             | 0.0182         | 0.0005          | 0.0177           |
| 0.4084        | 1.04  | 400  | 0.4059        | 0.0705          | 0.0718       | 0.5066         | -0.0013         | -37.4369           | -33.9562       | -2.2400         | -2.2448          |
| 0.2788        | 1.3   | 500  | 0.3866        | 0.0701          | 0.0576       | 0.5191         | 0.0125          | -37.4526           | -33.9566       | -2.2356         | -2.2405          |
| 0.3874        | 1.56  | 600  | 0.4265        | 0.0711          | 0.0890       | 0.4726         | -0.0180         | -37.4177           | -33.9556       | -2.2421         | -2.2470          |
| 0.2695        | 1.82  | 700  | 0.4028        | 0.0816          | 0.0876       | 0.5079         | -0.0060         | -37.4193           | -33.9439       | -2.2429         | -2.2478          |
| 0.1725        | 2.08  | 800  | 0.4083        | 0.0967          | 0.1077       | 0.4821         | -0.0110         | -37.3970           | -33.9271       | -2.2415         | -2.2463          |
| 0.2502        | 2.34  | 900  | 0.4099        | 0.1154          | 0.1311       | 0.4900         | -0.0157         | -37.3709           | -33.9064       | -2.2438         | -2.2487          |
| 0.1529        | 2.6   | 1000 | 0.3879        | 0.1222          | 0.1257       | 0.5216         | -0.0034         | -37.3770           | -33.8988       | -2.2428         | -2.2477          |
| 0.1583        | 2.86  | 1100 | 0.3968        | 0.1193          | 0.1250       | 0.4875         | -0.0057         | -37.3777           | -33.9020       | -2.2433         | -2.2482          |
| 0.113         | 3.12  | 1200 | 0.3849        | 0.1137          | 0.1163       | 0.4784         | -0.0025         | -37.3874           | -33.9082       | -2.2421         | -2.2470          |
| 0.0937        | 3.38  | 1300 | 0.3738        | 0.1235          | 0.1177       | 0.5046         | 0.0058          | -37.3859           | -33.8973       | -2.2423         | -2.2472          |
| 0.0815        | 3.64  | 1400 | 0.3595        | 0.1338          | 0.1197       | 0.5224         | 0.0141          | -37.3836           | -33.8859       | -2.2427         | -2.2476          |
| 0.0757        | 3.9   | 1500 | 0.3543        | 0.1332          | 0.1192       | 0.5486         | 0.0139          | -37.3842           | -33.8866       | -2.2421         | -2.2469          |


### Framework versions

- PEFT 0.10.0
- Transformers 4.39.0.dev0
- Pytorch 2.1.2+cu121
- Datasets 2.14.6
- Tokenizers 0.15.1