End of training
Browse files- README.md +78 -0
- adapter_model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-Filtered-0.2-version-4
|
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-Filtered-0.2-version-4
|
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.4722
|
22 |
+
- Rewards/chosen: -4.6553
|
23 |
+
- Rewards/rejected: -7.8727
|
24 |
+
- Rewards/accuracies: 0.8500
|
25 |
+
- Rewards/margins: 3.2174
|
26 |
+
- Logps/rejected: -130.0573
|
27 |
+
- Logps/chosen: -99.6505
|
28 |
+
- Logits/rejected: -1.6599
|
29 |
+
- Logits/chosen: -1.6641
|
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: 1
|
50 |
+
- eval_batch_size: 1
|
51 |
+
- seed: 42
|
52 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
53 |
+
- lr_scheduler_type: cosine
|
54 |
+
- lr_scheduler_warmup_steps: 10
|
55 |
+
- num_epochs: 3
|
56 |
+
|
57 |
+
### Training results
|
58 |
+
|
59 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
60 |
+
|:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
61 |
+
| 0.6253 | 0.3007 | 289 | 0.4804 | 0.1896 | -0.8278 | 0.75 | 1.0174 | -59.6087 | -51.2020 | -0.5776 | -0.5728 |
|
62 |
+
| 0.7389 | 0.6015 | 578 | 0.6042 | -0.7550 | -1.2877 | 0.75 | 0.5327 | -64.2070 | -60.6478 | -0.5344 | -0.5271 |
|
63 |
+
| 0.9409 | 0.9022 | 867 | 0.5284 | -1.7710 | -2.8304 | 0.8000 | 1.0594 | -79.6340 | -70.8077 | -0.7636 | -0.7588 |
|
64 |
+
| 0.1677 | 1.2029 | 1156 | 0.5894 | -3.1943 | -5.2391 | 0.8500 | 2.0448 | -103.7217 | -85.0409 | -1.2480 | -1.2513 |
|
65 |
+
| 0.7214 | 1.5036 | 1445 | 0.9016 | -2.9280 | -4.9877 | 0.75 | 2.0597 | -101.2072 | -82.3778 | -1.7146 | -1.7203 |
|
66 |
+
| 0.0886 | 1.8044 | 1734 | 0.5467 | -5.1233 | -7.7654 | 0.8000 | 2.6421 | -128.9842 | -104.3309 | -1.6795 | -1.6833 |
|
67 |
+
| 0.0017 | 2.1051 | 2023 | 0.4601 | -4.5145 | -7.6515 | 0.9000 | 3.1370 | -127.8453 | -98.2430 | -1.6638 | -1.6679 |
|
68 |
+
| 0.0517 | 2.4058 | 2312 | 0.4787 | -4.6994 | -7.9152 | 0.8500 | 3.2159 | -130.4826 | -100.0915 | -1.6608 | -1.6651 |
|
69 |
+
| 0.0003 | 2.7066 | 2601 | 0.4722 | -4.6553 | -7.8727 | 0.8500 | 3.2174 | -130.0573 | -99.6505 | -1.6599 | -1.6641 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- PEFT 0.10.0
|
75 |
+
- Transformers 4.40.2
|
76 |
+
- Pytorch 2.3.0+cu121
|
77 |
+
- Datasets 2.19.1
|
78 |
+
- 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:bd0a41be521bc168a75fbab8700fd786da9f52338cf81efd593cfeb405d266bd
|
3 |
size 604336032
|