Model save
Browse files- README.md +59 -0
- all_results.json +9 -0
- generation_config.json +11 -0
- train_results.json +9 -0
- trainer_state.json +119 -0
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: Qwen/Qwen2-7B-Instruct
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- generator
|
10 |
+
model-index:
|
11 |
+
- name: uf-qwen2-7IT-sft_bon
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# uf-qwen2-7IT-sft_bon
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [Qwen/Qwen2-7B-Instruct](https://huggingface.co/Qwen/Qwen2-7B-Instruct) on the generator dataset.
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 2e-06
|
40 |
+
- train_batch_size: 4
|
41 |
+
- eval_batch_size: 8
|
42 |
+
- seed: 42
|
43 |
+
- gradient_accumulation_steps: 32
|
44 |
+
- total_train_batch_size: 128
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: cosine
|
47 |
+
- lr_scheduler_warmup_ratio: 0.1
|
48 |
+
- num_epochs: 1
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
|
53 |
+
|
54 |
+
### Framework versions
|
55 |
+
|
56 |
+
- Transformers 4.43.4
|
57 |
+
- Pytorch 2.4.0+cu121
|
58 |
+
- Datasets 2.20.0
|
59 |
+
- Tokenizers 0.19.1
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.9957805907172996,
|
3 |
+
"total_flos": 1.3120143844945428e+18,
|
4 |
+
"train_loss": 1.0387564513642908,
|
5 |
+
"train_runtime": 4852.3718,
|
6 |
+
"train_samples": 60917,
|
7 |
+
"train_samples_per_second": 3.125,
|
8 |
+
"train_steps_per_second": 0.024
|
9 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 151644,
|
3 |
+
"do_sample": true,
|
4 |
+
"eos_token_id": 151645,
|
5 |
+
"pad_token_id": 151645,
|
6 |
+
"repetition_penalty": 1.05,
|
7 |
+
"temperature": 0.7,
|
8 |
+
"top_k": 20,
|
9 |
+
"top_p": 0.8,
|
10 |
+
"transformers_version": "4.43.4"
|
11 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.9957805907172996,
|
3 |
+
"total_flos": 1.3120143844945428e+18,
|
4 |
+
"train_loss": 1.0387564513642908,
|
5 |
+
"train_runtime": 4852.3718,
|
6 |
+
"train_samples": 60917,
|
7 |
+
"train_samples_per_second": 3.125,
|
8 |
+
"train_steps_per_second": 0.024
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.9957805907172996,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 118,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.08438818565400844,
|
13 |
+
"grad_norm": 6.15625,
|
14 |
+
"learning_rate": 1.6666666666666667e-06,
|
15 |
+
"loss": 1.2054,
|
16 |
+
"step": 10
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.16877637130801687,
|
20 |
+
"grad_norm": 2.546875,
|
21 |
+
"learning_rate": 1.9720229140804108e-06,
|
22 |
+
"loss": 1.1272,
|
23 |
+
"step": 20
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.25316455696202533,
|
27 |
+
"grad_norm": 1.484375,
|
28 |
+
"learning_rate": 1.8610436117673553e-06,
|
29 |
+
"loss": 1.0603,
|
30 |
+
"step": 30
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.33755274261603374,
|
34 |
+
"grad_norm": 1.109375,
|
35 |
+
"learning_rate": 1.6749830015182104e-06,
|
36 |
+
"loss": 1.0228,
|
37 |
+
"step": 40
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.4219409282700422,
|
41 |
+
"grad_norm": 0.96875,
|
42 |
+
"learning_rate": 1.4300652022765205e-06,
|
43 |
+
"loss": 1.0089,
|
44 |
+
"step": 50
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.5063291139240507,
|
48 |
+
"grad_norm": 0.9296875,
|
49 |
+
"learning_rate": 1.1476465640024813e-06,
|
50 |
+
"loss": 1.0109,
|
51 |
+
"step": 60
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.5907172995780591,
|
55 |
+
"grad_norm": 0.890625,
|
56 |
+
"learning_rate": 8.523534359975189e-07,
|
57 |
+
"loss": 1.0062,
|
58 |
+
"step": 70
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.6751054852320675,
|
62 |
+
"grad_norm": 0.8984375,
|
63 |
+
"learning_rate": 5.699347977234798e-07,
|
64 |
+
"loss": 0.9945,
|
65 |
+
"step": 80
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.759493670886076,
|
69 |
+
"grad_norm": 0.8671875,
|
70 |
+
"learning_rate": 3.2501699848178964e-07,
|
71 |
+
"loss": 0.9971,
|
72 |
+
"step": 90
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.8438818565400844,
|
76 |
+
"grad_norm": 0.875,
|
77 |
+
"learning_rate": 1.3895638823264445e-07,
|
78 |
+
"loss": 1.0152,
|
79 |
+
"step": 100
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.9282700421940928,
|
83 |
+
"grad_norm": 0.8515625,
|
84 |
+
"learning_rate": 2.797708591958925e-08,
|
85 |
+
"loss": 0.9995,
|
86 |
+
"step": 110
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.9957805907172996,
|
90 |
+
"step": 118,
|
91 |
+
"total_flos": 1.3120143844945428e+18,
|
92 |
+
"train_loss": 1.0387564513642908,
|
93 |
+
"train_runtime": 4852.3718,
|
94 |
+
"train_samples_per_second": 3.125,
|
95 |
+
"train_steps_per_second": 0.024
|
96 |
+
}
|
97 |
+
],
|
98 |
+
"logging_steps": 10,
|
99 |
+
"max_steps": 118,
|
100 |
+
"num_input_tokens_seen": 0,
|
101 |
+
"num_train_epochs": 1,
|
102 |
+
"save_steps": 500,
|
103 |
+
"stateful_callbacks": {
|
104 |
+
"TrainerControl": {
|
105 |
+
"args": {
|
106 |
+
"should_epoch_stop": false,
|
107 |
+
"should_evaluate": false,
|
108 |
+
"should_log": false,
|
109 |
+
"should_save": true,
|
110 |
+
"should_training_stop": true
|
111 |
+
},
|
112 |
+
"attributes": {}
|
113 |
+
}
|
114 |
+
},
|
115 |
+
"total_flos": 1.3120143844945428e+18,
|
116 |
+
"train_batch_size": 4,
|
117 |
+
"trial_name": null,
|
118 |
+
"trial_params": null
|
119 |
+
}
|