MichaelR207
commited on
Commit
•
b3bed8d
1
Parent(s):
fa2e5b9
End of training
Browse files- README.md +17 -1
- all_results.json +13 -0
- config.json +26 -0
- eval_results.json +16 -0
README.md
CHANGED
@@ -2,10 +2,16 @@
|
|
2 |
license: mit
|
3 |
library_name: peft
|
4 |
tags:
|
|
|
|
|
|
|
|
|
5 |
- trl
|
6 |
- dpo
|
7 |
- generated_from_trainer
|
8 |
base_model: HuggingFaceH4/mistral-7b-sft-beta
|
|
|
|
|
9 |
model-index:
|
10 |
- name: mistral-sft-7b-dpo-qlora
|
11 |
results: []
|
@@ -16,7 +22,17 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# mistral-sft-7b-dpo-qlora
|
18 |
|
19 |
-
This model is a fine-tuned version of [HuggingFaceH4/mistral-7b-sft-beta](https://huggingface.co/HuggingFaceH4/mistral-7b-sft-beta) on the
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
## Model description
|
22 |
|
|
|
2 |
license: mit
|
3 |
library_name: peft
|
4 |
tags:
|
5 |
+
- alignment-handbook
|
6 |
+
- trl
|
7 |
+
- dpo
|
8 |
+
- generated_from_trainer
|
9 |
- trl
|
10 |
- dpo
|
11 |
- generated_from_trainer
|
12 |
base_model: HuggingFaceH4/mistral-7b-sft-beta
|
13 |
+
datasets:
|
14 |
+
- HuggingFaceH4/ultrafeedback_binarized
|
15 |
model-index:
|
16 |
- name: mistral-sft-7b-dpo-qlora
|
17 |
results: []
|
|
|
22 |
|
23 |
# mistral-sft-7b-dpo-qlora
|
24 |
|
25 |
+
This model is a fine-tuned version of [HuggingFaceH4/mistral-7b-sft-beta](https://huggingface.co/HuggingFaceH4/mistral-7b-sft-beta) on the HuggingFaceH4/ultrafeedback_binarized dataset.
|
26 |
+
It achieves the following results on the evaluation set:
|
27 |
+
- Loss: 0.6931
|
28 |
+
- Rewards/chosen: 0.0
|
29 |
+
- Rewards/rejected: 0.0
|
30 |
+
- Rewards/accuracies: 0.0
|
31 |
+
- Rewards/margins: 0.0
|
32 |
+
- Logps/rejected: -122.9924
|
33 |
+
- Logps/chosen: -86.4923
|
34 |
+
- Logits/rejected: -3.0448
|
35 |
+
- Logits/chosen: -2.9816
|
36 |
|
37 |
## Model description
|
38 |
|
all_results.json
CHANGED
@@ -1,5 +1,18 @@
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"train_loss": 0.5198603868484497,
|
4 |
"train_runtime": 25.1995,
|
5 |
"train_samples": 20,
|
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -2.9815621376037598,
|
4 |
+
"eval_logits/rejected": -3.0448005199432373,
|
5 |
+
"eval_logps/chosen": -86.49230194091797,
|
6 |
+
"eval_logps/rejected": -122.99235534667969,
|
7 |
+
"eval_loss": 0.6931473016738892,
|
8 |
+
"eval_rewards/accuracies": 0.0,
|
9 |
+
"eval_rewards/chosen": 0.0,
|
10 |
+
"eval_rewards/margins": 0.0,
|
11 |
+
"eval_rewards/rejected": 0.0,
|
12 |
+
"eval_runtime": 12.7004,
|
13 |
+
"eval_samples": 20,
|
14 |
+
"eval_samples_per_second": 1.575,
|
15 |
+
"eval_steps_per_second": 0.157,
|
16 |
"train_loss": 0.5198603868484497,
|
17 |
"train_runtime": 25.1995,
|
18 |
"train_samples": 20,
|
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "HuggingFaceH4/mistral-7b-sft-beta",
|
3 |
+
"architectures": [
|
4 |
+
"MistralForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 4096,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 14336,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"model_type": "mistral",
|
15 |
+
"num_attention_heads": 32,
|
16 |
+
"num_hidden_layers": 32,
|
17 |
+
"num_key_value_heads": 8,
|
18 |
+
"rms_norm_eps": 1e-05,
|
19 |
+
"rope_theta": 10000.0,
|
20 |
+
"sliding_window": 4096,
|
21 |
+
"tie_word_embeddings": false,
|
22 |
+
"torch_dtype": "bfloat16",
|
23 |
+
"transformers_version": "4.38.2",
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 32000
|
26 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -2.9815621376037598,
|
4 |
+
"eval_logits/rejected": -3.0448005199432373,
|
5 |
+
"eval_logps/chosen": -86.49230194091797,
|
6 |
+
"eval_logps/rejected": -122.99235534667969,
|
7 |
+
"eval_loss": 0.6931473016738892,
|
8 |
+
"eval_rewards/accuracies": 0.0,
|
9 |
+
"eval_rewards/chosen": 0.0,
|
10 |
+
"eval_rewards/margins": 0.0,
|
11 |
+
"eval_rewards/rejected": 0.0,
|
12 |
+
"eval_runtime": 12.7004,
|
13 |
+
"eval_samples": 20,
|
14 |
+
"eval_samples_per_second": 1.575,
|
15 |
+
"eval_steps_per_second": 0.157
|
16 |
+
}
|