Model save
Browse files- README.md +69 -0
- all_results.json +9 -0
- train_results.json +9 -0
- trainer_state.json +141 -0
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
license: llama3
|
4 |
+
base_model: meta-llama/Meta-Llama-3-8B
|
5 |
+
tags:
|
6 |
+
- trl
|
7 |
+
- sft
|
8 |
+
- generated_from_trainer
|
9 |
+
datasets:
|
10 |
+
- generator
|
11 |
+
model-index:
|
12 |
+
- name: llama3-8b-pissa-classification-11-v1
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# llama3-8b-pissa-classification-11-v1
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B](https://huggingface.co/meta-llama/Meta-Llama-3-8B) on the generator dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 2.2708
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 0.0002
|
43 |
+
- train_batch_size: 16
|
44 |
+
- eval_batch_size: 16
|
45 |
+
- seed: 42
|
46 |
+
- distributed_type: multi-GPU
|
47 |
+
- num_devices: 8
|
48 |
+
- gradient_accumulation_steps: 2
|
49 |
+
- total_train_batch_size: 256
|
50 |
+
- total_eval_batch_size: 128
|
51 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
52 |
+
- lr_scheduler_type: cosine
|
53 |
+
- lr_scheduler_warmup_ratio: 0.1
|
54 |
+
- num_epochs: 1
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
59 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
60 |
+
| 2.1904 | 1.0 | 61 | 2.2708 |
|
61 |
+
|
62 |
+
|
63 |
+
### Framework versions
|
64 |
+
|
65 |
+
- PEFT 0.13.2
|
66 |
+
- Transformers 4.46.2
|
67 |
+
- Pytorch 2.5.1+cu124
|
68 |
+
- Datasets 3.1.0
|
69 |
+
- Tokenizers 0.20.3
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 3.60192752912171e+17,
|
4 |
+
"train_loss": 2.376973159977647,
|
5 |
+
"train_runtime": 294.1531,
|
6 |
+
"train_samples": 92634,
|
7 |
+
"train_samples_per_second": 52.704,
|
8 |
+
"train_steps_per_second": 0.207
|
9 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 3.60192752912171e+17,
|
4 |
+
"train_loss": 2.376973159977647,
|
5 |
+
"train_runtime": 294.1531,
|
6 |
+
"train_samples": 92634,
|
7 |
+
"train_samples_per_second": 52.704,
|
8 |
+
"train_steps_per_second": 0.207
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 61,
|
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.01639344262295082,
|
13 |
+
"grad_norm": 163.37210083007812,
|
14 |
+
"learning_rate": 2.857142857142857e-05,
|
15 |
+
"loss": 3.2542,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.08196721311475409,
|
20 |
+
"grad_norm": 2.698173999786377,
|
21 |
+
"learning_rate": 0.00014285714285714287,
|
22 |
+
"loss": 3.0769,
|
23 |
+
"step": 5
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.16393442622950818,
|
27 |
+
"grad_norm": 2.6624538898468018,
|
28 |
+
"learning_rate": 0.00019848077530122083,
|
29 |
+
"loss": 2.764,
|
30 |
+
"step": 10
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.2459016393442623,
|
34 |
+
"grad_norm": 0.9797217845916748,
|
35 |
+
"learning_rate": 0.00018936326403234125,
|
36 |
+
"loss": 2.5387,
|
37 |
+
"step": 15
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.32786885245901637,
|
41 |
+
"grad_norm": 1.1679744720458984,
|
42 |
+
"learning_rate": 0.00017273736415730488,
|
43 |
+
"loss": 2.3838,
|
44 |
+
"step": 20
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.4098360655737705,
|
48 |
+
"grad_norm": 0.8691921830177307,
|
49 |
+
"learning_rate": 0.00015000000000000001,
|
50 |
+
"loss": 2.3067,
|
51 |
+
"step": 25
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.4918032786885246,
|
55 |
+
"grad_norm": 0.6480523943901062,
|
56 |
+
"learning_rate": 0.00012306158707424403,
|
57 |
+
"loss": 2.2564,
|
58 |
+
"step": 30
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.5737704918032787,
|
62 |
+
"grad_norm": 0.3995227813720703,
|
63 |
+
"learning_rate": 9.418551710895243e-05,
|
64 |
+
"loss": 2.2165,
|
65 |
+
"step": 35
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.6557377049180327,
|
69 |
+
"grad_norm": 0.2950589060783386,
|
70 |
+
"learning_rate": 6.579798566743314e-05,
|
71 |
+
"loss": 2.2065,
|
72 |
+
"step": 40
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.7377049180327869,
|
76 |
+
"grad_norm": 0.33247917890548706,
|
77 |
+
"learning_rate": 4.028414082972141e-05,
|
78 |
+
"loss": 2.1951,
|
79 |
+
"step": 45
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.819672131147541,
|
83 |
+
"grad_norm": 0.520527184009552,
|
84 |
+
"learning_rate": 1.9787680724495617e-05,
|
85 |
+
"loss": 2.1865,
|
86 |
+
"step": 50
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.9016393442622951,
|
90 |
+
"grad_norm": 0.3367004692554474,
|
91 |
+
"learning_rate": 6.030737921409169e-06,
|
92 |
+
"loss": 2.1967,
|
93 |
+
"step": 55
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.9836065573770492,
|
97 |
+
"grad_norm": 0.3582340180873871,
|
98 |
+
"learning_rate": 1.6918417287318245e-07,
|
99 |
+
"loss": 2.1904,
|
100 |
+
"step": 60
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 1.0,
|
104 |
+
"eval_loss": 2.2707738876342773,
|
105 |
+
"eval_runtime": 0.8017,
|
106 |
+
"eval_samples_per_second": 4.989,
|
107 |
+
"eval_steps_per_second": 1.247,
|
108 |
+
"step": 61
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 1.0,
|
112 |
+
"step": 61,
|
113 |
+
"total_flos": 3.60192752912171e+17,
|
114 |
+
"train_loss": 2.376973159977647,
|
115 |
+
"train_runtime": 294.1531,
|
116 |
+
"train_samples_per_second": 52.704,
|
117 |
+
"train_steps_per_second": 0.207
|
118 |
+
}
|
119 |
+
],
|
120 |
+
"logging_steps": 5,
|
121 |
+
"max_steps": 61,
|
122 |
+
"num_input_tokens_seen": 0,
|
123 |
+
"num_train_epochs": 1,
|
124 |
+
"save_steps": 100,
|
125 |
+
"stateful_callbacks": {
|
126 |
+
"TrainerControl": {
|
127 |
+
"args": {
|
128 |
+
"should_epoch_stop": false,
|
129 |
+
"should_evaluate": false,
|
130 |
+
"should_log": false,
|
131 |
+
"should_save": true,
|
132 |
+
"should_training_stop": true
|
133 |
+
},
|
134 |
+
"attributes": {}
|
135 |
+
}
|
136 |
+
},
|
137 |
+
"total_flos": 3.60192752912171e+17,
|
138 |
+
"train_batch_size": 16,
|
139 |
+
"trial_name": null,
|
140 |
+
"trial_params": null
|
141 |
+
}
|