End of training
Browse files- README.md +13 -11
- all_results.json +13 -0
- config.json +41 -0
- eval_results.json +16 -0
README.md
CHANGED
@@ -1,8 +1,10 @@
|
|
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
|
@@ -17,17 +19,17 @@ should probably proofread and complete it, then remove this comment. -->
|
|
17 |
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/nlp-xiaobo/huggingface/runs/fgjarr1f)
|
18 |
# Mistral-7B-base-simpo-qlora
|
19 |
|
20 |
-
This model is a fine-tuned version of [
|
21 |
It achieves the following results on the evaluation set:
|
22 |
-
-
|
23 |
-
-
|
24 |
-
-
|
25 |
-
-
|
26 |
-
-
|
27 |
-
-
|
28 |
-
-
|
29 |
-
-
|
30 |
-
-
|
31 |
|
32 |
## Model description
|
33 |
|
|
|
1 |
---
|
2 |
base_model: mistralai/Mistral-7B-v0.1
|
3 |
+
datasets:
|
4 |
+
- HuggingFaceH4/ultrafeedback_binarized
|
5 |
library_name: peft
|
|
|
6 |
tags:
|
7 |
+
- alignment-handbook
|
8 |
- trl
|
9 |
- dpo
|
10 |
- generated_from_trainer
|
|
|
19 |
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/nlp-xiaobo/huggingface/runs/fgjarr1f)
|
20 |
# Mistral-7B-base-simpo-qlora
|
21 |
|
22 |
+
This model is a fine-tuned version of [/home/yofuria/PLM/SimPO/zephyr-7b-sft-qlora](https://huggingface.co//home/yofuria/PLM/SimPO/zephyr-7b-sft-qlora) on the HuggingFaceH4/ultrafeedback_binarized dataset.
|
23 |
It achieves the following results on the evaluation set:
|
24 |
+
- Loss: 1.5543
|
25 |
+
- Rewards/chosen: -2.0201
|
26 |
+
- Rewards/rejected: -2.5529
|
27 |
+
- Rewards/accuracies: 0.6215
|
28 |
+
- Rewards/margins: 0.5328
|
29 |
+
- Logps/rejected: -1.2765
|
30 |
+
- Logps/chosen: -1.0100
|
31 |
+
- Logits/rejected: -2.1352
|
32 |
+
- Logits/chosen: -2.2380
|
33 |
|
34 |
## Model description
|
35 |
|
all_results.json
CHANGED
@@ -1,5 +1,18 @@
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"total_flos": 0.0,
|
4 |
"train_loss": 0.0,
|
5 |
"train_runtime": 4.514,
|
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -2.2379801273345947,
|
4 |
+
"eval_logits/rejected": -2.135157823562622,
|
5 |
+
"eval_logps/chosen": -1.0100419521331787,
|
6 |
+
"eval_logps/rejected": -1.2764651775360107,
|
7 |
+
"eval_loss": 1.5542570352554321,
|
8 |
+
"eval_rewards/accuracies": 0.6215000152587891,
|
9 |
+
"eval_rewards/chosen": -2.0200839042663574,
|
10 |
+
"eval_rewards/margins": 0.5328465104103088,
|
11 |
+
"eval_rewards/rejected": -2.5529303550720215,
|
12 |
+
"eval_runtime": 610.686,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 3.275,
|
15 |
+
"eval_steps_per_second": 0.819,
|
16 |
"total_flos": 0.0,
|
17 |
"train_loss": 0.0,
|
18 |
"train_runtime": 4.514,
|
config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "mistralai/Mistral-7B-v0.1",
|
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 |
+
"quantization_config": {
|
19 |
+
"_load_in_4bit": true,
|
20 |
+
"_load_in_8bit": false,
|
21 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
22 |
+
"bnb_4bit_quant_storage": "uint8",
|
23 |
+
"bnb_4bit_quant_type": "nf4",
|
24 |
+
"bnb_4bit_use_double_quant": false,
|
25 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
26 |
+
"llm_int8_has_fp16_weight": false,
|
27 |
+
"llm_int8_skip_modules": null,
|
28 |
+
"llm_int8_threshold": 6.0,
|
29 |
+
"load_in_4bit": true,
|
30 |
+
"load_in_8bit": false,
|
31 |
+
"quant_method": "bitsandbytes"
|
32 |
+
},
|
33 |
+
"rms_norm_eps": 1e-05,
|
34 |
+
"rope_theta": 10000.0,
|
35 |
+
"sliding_window": 4096,
|
36 |
+
"tie_word_embeddings": false,
|
37 |
+
"torch_dtype": "bfloat16",
|
38 |
+
"transformers_version": "4.42.2",
|
39 |
+
"use_cache": true,
|
40 |
+
"vocab_size": 32000
|
41 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -2.2379801273345947,
|
4 |
+
"eval_logits/rejected": -2.135157823562622,
|
5 |
+
"eval_logps/chosen": -1.0100419521331787,
|
6 |
+
"eval_logps/rejected": -1.2764651775360107,
|
7 |
+
"eval_loss": 1.5542570352554321,
|
8 |
+
"eval_rewards/accuracies": 0.6215000152587891,
|
9 |
+
"eval_rewards/chosen": -2.0200839042663574,
|
10 |
+
"eval_rewards/margins": 0.5328465104103088,
|
11 |
+
"eval_rewards/rejected": -2.5529303550720215,
|
12 |
+
"eval_runtime": 610.686,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 3.275,
|
15 |
+
"eval_steps_per_second": 0.819
|
16 |
+
}
|