LouisSanna
commited on
Commit
•
32b677e
1
Parent(s):
6e4b7fc
Model save
Browse files- README.md +75 -0
- generation_config.json +6 -0
- logs/events.out.tfevents.1725050627.algo-1.65.0 +2 -2
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: mit
|
4 |
+
base_model: openai-community/gpt2
|
5 |
+
tags:
|
6 |
+
- trl
|
7 |
+
- orpo
|
8 |
+
- generated_from_trainer
|
9 |
+
datasets:
|
10 |
+
- piqa
|
11 |
+
model-index:
|
12 |
+
- name: orpo-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 |
+
# orpo-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: 3.2999
|
24 |
+
- Rewards/chosen: -0.3182
|
25 |
+
- Rewards/rejected: -0.3369
|
26 |
+
- Rewards/accuracies: 0.6693
|
27 |
+
- Rewards/margins: 0.0187
|
28 |
+
- Logps/rejected: -3.3688
|
29 |
+
- Logps/chosen: -3.1821
|
30 |
+
- Logits/rejected: -24.5739
|
31 |
+
- Logits/chosen: -24.6603
|
32 |
+
- Nll Loss: 3.2330
|
33 |
+
- Log Odds Ratio: -0.6695
|
34 |
+
- Log Odds Chosen: 0.2013
|
35 |
+
|
36 |
+
## Model description
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Intended uses & limitations
|
41 |
+
|
42 |
+
More information needed
|
43 |
+
|
44 |
+
## Training and evaluation data
|
45 |
+
|
46 |
+
More information needed
|
47 |
+
|
48 |
+
## Training procedure
|
49 |
+
|
50 |
+
### Training hyperparameters
|
51 |
+
|
52 |
+
The following hyperparameters were used during training:
|
53 |
+
- learning_rate: 5e-05
|
54 |
+
- train_batch_size: 4
|
55 |
+
- eval_batch_size: 4
|
56 |
+
- seed: 42
|
57 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
58 |
+
- lr_scheduler_type: linear
|
59 |
+
- num_epochs: 3
|
60 |
+
|
61 |
+
### Training results
|
62 |
+
|
63 |
+
| 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 |
|
64 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|:--------:|:--------------:|:---------------:|
|
65 |
+
| 3.1799 | 1.0 | 3223 | 3.1575 | -0.2992 | -0.3103 | 0.6472 | 0.0111 | -3.1030 | -2.9917 | -16.2781 | -16.3180 | 3.0900 | -0.6758 | 0.1201 |
|
66 |
+
| 2.7077 | 2.0 | 6446 | 3.1544 | -0.3005 | -0.3160 | 0.6652 | 0.0154 | -3.1595 | -3.0051 | -21.7517 | -21.8387 | 3.0878 | -0.6671 | 0.1676 |
|
67 |
+
| 2.2691 | 3.0 | 9669 | 3.2999 | -0.3182 | -0.3369 | 0.6693 | 0.0187 | -3.3688 | -3.1821 | -24.5739 | -24.6603 | 3.2330 | -0.6695 | 0.2013 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.44.2
|
73 |
+
- Pytorch 2.0.0
|
74 |
+
- Datasets 2.16.1
|
75 |
+
- 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.1725050627.algo-1.65.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2bbd6d7eebe278afd1a52851689ccfb6a954a5f4130078fc96095df10e9401a0
|
3 |
+
size 24912
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 497774208
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c30cf80d2319bd95da14aa7b8fec9165945ccef07088aabedb3738bf0f5655c
|
3 |
size 497774208
|