End of training
Browse files
README.md
CHANGED
@@ -1,7 +1,10 @@
|
|
1 |
---
|
2 |
base_model: TII-Frontier-Team/falcon3-3b-instruct
|
|
|
|
|
3 |
library_name: peft
|
4 |
tags:
|
|
|
5 |
- trl
|
6 |
- dpo
|
7 |
- generated_from_trainer
|
@@ -15,17 +18,17 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# zephyr-7b-dpo-qlora
|
17 |
|
18 |
-
This model is a fine-tuned version of [TII-Frontier-Team/
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
- Loss: 0.
|
21 |
-
- Rewards/chosen: -4.
|
22 |
-
- Rewards/rejected: -10.
|
23 |
-
- Rewards/accuracies: 0.
|
24 |
-
- Rewards/margins: 5.
|
25 |
-
- Logps/rejected: -
|
26 |
-
- Logps/chosen: -
|
27 |
-
- Logits/rejected: 1.
|
28 |
-
- Logits/chosen: 2.
|
29 |
|
30 |
## Model description
|
31 |
|
|
|
1 |
---
|
2 |
base_model: TII-Frontier-Team/falcon3-3b-instruct
|
3 |
+
datasets:
|
4 |
+
- TII-Frontier-Team/Reasoning_DPO
|
5 |
library_name: peft
|
6 |
tags:
|
7 |
+
- alignment-handbook
|
8 |
- trl
|
9 |
- dpo
|
10 |
- generated_from_trainer
|
|
|
18 |
|
19 |
# zephyr-7b-dpo-qlora
|
20 |
|
21 |
+
This model is a fine-tuned version of [TII-Frontier-Team/PEFT-falcon3b-it-gsm8k](https://huggingface.co/TII-Frontier-Team/PEFT-falcon3b-it-gsm8k) on the TII-Frontier-Team/Reasoning_DPO dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.0286
|
24 |
+
- Rewards/chosen: -4.7078
|
25 |
+
- Rewards/rejected: -10.6652
|
26 |
+
- Rewards/accuracies: 0.9254
|
27 |
+
- Rewards/margins: 5.9575
|
28 |
+
- Logps/rejected: -1102.4209
|
29 |
+
- Logps/chosen: -503.5470
|
30 |
+
- Logits/rejected: 1.9412
|
31 |
+
- Logits/chosen: 2.1408
|
32 |
|
33 |
## Model description
|
34 |
|
all_results.json
CHANGED
@@ -1,5 +1,18 @@
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"total_flos": 0.0,
|
4 |
"train_loss": 0.19036180805619987,
|
5 |
"train_runtime": 15997.0818,
|
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": 2.140789270401001,
|
4 |
+
"eval_logits/rejected": 1.9412086009979248,
|
5 |
+
"eval_logps/chosen": -503.5469665527344,
|
6 |
+
"eval_logps/rejected": -1102.4208984375,
|
7 |
+
"eval_loss": 0.028598472476005554,
|
8 |
+
"eval_rewards/accuracies": 0.9253731369972229,
|
9 |
+
"eval_rewards/chosen": -4.707759380340576,
|
10 |
+
"eval_rewards/margins": 5.957462787628174,
|
11 |
+
"eval_rewards/rejected": -10.66522216796875,
|
12 |
+
"eval_runtime": 214.7372,
|
13 |
+
"eval_samples": 21417,
|
14 |
+
"eval_samples_per_second": 99.736,
|
15 |
+
"eval_steps_per_second": 1.56,
|
16 |
"total_flos": 0.0,
|
17 |
"train_loss": 0.19036180805619987,
|
18 |
"train_runtime": 15997.0818,
|
config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "TII-Frontier-Team/falcon3-3b-instruct",
|
3 |
+
"activation": "swiglu",
|
4 |
+
"architectures": [
|
5 |
+
"LlamaForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_bias": false,
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"bos_token_id": 10,
|
10 |
+
"eos_token_id": 127,
|
11 |
+
"head_dim": 256,
|
12 |
+
"hidden_act": "silu",
|
13 |
+
"hidden_size": 3072,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 9216,
|
16 |
+
"max_position_embeddings": 4096,
|
17 |
+
"mlp_bias": false,
|
18 |
+
"model_type": "llama",
|
19 |
+
"num_attention_heads": 12,
|
20 |
+
"num_hidden_layers": 22,
|
21 |
+
"num_key_value_heads": 4,
|
22 |
+
"output_hidden_states": true,
|
23 |
+
"pad_token_id": 11,
|
24 |
+
"parallel_attn": false,
|
25 |
+
"pretraining_tp": 1,
|
26 |
+
"quantization_config": {
|
27 |
+
"_load_in_4bit": true,
|
28 |
+
"_load_in_8bit": false,
|
29 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
30 |
+
"bnb_4bit_quant_storage": "uint8",
|
31 |
+
"bnb_4bit_quant_type": "nf4",
|
32 |
+
"bnb_4bit_use_double_quant": false,
|
33 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
34 |
+
"llm_int8_has_fp16_weight": false,
|
35 |
+
"llm_int8_skip_modules": null,
|
36 |
+
"llm_int8_threshold": 6.0,
|
37 |
+
"load_in_4bit": true,
|
38 |
+
"load_in_8bit": false,
|
39 |
+
"quant_method": "bitsandbytes"
|
40 |
+
},
|
41 |
+
"rms_norm_eps": 1e-06,
|
42 |
+
"rope_scaling": null,
|
43 |
+
"rope_theta": 1000042,
|
44 |
+
"tie_word_embeddings": false,
|
45 |
+
"torch_dtype": "bfloat16",
|
46 |
+
"transformers_version": "4.45.1",
|
47 |
+
"use_cache": true,
|
48 |
+
"vocab_size": 131072
|
49 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": 2.140789270401001,
|
4 |
+
"eval_logits/rejected": 1.9412086009979248,
|
5 |
+
"eval_logps/chosen": -503.5469665527344,
|
6 |
+
"eval_logps/rejected": -1102.4208984375,
|
7 |
+
"eval_loss": 0.028598472476005554,
|
8 |
+
"eval_rewards/accuracies": 0.9253731369972229,
|
9 |
+
"eval_rewards/chosen": -4.707759380340576,
|
10 |
+
"eval_rewards/margins": 5.957462787628174,
|
11 |
+
"eval_rewards/rejected": -10.66522216796875,
|
12 |
+
"eval_runtime": 214.7372,
|
13 |
+
"eval_samples": 21417,
|
14 |
+
"eval_samples_per_second": 99.736,
|
15 |
+
"eval_steps_per_second": 1.56
|
16 |
+
}
|
runs/Oct04_08-33-02_ip-172-16-43-187.us-west-2.compute.internal/events.out.tfevents.1728049146.ip-172-16-43-187.us-west-2.compute.internal.82163.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43d34f62343f56e86ff857383fb70db53f2cce9b0be6ecaf76afa1b191efebf4
|
3 |
+
size 828
|