scottsuk0306 commited on
Commit
7a8e5c5
1 Parent(s): aa4a03a

Model save

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: alignment-handbook/zephyr-7b-sft-full
5
+ tags:
6
+ - trl
7
+ - sft
8
+ - generated_from_trainer
9
+ datasets:
10
+ - generator
11
+ model-index:
12
+ - name: zephyr-7b-math-case-6-ep1
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
+ # zephyr-7b-math-case-6-ep1
20
+
21
+ This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-full](https://huggingface.co/alignment-handbook/zephyr-7b-sft-full) on the generator dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.8035
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: 1e-05
43
+ - train_batch_size: 8
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - distributed_type: multi-GPU
47
+ - num_devices: 8
48
+ - total_train_batch_size: 64
49
+ - total_eval_batch_size: 64
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: cosine
52
+ - lr_scheduler_warmup_ratio: 0.03
53
+ - num_epochs: 1
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss |
58
+ |:-------------:|:-----:|:----:|:---------------:|
59
+ | 1.0354 | 1.0 | 5 | 0.8035 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.44.2
65
+ - Pytorch 2.4.1+cu121
66
+ - Datasets 3.0.0
67
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 2093796556800.0,
4
+ "train_loss": 1.0152987003326417,
5
+ "train_runtime": 126.4024,
6
+ "train_samples": 4000,
7
+ "train_samples_per_second": 2.081,
8
+ "train_steps_per_second": 0.04
9
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.44.2"
6
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 2093796556800.0,
4
+ "train_loss": 1.0152987003326417,
5
+ "train_runtime": 126.4024,
6
+ "train_samples": 4000,
7
+ "train_samples_per_second": 2.081,
8
+ "train_steps_per_second": 0.04
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 5,
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.2,
13
+ "grad_norm": 24.891183513642243,
14
+ "learning_rate": 1e-05,
15
+ "loss": 0.9347,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "grad_norm": 16.280986656758667,
21
+ "learning_rate": 0.0,
22
+ "loss": 1.0354,
23
+ "step": 5
24
+ },
25
+ {
26
+ "epoch": 1.0,
27
+ "eval_loss": 0.8034714460372925,
28
+ "eval_runtime": 13.3934,
29
+ "eval_samples_per_second": 19.637,
30
+ "eval_steps_per_second": 0.373,
31
+ "step": 5
32
+ },
33
+ {
34
+ "epoch": 1.0,
35
+ "step": 5,
36
+ "total_flos": 2093796556800.0,
37
+ "train_loss": 1.0152987003326417,
38
+ "train_runtime": 126.4024,
39
+ "train_samples_per_second": 2.081,
40
+ "train_steps_per_second": 0.04
41
+ }
42
+ ],
43
+ "logging_steps": 5,
44
+ "max_steps": 5,
45
+ "num_input_tokens_seen": 0,
46
+ "num_train_epochs": 1,
47
+ "save_steps": 100,
48
+ "stateful_callbacks": {
49
+ "TrainerControl": {
50
+ "args": {
51
+ "should_epoch_stop": false,
52
+ "should_evaluate": false,
53
+ "should_log": false,
54
+ "should_save": true,
55
+ "should_training_stop": true
56
+ },
57
+ "attributes": {}
58
+ }
59
+ },
60
+ "total_flos": 2093796556800.0,
61
+ "train_batch_size": 8,
62
+ "trial_name": null,
63
+ "trial_params": null
64
+ }