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: openchat/openchat-3.6-8b-20240522
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- dpo
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: openchat-3.6-8b-20240522_iter1
|
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_iter1
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [openchat/openchat-3.6-8b-20240522](https://huggingface.co/openchat/openchat-3.6-8b-20240522) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.5244
|
21 |
+
- Rewards/chosen: -1.3982
|
22 |
+
- Rewards/rejected: -2.1254
|
23 |
+
- Rewards/accuracies: 0.7200
|
24 |
+
- Rewards/margins: 0.7272
|
25 |
+
- Logps/rejected: -171.7692
|
26 |
+
- Logps/chosen: -199.1642
|
27 |
+
- Logits/rejected: -1.2657
|
28 |
+
- Logits/chosen: -1.3423
|
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.6926 | 0.1153 | 100 | 0.6938 | -0.0143 | -0.0002 | 0.4000 | -0.0142 | -150.5169 | -185.3253 | -1.4917 | -1.5923 |
|
66 |
+
| 0.679 | 0.2307 | 200 | 0.6922 | -0.1109 | -0.1115 | 0.5600 | 0.0006 | -151.6300 | -186.2912 | -1.4630 | -1.5610 |
|
67 |
+
| 0.6486 | 0.3460 | 300 | 0.6787 | -0.2780 | -0.2833 | 0.6400 | 0.0052 | -153.3482 | -187.9626 | -1.4348 | -1.5306 |
|
68 |
+
| 0.6411 | 0.4614 | 400 | 0.6542 | -0.3856 | -0.5726 | 0.6800 | 0.1870 | -156.2416 | -189.0385 | -1.3933 | -1.4854 |
|
69 |
+
| 0.6012 | 0.5767 | 500 | 0.6362 | -0.6283 | -0.8095 | 0.6800 | 0.1812 | -158.6099 | -191.4649 | -1.3534 | -1.4404 |
|
70 |
+
| 0.618 | 0.6921 | 600 | 0.6056 | -0.6784 | -1.0395 | 0.7200 | 0.3611 | -160.9102 | -191.9662 | -1.3254 | -1.4087 |
|
71 |
+
| 0.5593 | 0.8074 | 700 | 0.5816 | -0.7838 | -1.2369 | 0.7200 | 0.4531 | -162.8839 | -193.0198 | -1.3188 | -1.4025 |
|
72 |
+
| 0.6186 | 0.9228 | 800 | 0.5684 | -0.9097 | -1.3887 | 0.7200 | 0.4790 | -164.4020 | -194.2788 | -1.3118 | -1.3925 |
|
73 |
+
| 0.435 | 1.0381 | 900 | 0.5445 | -1.0726 | -1.6299 | 0.6800 | 0.5573 | -166.8143 | -195.9084 | -1.2884 | -1.3688 |
|
74 |
+
| 0.3574 | 1.1535 | 1000 | 0.5431 | -1.2392 | -1.8217 | 0.7600 | 0.5825 | -168.7325 | -197.5744 | -1.2871 | -1.3622 |
|
75 |
+
| 0.3629 | 1.2688 | 1100 | 0.5291 | -1.3493 | -2.0023 | 0.7600 | 0.6530 | -170.5380 | -198.6750 | -1.2698 | -1.3464 |
|
76 |
+
| 0.372 | 1.3842 | 1200 | 0.5354 | -1.4103 | -2.0374 | 0.6800 | 0.6270 | -170.8891 | -199.2855 | -1.2711 | -1.3467 |
|
77 |
+
| 0.4256 | 1.4995 | 1300 | 0.5290 | -1.3264 | -2.0119 | 0.7200 | 0.6855 | -170.6346 | -198.4460 | -1.2728 | -1.3499 |
|
78 |
+
| 0.3428 | 1.6149 | 1400 | 0.5261 | -1.3729 | -2.0747 | 0.6800 | 0.7019 | -171.2626 | -198.9109 | -1.2725 | -1.3481 |
|
79 |
+
| 0.3868 | 1.7302 | 1500 | 0.5269 | -1.3721 | -2.1075 | 0.7200 | 0.7354 | -171.5904 | -198.9033 | -1.2656 | -1.3428 |
|
80 |
+
| 0.3909 | 1.8456 | 1600 | 0.5235 | -1.3906 | -2.1287 | 0.7200 | 0.7380 | -171.8019 | -199.0883 | -1.2676 | -1.3435 |
|
81 |
+
| 0.3738 | 1.9609 | 1700 | 0.5244 | -1.3982 | -2.1254 | 0.7200 | 0.7272 | -171.7692 | -199.1642 | -1.2657 | -1.3423 |
|
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 |
+
}
|