floleuerer
commited on
Commit
•
2c6e000
1
Parent(s):
751ac22
Model save
Browse files- README.md +86 -0
- adapter_model.safetensors +1 -1
- all_results.json +21 -0
- eval_results.json +16 -0
- runs/Jan14_23-44-38_bronxx/events.out.tfevents.1705272324.bronxx.25818.0 +2 -2
- runs/Jan14_23-44-38_bronxx/events.out.tfevents.1705364890.bronxx.25818.1 +3 -0
- train_results.json +8 -0
- trainer_state.json +0 -0
README.md
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- dpo
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: mistralai/Mistral-7B-Instruct-v0.2
|
9 |
+
model-index:
|
10 |
+
- name: SausageLM-7b-Instruct-v0.01-dpo-qlora
|
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 |
+
# SausageLM-7b-Instruct-v0.01-dpo-qlora
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.4204
|
22 |
+
- Rewards/chosen: -1.9644
|
23 |
+
- Rewards/rejected: -3.5978
|
24 |
+
- Rewards/accuracies: 0.8020
|
25 |
+
- Rewards/margins: 1.6333
|
26 |
+
- Logps/rejected: -778.7791
|
27 |
+
- Logps/chosen: -552.1046
|
28 |
+
- Logits/rejected: 1.3639
|
29 |
+
- Logits/chosen: 0.3998
|
30 |
+
|
31 |
+
## Model description
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Intended uses & limitations
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training and evaluation data
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training procedure
|
44 |
+
|
45 |
+
### Training hyperparameters
|
46 |
+
|
47 |
+
The following hyperparameters were used during training:
|
48 |
+
- learning_rate: 5e-06
|
49 |
+
- train_batch_size: 1
|
50 |
+
- eval_batch_size: 2
|
51 |
+
- seed: 42
|
52 |
+
- distributed_type: multi-GPU
|
53 |
+
- num_devices: 2
|
54 |
+
- gradient_accumulation_steps: 8
|
55 |
+
- total_train_batch_size: 16
|
56 |
+
- total_eval_batch_size: 4
|
57 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
58 |
+
- lr_scheduler_type: cosine
|
59 |
+
- lr_scheduler_warmup_ratio: 0.1
|
60 |
+
- num_epochs: 1
|
61 |
+
|
62 |
+
### Training results
|
63 |
+
|
64 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
65 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
66 |
+
| 0.4906 | 0.08 | 300 | 0.5340 | -1.1814 | -1.8425 | 0.7310 | 0.6611 | -603.2533 | -473.8014 | -1.6234 | -1.7536 |
|
67 |
+
| 0.4794 | 0.16 | 600 | 0.4701 | -1.3882 | -2.4799 | 0.7700 | 1.0918 | -666.9945 | -494.4773 | 1.2460 | 0.4450 |
|
68 |
+
| 0.4519 | 0.24 | 900 | 0.4566 | -1.4239 | -2.6724 | 0.7730 | 1.2485 | -686.2431 | -498.0537 | 1.0803 | 0.1979 |
|
69 |
+
| 0.4034 | 0.31 | 1200 | 0.4487 | -1.9028 | -3.5170 | 0.7870 | 1.6142 | -770.7061 | -545.9451 | 1.7156 | 0.7244 |
|
70 |
+
| 0.4193 | 0.39 | 1500 | 0.4420 | -1.8864 | -3.4847 | 0.7840 | 1.5983 | -767.4712 | -544.3021 | 0.9998 | 0.0019 |
|
71 |
+
| 0.409 | 0.47 | 1800 | 0.4365 | -2.0591 | -3.7221 | 0.7920 | 1.6630 | -791.2130 | -561.5723 | 1.4876 | 0.5341 |
|
72 |
+
| 0.4037 | 0.55 | 2100 | 0.4334 | -2.1275 | -3.8835 | 0.7970 | 1.7560 | -807.3529 | -568.4110 | 1.9485 | 0.9489 |
|
73 |
+
| 0.3829 | 0.63 | 2400 | 0.4248 | -1.8791 | -3.4902 | 0.8010 | 1.6111 | -768.0193 | -543.5670 | 1.5421 | 0.5047 |
|
74 |
+
| 0.47 | 0.71 | 2700 | 0.4211 | -1.8565 | -3.4027 | 0.8030 | 1.5462 | -759.2699 | -541.3088 | 1.5152 | 0.5343 |
|
75 |
+
| 0.3769 | 0.79 | 3000 | 0.4205 | -1.9199 | -3.5317 | 0.8010 | 1.6119 | -772.1762 | -547.6463 | 1.5142 | 0.5326 |
|
76 |
+
| 0.3921 | 0.86 | 3300 | 0.4216 | -2.0430 | -3.7240 | 0.8050 | 1.6810 | -791.3992 | -559.9616 | 1.5287 | 0.5531 |
|
77 |
+
| 0.4249 | 0.94 | 3600 | 0.4204 | -1.9591 | -3.5883 | 0.8000 | 1.6292 | -777.8283 | -551.5704 | 1.3533 | 0.3917 |
|
78 |
+
|
79 |
+
|
80 |
+
### Framework versions
|
81 |
+
|
82 |
+
- PEFT 0.7.1
|
83 |
+
- Transformers 4.36.2
|
84 |
+
- Pytorch 2.1.2+cu121
|
85 |
+
- Datasets 2.14.6
|
86 |
+
- Tokenizers 0.15.0
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 167832240
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5cc84c44f4717ddd41b6930903c17f46fed48ee0dec37c6d3f7a732e4629439b
|
3 |
size 167832240
|
all_results.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": 0.39978858828544617,
|
4 |
+
"eval_logits/rejected": 1.363898754119873,
|
5 |
+
"eval_logps/chosen": -552.1046142578125,
|
6 |
+
"eval_logps/rejected": -778.7791137695312,
|
7 |
+
"eval_loss": 0.4203870892524719,
|
8 |
+
"eval_rewards/accuracies": 0.8019999861717224,
|
9 |
+
"eval_rewards/chosen": -1.9644380807876587,
|
10 |
+
"eval_rewards/margins": 1.633329153060913,
|
11 |
+
"eval_rewards/rejected": -3.5977675914764404,
|
12 |
+
"eval_runtime": 1376.4504,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 1.453,
|
15 |
+
"eval_steps_per_second": 0.363,
|
16 |
+
"train_loss": 0.43769783746998087,
|
17 |
+
"train_runtime": 91189.3347,
|
18 |
+
"train_samples": 61135,
|
19 |
+
"train_samples_per_second": 0.67,
|
20 |
+
"train_steps_per_second": 0.042
|
21 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": 0.39978858828544617,
|
4 |
+
"eval_logits/rejected": 1.363898754119873,
|
5 |
+
"eval_logps/chosen": -552.1046142578125,
|
6 |
+
"eval_logps/rejected": -778.7791137695312,
|
7 |
+
"eval_loss": 0.4203870892524719,
|
8 |
+
"eval_rewards/accuracies": 0.8019999861717224,
|
9 |
+
"eval_rewards/chosen": -1.9644380807876587,
|
10 |
+
"eval_rewards/margins": 1.633329153060913,
|
11 |
+
"eval_rewards/rejected": -3.5977675914764404,
|
12 |
+
"eval_runtime": 1376.4504,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 1.453,
|
15 |
+
"eval_steps_per_second": 0.363
|
16 |
+
}
|
runs/Jan14_23-44-38_bronxx/events.out.tfevents.1705272324.bronxx.25818.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:28f563d8730a0963ed2bf430b458f0a4709c091c2322936868622fb0974f10e5
|
3 |
+
size 256913
|
runs/Jan14_23-44-38_bronxx/events.out.tfevents.1705364890.bronxx.25818.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b24c0348bd32073c9a61445acd5a979edba4ce27b36dffd10456cd43be5c5c1c
|
3 |
+
size 828
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.43769783746998087,
|
4 |
+
"train_runtime": 91189.3347,
|
5 |
+
"train_samples": 61135,
|
6 |
+
"train_samples_per_second": 0.67,
|
7 |
+
"train_steps_per_second": 0.042
|
8 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|