LouisSanna commited on
Commit
6cd3b8a
1 Parent(s): e6b0a6d

Model save

Browse files
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: openai-community/gpt2
5
+ tags:
6
+ - trl
7
+ - dpo
8
+ - generated_from_trainer
9
+ datasets:
10
+ - piqa
11
+ model-index:
12
+ - name: dpo-model-output
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # dpo-model-output
20
+
21
+ This model is a fine-tuned version of [openai-community/gpt2](https://huggingface.co/openai-community/gpt2) on the piqa dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 1.0022
24
+ - Rewards/chosen: -17.7008
25
+ - Rewards/rejected: -19.2025
26
+ - Rewards/accuracies: 0.6638
27
+ - Rewards/margins: 1.5016
28
+ - Logps/rejected: -283.3009
29
+ - Logps/chosen: -266.5706
30
+ - Logits/rejected: -79.0250
31
+ - Logits/chosen: -79.1854
32
+
33
+ ## Model description
34
+
35
+ More information needed
36
+
37
+ ## Intended uses & limitations
38
+
39
+ More information needed
40
+
41
+ ## Training and evaluation data
42
+
43
+ More information needed
44
+
45
+ ## Training procedure
46
+
47
+ ### Training hyperparameters
48
+
49
+ The following hyperparameters were used during training:
50
+ - learning_rate: 5e-05
51
+ - train_batch_size: 4
52
+ - eval_batch_size: 4
53
+ - seed: 42
54
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
55
+ - lr_scheduler_type: linear
56
+ - num_epochs: 3
57
+
58
+ ### Training results
59
+
60
+ | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
61
+ |:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
62
+ | 0.717 | 1.0 | 3223 | 0.6773 | -6.7817 | -7.2423 | 0.6513 | 0.4606 | -163.6990 | -157.3790 | -76.4738 | -76.4513 |
63
+ | 0.3122 | 2.0 | 6446 | 0.7910 | -12.1665 | -13.1665 | 0.6675 | 1.0000 | -222.9408 | -211.2272 | -85.8639 | -85.9837 |
64
+ | 0.0481 | 3.0 | 9669 | 1.0022 | -17.7008 | -19.2025 | 0.6638 | 1.5016 | -283.3009 | -266.5706 | -79.0250 | -79.1854 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.44.2
70
+ - Pytorch 2.0.0
71
+ - Datasets 2.16.1
72
+ - Tokenizers 0.19.1
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.44.2"
6
+ }
logs/events.out.tfevents.1725046396.algo-1.65.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c617f02f2c4466f4e669e618f3f7f6260410f9ba15302bef7c224768e1e84746
3
- size 20452
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:895afe83de67194d5b5efb6ca735a29f801f6531ff3fbbc4dea9c6fa0d69db03
3
+ size 21546
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7e25a251affa4e1e080018406f56e1ad533909707edb30e802d103e5822f4d1d
3
  size 497774208
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:179eab41c5bc7014cd982265239bfc78882fba9b2ed0c71afc3557f4c1d7c053
3
  size 497774208