Model save
Browse files- README.md +79 -0
- all_results.json +9 -0
- generation_config.json +12 -0
- runs/Sep11_13-48-23_jjb_prism_dev2/events.out.tfevents.1726030716.jjb_prism_dev2.69219.0 +2 -2
- train_results.json +9 -0
- trainer_state.json +0 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: llama3.1
|
4 |
+
base_model: meta-llama/Meta-Llama-3.1-8B-Instruct
|
5 |
+
tags:
|
6 |
+
- trl
|
7 |
+
- cpo
|
8 |
+
- generated_from_trainer
|
9 |
+
model-index:
|
10 |
+
- name: llama3.1-cpo_j-full-0911
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# llama3.1-cpo_j-full-0911
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.4373
|
22 |
+
- Rewards/chosen: -14.1493
|
23 |
+
- Rewards/rejected: -15.5710
|
24 |
+
- Rewards/accuracies: 0.6543
|
25 |
+
- Rewards/margins: 1.4217
|
26 |
+
- Logps/rejected: -155.7095
|
27 |
+
- Logps/chosen: -141.4926
|
28 |
+
- Logits/rejected: -0.1136
|
29 |
+
- Logits/chosen: -0.1476
|
30 |
+
- Nll Loss: 0.1725
|
31 |
+
|
32 |
+
## Model description
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Intended uses & limitations
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training and evaluation data
|
41 |
+
|
42 |
+
More information needed
|
43 |
+
|
44 |
+
## Training procedure
|
45 |
+
|
46 |
+
### Training hyperparameters
|
47 |
+
|
48 |
+
The following hyperparameters were used during training:
|
49 |
+
- learning_rate: 1e-06
|
50 |
+
- train_batch_size: 4
|
51 |
+
- eval_batch_size: 4
|
52 |
+
- seed: 42
|
53 |
+
- distributed_type: multi-GPU
|
54 |
+
- num_devices: 4
|
55 |
+
- gradient_accumulation_steps: 8
|
56 |
+
- total_train_batch_size: 128
|
57 |
+
- total_eval_batch_size: 16
|
58 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
59 |
+
- lr_scheduler_type: linear
|
60 |
+
- lr_scheduler_warmup_ratio: 0.1
|
61 |
+
- num_epochs: 5
|
62 |
+
|
63 |
+
### Training results
|
64 |
+
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen | Nll Loss |
|
66 |
+
|:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|:--------:|
|
67 |
+
| 1.4367 | 0.9986 | 432 | 1.3926 | -17.0679 | -18.0962 | 0.6565 | 1.0283 | -180.9624 | -170.6792 | -0.4080 | -0.4373 | 0.3200 |
|
68 |
+
| 0.5472 | 1.9994 | 865 | 1.2973 | -16.2909 | -17.5852 | 0.6587 | 1.2944 | -175.8523 | -162.9086 | -0.5434 | -0.5688 | 0.2148 |
|
69 |
+
| 0.2244 | 2.9980 | 1297 | 1.3861 | -15.7105 | -17.2195 | 0.6565 | 1.5089 | -172.1945 | -157.1052 | -0.3428 | -0.3715 | 0.2034 |
|
70 |
+
| 0.1472 | 3.9988 | 1730 | 1.4029 | -14.6462 | -16.1385 | 0.6522 | 1.4923 | -161.3849 | -146.4623 | -0.2701 | -0.3029 | 0.1876 |
|
71 |
+
| 0.1143 | 4.9928 | 2160 | 1.4373 | -14.1493 | -15.5710 | 0.6543 | 1.4217 | -155.7095 | -141.4926 | -0.1136 | -0.1476 | 0.1725 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.44.2
|
77 |
+
- Pytorch 2.3.1
|
78 |
+
- Datasets 2.21.0
|
79 |
+
- Tokenizers 0.19.1
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.9927766541462,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.5995175864961412,
|
5 |
+
"train_runtime": 46944.6998,
|
6 |
+
"train_samples": 55376,
|
7 |
+
"train_samples_per_second": 5.898,
|
8 |
+
"train_steps_per_second": 0.046
|
9 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 128000,
|
3 |
+
"do_sample": true,
|
4 |
+
"eos_token_id": [
|
5 |
+
128001,
|
6 |
+
128008,
|
7 |
+
128009
|
8 |
+
],
|
9 |
+
"temperature": 0.6,
|
10 |
+
"top_p": 0.9,
|
11 |
+
"transformers_version": "4.44.2"
|
12 |
+
}
|
runs/Sep11_13-48-23_jjb_prism_dev2/events.out.tfevents.1726030716.jjb_prism_dev2.69219.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:885690c34eb19be3d757dd39544336fa7df5bd0866ab3993e0d8ede89d540110
|
3 |
+
size 169938
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.9927766541462,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.5995175864961412,
|
5 |
+
"train_runtime": 46944.6998,
|
6 |
+
"train_samples": 55376,
|
7 |
+
"train_samples_per_second": 5.898,
|
8 |
+
"train_steps_per_second": 0.046
|
9 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|