End of training
Browse files- README.md +80 -0
- adapter_model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama2
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- dpo
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: meta-llama/Llama-2-7b-hf
|
9 |
+
model-index:
|
10 |
+
- name: Llama-2-7b-hf-DPO-PartialEval_ET0.1_MT1.2_V.1.0
|
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 |
+
# Llama-2-7b-hf-DPO-PartialEval_ET0.1_MT1.2_V.1.0
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.7063
|
22 |
+
- Rewards/chosen: -1.8087
|
23 |
+
- Rewards/rejected: -2.4327
|
24 |
+
- Rewards/accuracies: 0.7000
|
25 |
+
- Rewards/margins: 0.6240
|
26 |
+
- Logps/rejected: -101.7455
|
27 |
+
- Logps/chosen: -109.7301
|
28 |
+
- Logits/rejected: -1.0472
|
29 |
+
- Logits/chosen: -1.0455
|
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-05
|
49 |
+
- train_batch_size: 2
|
50 |
+
- eval_batch_size: 2
|
51 |
+
- seed: 42
|
52 |
+
- gradient_accumulation_steps: 2
|
53 |
+
- total_train_batch_size: 4
|
54 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
55 |
+
- lr_scheduler_type: cosine
|
56 |
+
- lr_scheduler_warmup_steps: 10
|
57 |
+
- num_epochs: 3
|
58 |
+
|
59 |
+
### Training results
|
60 |
+
|
61 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
62 |
+
|:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
63 |
+
| 0.6461 | 0.3009 | 68 | 0.6839 | 0.0330 | 0.0082 | 0.6000 | 0.0248 | -77.3366 | -91.3130 | -0.2945 | -0.2863 |
|
64 |
+
| 0.9723 | 0.6018 | 136 | 0.6779 | 0.0339 | -0.0486 | 0.7000 | 0.0824 | -77.9042 | -91.3046 | -0.3345 | -0.3256 |
|
65 |
+
| 0.6461 | 0.9027 | 204 | 0.6352 | -0.0081 | -0.2128 | 0.8000 | 0.2047 | -79.5466 | -91.7240 | -0.3939 | -0.3854 |
|
66 |
+
| 0.2832 | 1.2035 | 272 | 0.5825 | -0.8764 | -1.2440 | 0.7000 | 0.3676 | -89.8586 | -100.4076 | -0.6262 | -0.6198 |
|
67 |
+
| 0.1923 | 1.5044 | 340 | 0.5559 | -1.1573 | -1.6161 | 0.7000 | 0.4587 | -93.5792 | -103.2166 | -0.6844 | -0.6797 |
|
68 |
+
| 0.3898 | 1.8053 | 408 | 0.6173 | -1.3556 | -1.8473 | 0.7000 | 0.4918 | -95.8919 | -105.1990 | -0.8939 | -0.8905 |
|
69 |
+
| 0.3404 | 2.1062 | 476 | 0.6381 | -1.3063 | -1.8875 | 0.7000 | 0.5812 | -96.2932 | -104.7061 | -0.9068 | -0.9042 |
|
70 |
+
| 0.4954 | 2.4071 | 544 | 0.6915 | -1.7445 | -2.3721 | 0.7000 | 0.6276 | -101.1399 | -109.0883 | -1.0304 | -1.0288 |
|
71 |
+
| 0.3914 | 2.7080 | 612 | 0.7063 | -1.8087 | -2.4327 | 0.7000 | 0.6240 | -101.7455 | -109.7301 | -1.0472 | -1.0455 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- PEFT 0.10.0
|
77 |
+
- Transformers 4.40.2
|
78 |
+
- Pytorch 2.3.0+cu121
|
79 |
+
- Datasets 2.19.1
|
80 |
+
- Tokenizers 0.19.1
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 604336032
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:987e026eb4508cedbf6e2b013d7174d2b90d02ec5740020222a3e83ae190ccd3
|
3 |
size 604336032
|