mtzig commited on
Commit
58cbfaf
·
verified ·
1 Parent(s): 362ae50

Model save

Browse files
Files changed (3) hide show
  1. README.md +90 -0
  2. adapter_config.json +29 -0
  3. adapter_model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: peiyi9979/math-shepherd-mistral-7b-prm
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: v1_5_mistral_lora
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
+ # v1_5_mistral_lora
20
+
21
+ This model is a fine-tuned version of [peiyi9979/math-shepherd-mistral-7b-prm](https://huggingface.co/peiyi9979/math-shepherd-mistral-7b-prm) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.3143
24
+ - Accuracy: 0.8639
25
+ - Precision: 0.7383
26
+ - Recall: 0.7453
27
+ - F1: 0.7418
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 2e-05
47
+ - train_batch_size: 8
48
+ - eval_batch_size: 8
49
+ - seed: 765837
50
+ - distributed_type: multi-GPU
51
+ - num_devices: 4
52
+ - gradient_accumulation_steps: 2
53
+ - total_train_batch_size: 64
54
+ - total_eval_batch_size: 32
55
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
56
+ - lr_scheduler_type: cosine
57
+ - lr_scheduler_warmup_ratio: 0.1
58
+ - num_epochs: 1
59
+
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
63
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
64
+ | No log | 0 | 0 | 0.5958 | 0.7376 | 0.5 | 0.0660 | 0.1167 |
65
+ | 0.6808 | 0.0575 | 20 | 0.5704 | 0.7401 | 0.5385 | 0.0660 | 0.1176 |
66
+ | 0.4764 | 0.1149 | 40 | 0.4768 | 0.7574 | 0.5303 | 0.6604 | 0.5882 |
67
+ | 0.4099 | 0.1724 | 60 | 0.4052 | 0.8020 | 0.6275 | 0.6038 | 0.6154 |
68
+ | 0.346 | 0.2299 | 80 | 0.3761 | 0.8366 | 0.6961 | 0.6698 | 0.6827 |
69
+ | 0.2929 | 0.2874 | 100 | 0.3664 | 0.8366 | 0.6887 | 0.6887 | 0.6887 |
70
+ | 0.3822 | 0.3448 | 120 | 0.3551 | 0.8515 | 0.6983 | 0.7642 | 0.7297 |
71
+ | 0.3955 | 0.4023 | 140 | 0.3442 | 0.8589 | 0.7634 | 0.6698 | 0.7136 |
72
+ | 0.34 | 0.4598 | 160 | 0.3399 | 0.8614 | 0.7232 | 0.7642 | 0.7431 |
73
+ | 0.2897 | 0.5172 | 180 | 0.3244 | 0.8614 | 0.7404 | 0.7264 | 0.7333 |
74
+ | 0.2599 | 0.5747 | 200 | 0.3225 | 0.8639 | 0.7383 | 0.7453 | 0.7418 |
75
+ | 0.34 | 0.6322 | 220 | 0.3178 | 0.8688 | 0.7573 | 0.7358 | 0.7464 |
76
+ | 0.2969 | 0.6897 | 240 | 0.3178 | 0.8564 | 0.7222 | 0.7358 | 0.7290 |
77
+ | 0.3179 | 0.7471 | 260 | 0.3128 | 0.8663 | 0.7453 | 0.7453 | 0.7453 |
78
+ | 0.2901 | 0.8046 | 280 | 0.3146 | 0.8639 | 0.7383 | 0.7453 | 0.7418 |
79
+ | 0.2587 | 0.8621 | 300 | 0.3138 | 0.8639 | 0.7383 | 0.7453 | 0.7418 |
80
+ | 0.326 | 0.9195 | 320 | 0.3151 | 0.8589 | 0.7248 | 0.7453 | 0.7349 |
81
+ | 0.3475 | 0.9770 | 340 | 0.3143 | 0.8639 | 0.7383 | 0.7453 | 0.7418 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - PEFT 0.13.2
87
+ - Transformers 4.46.0
88
+ - Pytorch 2.5.1+cu124
89
+ - Datasets 3.1.0
90
+ - Tokenizers 0.20.3
adapter_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "peiyi9979/math-shepherd-mistral-7b-prm",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 32,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 16,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "v_proj",
24
+ "q_proj"
25
+ ],
26
+ "task_type": "CAUSAL_LM",
27
+ "use_dora": false,
28
+ "use_rslora": false
29
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8eaab67199443da4c430ad7f60281d599dea28e4b85d573f65f525c9fc9ea652
3
+ size 27280152