Model save
Browse files
README.md
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- dpo
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: alignment-handbook/zephyr-7b-sft-full
|
9 |
+
model-index:
|
10 |
+
- name: Temp-L1-SFT-L2-DPO
|
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 |
+
# Temp-L1-SFT-L2-DPO
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-full](https://huggingface.co/alignment-handbook/zephyr-7b-sft-full) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.0028
|
22 |
+
- Rewards/chosen: -0.3437
|
23 |
+
- Rewards/rejected: -7.0807
|
24 |
+
- Rewards/accuracies: 1.0
|
25 |
+
- Rewards/margins: 6.7370
|
26 |
+
- Logps/rejected: -752.9371
|
27 |
+
- Logps/chosen: -60.2789
|
28 |
+
- Logits/rejected: -2.7330
|
29 |
+
- Logits/chosen: -2.6142
|
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: 2
|
50 |
+
- eval_batch_size: 2
|
51 |
+
- seed: 42
|
52 |
+
- distributed_type: multi-GPU
|
53 |
+
- gradient_accumulation_steps: 2
|
54 |
+
- total_train_batch_size: 4
|
55 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
56 |
+
- lr_scheduler_type: cosine
|
57 |
+
- lr_scheduler_warmup_ratio: 0.1
|
58 |
+
- num_epochs: 1
|
59 |
+
|
60 |
+
### Training results
|
61 |
+
|
62 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
63 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
64 |
+
| 0.0046 | 0.25 | 1000 | 0.0116 | -0.7603 | -5.8063 | 1.0 | 5.0459 | -625.4973 | -101.9450 | -2.6955 | -2.5854 |
|
65 |
+
| 0.0037 | 0.5 | 2000 | 0.0037 | -0.2218 | -6.4841 | 1.0 | 6.2624 | -693.2846 | -48.0898 | -2.7333 | -2.6137 |
|
66 |
+
| 0.0039 | 0.75 | 3000 | 0.0028 | -0.3670 | -7.1056 | 1.0 | 6.7386 | -755.4296 | -62.6133 | -2.7342 | -2.6152 |
|
67 |
+
| 0.0019 | 1.0 | 4000 | 0.0028 | -0.3437 | -7.0807 | 1.0 | 6.7370 | -752.9371 | -60.2789 | -2.7330 | -2.6142 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- PEFT 0.7.1
|
73 |
+
- Transformers 4.39.0.dev0
|
74 |
+
- Pytorch 2.1.2+cu121
|
75 |
+
- Datasets 2.18.0
|
76 |
+
- Tokenizers 0.15.2
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 83946192
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74fdade2d79e686afe81a9974da2b450ebd4ba10fe5dfde34d591793b276a0c0
|
3 |
size 83946192
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.04242442899794605,
|
4 |
+
"train_runtime": 8772.4234,
|
5 |
+
"train_samples": 16017,
|
6 |
+
"train_samples_per_second": 1.826,
|
7 |
+
"train_steps_per_second": 0.456
|
8 |
+
}
|
runs/May01_17-45-27_612e66badb5c/events.out.tfevents.1714585627.612e66badb5c.20786.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:e56fda8d624448a8bf351df9baba7385522f927d9e2a181a39f3af854737d38b
|
3 |
+
size 283810
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.04242442899794605,
|
4 |
+
"train_runtime": 8772.4234,
|
5 |
+
"train_samples": 16017,
|
6 |
+
"train_samples_per_second": 1.826,
|
7 |
+
"train_steps_per_second": 0.456
|
8 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|