Model save
Browse files- README.md +89 -0
- generation_config.json +6 -0
README.md
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama3
|
3 |
+
base_model: RyanYr/openchat-3.6-8b-20240522_iter1
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- dpo
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: openchat-3.6-8b-20240522_iter2
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# openchat-3.6-8b-20240522_iter2
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [RyanYr/openchat-3.6-8b-20240522_iter1](https://huggingface.co/RyanYr/openchat-3.6-8b-20240522_iter1) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.5377
|
21 |
+
- Rewards/chosen: -0.2459
|
22 |
+
- Rewards/rejected: -0.7375
|
23 |
+
- Rewards/accuracies: 0.7200
|
24 |
+
- Rewards/margins: 0.4916
|
25 |
+
- Logps/rejected: -139.4380
|
26 |
+
- Logps/chosen: -132.3574
|
27 |
+
- Logits/rejected: -1.3194
|
28 |
+
- Logits/chosen: -1.3369
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Intended uses & limitations
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training and evaluation data
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training procedure
|
43 |
+
|
44 |
+
### Training hyperparameters
|
45 |
+
|
46 |
+
The following hyperparameters were used during training:
|
47 |
+
- learning_rate: 2e-07
|
48 |
+
- train_batch_size: 1
|
49 |
+
- eval_batch_size: 1
|
50 |
+
- seed: 42
|
51 |
+
- distributed_type: multi-GPU
|
52 |
+
- num_devices: 4
|
53 |
+
- gradient_accumulation_steps: 16
|
54 |
+
- total_train_batch_size: 64
|
55 |
+
- total_eval_batch_size: 4
|
56 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
57 |
+
- lr_scheduler_type: cosine
|
58 |
+
- lr_scheduler_warmup_steps: 100
|
59 |
+
- num_epochs: 2
|
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 |
|
64 |
+
|:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
65 |
+
| 0.7344 | 0.1140 | 100 | 0.7121 | 0.3107 | 0.3572 | 0.4000 | -0.0465 | -128.4905 | -126.7911 | -1.4523 | -1.4659 |
|
66 |
+
| 0.6553 | 0.2281 | 200 | 0.6966 | 0.2237 | 0.2513 | 0.5200 | -0.0276 | -129.5494 | -127.6609 | -1.4428 | -1.4571 |
|
67 |
+
| 0.669 | 0.3421 | 300 | 0.6798 | 0.1031 | 0.0581 | 0.5200 | 0.0450 | -131.4815 | -128.8666 | -1.4122 | -1.4281 |
|
68 |
+
| 0.6402 | 0.4561 | 400 | 0.6595 | 0.0694 | -0.0114 | 0.6400 | 0.0808 | -132.1772 | -129.2041 | -1.4254 | -1.4406 |
|
69 |
+
| 0.6716 | 0.5702 | 500 | 0.6351 | 0.1022 | -0.0221 | 0.6400 | 0.1243 | -132.2838 | -128.8764 | -1.4550 | -1.4689 |
|
70 |
+
| 0.655 | 0.6842 | 600 | 0.6278 | 0.1039 | -0.0286 | 0.6000 | 0.1325 | -132.3487 | -128.8587 | -1.4625 | -1.4766 |
|
71 |
+
| 0.5943 | 0.7982 | 700 | 0.6084 | 0.0643 | -0.1073 | 0.6400 | 0.1716 | -133.1360 | -129.2548 | -1.4485 | -1.4622 |
|
72 |
+
| 0.6048 | 0.9123 | 800 | 0.6002 | 0.0902 | -0.1175 | 0.6800 | 0.2077 | -133.2379 | -128.9962 | -1.4607 | -1.4735 |
|
73 |
+
| 0.4934 | 1.0263 | 900 | 0.5798 | 0.0298 | -0.2745 | 0.7200 | 0.3043 | -134.8078 | -129.5996 | -1.4349 | -1.4491 |
|
74 |
+
| 0.4284 | 1.1403 | 1000 | 0.5724 | -0.1252 | -0.4897 | 0.6800 | 0.3645 | -136.9601 | -131.1501 | -1.3824 | -1.3981 |
|
75 |
+
| 0.4132 | 1.2544 | 1100 | 0.5563 | -0.1930 | -0.5928 | 0.7600 | 0.3998 | -137.9906 | -131.8278 | -1.3545 | -1.3715 |
|
76 |
+
| 0.3957 | 1.3684 | 1200 | 0.5543 | -0.2162 | -0.6427 | 0.7600 | 0.4264 | -138.4894 | -132.0604 | -1.3412 | -1.3583 |
|
77 |
+
| 0.4893 | 1.4824 | 1300 | 0.5476 | -0.2078 | -0.6782 | 0.7200 | 0.4704 | -138.8445 | -131.9757 | -1.3340 | -1.3521 |
|
78 |
+
| 0.4361 | 1.5965 | 1400 | 0.5413 | -0.2007 | -0.6908 | 0.7200 | 0.4901 | -138.9703 | -131.9046 | -1.3316 | -1.3490 |
|
79 |
+
| 0.4406 | 1.7105 | 1500 | 0.5477 | -0.2466 | -0.6913 | 0.7200 | 0.4448 | -138.9762 | -132.3638 | -1.3242 | -1.3421 |
|
80 |
+
| 0.3988 | 1.8245 | 1600 | 0.5449 | -0.2388 | -0.7225 | 0.7200 | 0.4838 | -139.2881 | -132.2855 | -1.3254 | -1.3431 |
|
81 |
+
| 0.4044 | 1.9386 | 1700 | 0.5377 | -0.2459 | -0.7375 | 0.7200 | 0.4916 | -139.4380 | -132.3574 | -1.3194 | -1.3369 |
|
82 |
+
|
83 |
+
|
84 |
+
### Framework versions
|
85 |
+
|
86 |
+
- Transformers 4.43.4
|
87 |
+
- Pytorch 2.1.2+cu121
|
88 |
+
- Datasets 2.14.6
|
89 |
+
- Tokenizers 0.19.1
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 128000,
|
4 |
+
"eos_token_id": 128001,
|
5 |
+
"transformers_version": "4.43.4"
|
6 |
+
}
|