ZhangShenao commited on
Commit
3e3255b
·
verified ·
1 Parent(s): 023367a

Model save

Browse files
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: mistralai/Mistral-7B-Instruct-v0.2
5
+ tags:
6
+ - trl
7
+ - sft
8
+ - generated_from_trainer
9
+ datasets:
10
+ - generator
11
+ model-index:
12
+ - name: Mistral-7B-Instruct-v0.2-iter-1
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
+ # Mistral-7B-Instruct-v0.2-iter-1
20
+
21
+ This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) on the generator dataset.
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 8
42
+ - eval_batch_size: 2
43
+ - seed: 42
44
+ - distributed_type: multi-GPU
45
+ - num_devices: 4
46
+ - gradient_accumulation_steps: 4
47
+ - total_train_batch_size: 128
48
+ - total_eval_batch_size: 8
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: cosine
51
+ - lr_scheduler_warmup_ratio: 0.1
52
+ - num_epochs: 3
53
+
54
+ ### Training results
55
+
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - Transformers 4.45.2
61
+ - Pytorch 2.4.0+cu121
62
+ - Datasets 3.0.1
63
+ - Tokenizers 0.20.3
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.4,
3
+ "total_flos": 1151588106240.0,
4
+ "train_loss": 1.095450758934021,
5
+ "train_runtime": 328.1279,
6
+ "train_samples": 1000,
7
+ "train_samples_per_second": 1.198,
8
+ "train_steps_per_second": 0.009
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.45.2"
6
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.4,
3
+ "total_flos": 1151588106240.0,
4
+ "train_loss": 1.095450758934021,
5
+ "train_runtime": 328.1279,
6
+ "train_samples": 1000,
7
+ "train_samples_per_second": 1.198,
8
+ "train_steps_per_second": 0.009
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.4,
5
+ "eval_steps": 500,
6
+ "global_step": 3,
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.8,
13
+ "grad_norm": 29.86801670834852,
14
+ "learning_rate": 2e-05,
15
+ "loss": 0.8682,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 1.6,
20
+ "grad_norm": 29.93864110397877,
21
+ "learning_rate": 1e-05,
22
+ "loss": 0.8672,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 2.4,
27
+ "grad_norm": 49.4294477132076,
28
+ "learning_rate": 0.0,
29
+ "loss": 1.551,
30
+ "step": 3
31
+ },
32
+ {
33
+ "epoch": 2.4,
34
+ "step": 3,
35
+ "total_flos": 1151588106240.0,
36
+ "train_loss": 1.095450758934021,
37
+ "train_runtime": 328.1279,
38
+ "train_samples_per_second": 1.198,
39
+ "train_steps_per_second": 0.009
40
+ }
41
+ ],
42
+ "logging_steps": 1,
43
+ "max_steps": 3,
44
+ "num_input_tokens_seen": 0,
45
+ "num_train_epochs": 3,
46
+ "save_steps": 999999,
47
+ "stateful_callbacks": {
48
+ "TrainerControl": {
49
+ "args": {
50
+ "should_epoch_stop": false,
51
+ "should_evaluate": false,
52
+ "should_log": false,
53
+ "should_save": true,
54
+ "should_training_stop": true
55
+ },
56
+ "attributes": {}
57
+ }
58
+ },
59
+ "total_flos": 1151588106240.0,
60
+ "train_batch_size": 8,
61
+ "trial_name": null,
62
+ "trial_params": null
63
+ }