End of training
Browse files- DPO/adapter_config.json +3 -3
- DPO/adapter_model.safetensors +1 -1
- README.md +17 -17
- reference/adapter_config.json +3 -3
- reference/adapter_model.safetensors +1 -1
- runs/Jun24_03-31-02_167-234-221-159/events.out.tfevents.1719199875.167-234-221-159.30322.0 +3 -0
- runs/Jun24_04-52-10_167-234-221-159/events.out.tfevents.1719204730.167-234-221-159.46214.0 +3 -0
- runs/Jun24_04-53-49_167-234-221-159/events.out.tfevents.1719204830.167-234-221-159.46861.0 +3 -0
- training_args.bin +1 -1
DPO/adapter_config.json
CHANGED
|
@@ -20,13 +20,13 @@
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
|
|
|
| 23 |
"up_proj",
|
| 24 |
-
"o_proj",
|
| 25 |
"v_proj",
|
| 26 |
-
"
|
| 27 |
"k_proj",
|
| 28 |
"gate_proj",
|
| 29 |
-
"
|
| 30 |
],
|
| 31 |
"task_type": "CAUSAL_LM",
|
| 32 |
"use_dora": false,
|
|
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
| 23 |
+
"down_proj",
|
| 24 |
"up_proj",
|
|
|
|
| 25 |
"v_proj",
|
| 26 |
+
"o_proj",
|
| 27 |
"k_proj",
|
| 28 |
"gate_proj",
|
| 29 |
+
"q_proj"
|
| 30 |
],
|
| 31 |
"task_type": "CAUSAL_LM",
|
| 32 |
"use_dora": false,
|
DPO/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:2a7eb1c70ec3f189be41d13b604d9f501f3d2ca8443b33aabb787b6477ba051a
|
| 3 |
size 167832240
|
README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
library_name: peft
|
|
|
|
| 4 |
tags:
|
| 5 |
- trl
|
| 6 |
- dpo
|
| 7 |
- generated_from_trainer
|
| 8 |
-
base_model: mistralai/Mistral-7B-v0.1
|
| 9 |
model-index:
|
| 10 |
- name: mistral_dpo
|
| 11 |
results: []
|
|
@@ -18,15 +18,15 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss: 0.
|
| 22 |
-
- Rewards/chosen: 0.
|
| 23 |
-
- Rewards/rejected: 0.
|
| 24 |
-
- Rewards/accuracies: 0.
|
| 25 |
-
- Rewards/margins: 0.
|
| 26 |
-
- Logps/rejected: -
|
| 27 |
-
- Logps/chosen: -
|
| 28 |
-
- Logits/rejected: -0.
|
| 29 |
-
- Logits/chosen: -0.
|
| 30 |
|
| 31 |
## Model description
|
| 32 |
|
|
@@ -60,11 +60,11 @@ The following hyperparameters were used during training:
|
|
| 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.
|
| 64 |
-
| 0.
|
| 65 |
-
| 0.
|
| 66 |
-
| 0.
|
| 67 |
-
| 0.
|
| 68 |
|
| 69 |
|
| 70 |
### Framework versions
|
|
@@ -72,5 +72,5 @@ The following hyperparameters were used during training:
|
|
| 72 |
- PEFT 0.11.1
|
| 73 |
- Transformers 4.41.2
|
| 74 |
- Pytorch 2.3.1+cu121
|
| 75 |
-
- Datasets 2.
|
| 76 |
- Tokenizers 0.19.1
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: mistralai/Mistral-7B-v0.1
|
| 3 |
library_name: peft
|
| 4 |
+
license: apache-2.0
|
| 5 |
tags:
|
| 6 |
- trl
|
| 7 |
- dpo
|
| 8 |
- generated_from_trainer
|
|
|
|
| 9 |
model-index:
|
| 10 |
- name: mistral_dpo
|
| 11 |
results: []
|
|
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.6901
|
| 22 |
+
- Rewards/chosen: 0.0478
|
| 23 |
+
- Rewards/rejected: 0.0414
|
| 24 |
+
- Rewards/accuracies: 0.5986
|
| 25 |
+
- Rewards/margins: 0.0065
|
| 26 |
+
- Logps/rejected: -55.2578
|
| 27 |
+
- Logps/chosen: -58.2493
|
| 28 |
+
- Logits/rejected: -0.0691
|
| 29 |
+
- Logits/chosen: -0.1144
|
| 30 |
|
| 31 |
## Model description
|
| 32 |
|
|
|
|
| 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.693 | 0.0882 | 20 | 0.6928 | 0.0070 | 0.0063 | 0.5487 | 0.0007 | -55.6083 | -58.6576 | -0.0693 | -0.1147 |
|
| 64 |
+
| 0.6919 | 0.1763 | 40 | 0.6915 | 0.0249 | 0.0215 | 0.6064 | 0.0034 | -55.4560 | -58.4780 | -0.0692 | -0.1146 |
|
| 65 |
+
| 0.6908 | 0.2645 | 60 | 0.6907 | 0.0344 | 0.0292 | 0.6038 | 0.0051 | -55.3790 | -58.3838 | -0.0694 | -0.1148 |
|
| 66 |
+
| 0.691 | 0.3526 | 80 | 0.6901 | 0.0421 | 0.0358 | 0.6012 | 0.0063 | -55.3130 | -58.3061 | -0.0691 | -0.1144 |
|
| 67 |
+
| 0.6895 | 0.4408 | 100 | 0.6901 | 0.0478 | 0.0414 | 0.5986 | 0.0065 | -55.2578 | -58.2493 | -0.0691 | -0.1144 |
|
| 68 |
|
| 69 |
|
| 70 |
### Framework versions
|
|
|
|
| 72 |
- PEFT 0.11.1
|
| 73 |
- Transformers 4.41.2
|
| 74 |
- Pytorch 2.3.1+cu121
|
| 75 |
+
- Datasets 2.20.0
|
| 76 |
- Tokenizers 0.19.1
|
reference/adapter_config.json
CHANGED
|
@@ -20,13 +20,13 @@
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
|
|
|
| 23 |
"up_proj",
|
| 24 |
-
"o_proj",
|
| 25 |
"v_proj",
|
| 26 |
-
"
|
| 27 |
"k_proj",
|
| 28 |
"gate_proj",
|
| 29 |
-
"
|
| 30 |
],
|
| 31 |
"task_type": "CAUSAL_LM",
|
| 32 |
"use_dora": false,
|
|
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
| 23 |
+
"down_proj",
|
| 24 |
"up_proj",
|
|
|
|
| 25 |
"v_proj",
|
| 26 |
+
"o_proj",
|
| 27 |
"k_proj",
|
| 28 |
"gate_proj",
|
| 29 |
+
"q_proj"
|
| 30 |
],
|
| 31 |
"task_type": "CAUSAL_LM",
|
| 32 |
"use_dora": false,
|
reference/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:0993053d1cb8f5126339726b78be278d424a5ab65a62968aae521c6578153dfa
|
| 3 |
size 167832240
|
runs/Jun24_03-31-02_167-234-221-159/events.out.tfevents.1719199875.167-234-221-159.30322.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2bc4ac054377c06ec3670233347aa22ed4562c75a3e5e16d6b16e182abbbd203
|
| 3 |
+
size 5985
|
runs/Jun24_04-52-10_167-234-221-159/events.out.tfevents.1719204730.167-234-221-159.46214.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e478c345f100c14e4fa758ae240e9e7a786f4338f4bdbe6937b3349a913b5d5
|
| 3 |
+
size 4184
|
runs/Jun24_04-53-49_167-234-221-159/events.out.tfevents.1719204830.167-234-221-159.46861.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd66b1168fa79be76d516883a255f0f523f31ff5768d19811a960204e8953575
|
| 3 |
+
size 13348
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5688
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a5da2270c2f48ae24e54031e2da497def000d592b75f0b67f1870f62144598e
|
| 3 |
size 5688
|