mtzig commited on
Commit
125467f
1 Parent(s): da56f8a

Model save

Browse files
Files changed (3) hide show
  1. README.md +126 -0
  2. adapter_config.json +29 -0
  3. adapter_model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: v2b_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
+ # v2b_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.3066
24
+ - Accuracy: 0.8603
25
+ - Precision: 0.8713
26
+ - Recall: 0.5889
27
+ - F1: 0.7028
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.5994 | 0.7384 | 0.6545 | 0.1423 | 0.2338 |
65
+ | 0.572 | 0.0186 | 20 | 0.5946 | 0.7395 | 0.6731 | 0.1383 | 0.2295 |
66
+ | 0.5829 | 0.0371 | 40 | 0.5678 | 0.7494 | 0.7143 | 0.1779 | 0.2848 |
67
+ | 0.4808 | 0.0557 | 60 | 0.5129 | 0.7694 | 0.6744 | 0.3439 | 0.4555 |
68
+ | 0.498 | 0.0742 | 80 | 0.4658 | 0.7805 | 0.6708 | 0.4269 | 0.5217 |
69
+ | 0.2531 | 0.0928 | 100 | 0.4835 | 0.8016 | 0.7312 | 0.4625 | 0.5666 |
70
+ | 0.2925 | 0.1113 | 120 | 0.5003 | 0.8016 | 0.8304 | 0.3676 | 0.5096 |
71
+ | 0.1912 | 0.1299 | 140 | 0.4575 | 0.8004 | 0.8411 | 0.3557 | 0.5 |
72
+ | 0.1991 | 0.1484 | 160 | 0.4109 | 0.8115 | 0.8374 | 0.4071 | 0.5479 |
73
+ | 0.2153 | 0.1670 | 180 | 0.3718 | 0.8337 | 0.8456 | 0.4980 | 0.6269 |
74
+ | 0.1638 | 0.1855 | 200 | 0.3657 | 0.8237 | 0.8672 | 0.4387 | 0.5827 |
75
+ | 0.2033 | 0.2041 | 220 | 0.3455 | 0.8370 | 0.8354 | 0.5217 | 0.6423 |
76
+ | 0.2448 | 0.2226 | 240 | 0.3438 | 0.8381 | 0.8497 | 0.5138 | 0.6404 |
77
+ | 0.2337 | 0.2412 | 260 | 0.3705 | 0.8282 | 0.8828 | 0.4466 | 0.5932 |
78
+ | 0.1698 | 0.2597 | 280 | 0.3724 | 0.8215 | 0.8710 | 0.4269 | 0.5729 |
79
+ | 0.1607 | 0.2783 | 300 | 0.3455 | 0.8293 | 0.8722 | 0.4585 | 0.6010 |
80
+ | 0.1671 | 0.2968 | 320 | 0.3371 | 0.8337 | 0.8503 | 0.4941 | 0.625 |
81
+ | 0.1809 | 0.3154 | 340 | 0.3406 | 0.8514 | 0.8287 | 0.5929 | 0.6912 |
82
+ | 0.1672 | 0.3340 | 360 | 0.3520 | 0.8392 | 0.8699 | 0.5020 | 0.6366 |
83
+ | 0.153 | 0.3525 | 380 | 0.3273 | 0.8459 | 0.8562 | 0.5415 | 0.6634 |
84
+ | 0.2 | 0.3711 | 400 | 0.3307 | 0.8448 | 0.8599 | 0.5336 | 0.6585 |
85
+ | 0.2082 | 0.3896 | 420 | 0.3143 | 0.8603 | 0.8396 | 0.6206 | 0.7136 |
86
+ | 0.2051 | 0.4082 | 440 | 0.3139 | 0.8570 | 0.8563 | 0.5889 | 0.6979 |
87
+ | 0.0959 | 0.4267 | 460 | 0.3130 | 0.8570 | 0.8523 | 0.5929 | 0.6993 |
88
+ | 0.1955 | 0.4453 | 480 | 0.3044 | 0.8592 | 0.8462 | 0.6087 | 0.7080 |
89
+ | 0.1904 | 0.4638 | 500 | 0.3389 | 0.8404 | 0.8759 | 0.5020 | 0.6382 |
90
+ | 0.1809 | 0.4824 | 520 | 0.3319 | 0.8459 | 0.8701 | 0.5296 | 0.6585 |
91
+ | 0.1605 | 0.5009 | 540 | 0.3016 | 0.8614 | 0.8678 | 0.5968 | 0.7073 |
92
+ | 0.2123 | 0.5195 | 560 | 0.2983 | 0.8603 | 0.8396 | 0.6206 | 0.7136 |
93
+ | 0.2279 | 0.5380 | 580 | 0.3046 | 0.8559 | 0.8361 | 0.6047 | 0.7018 |
94
+ | 0.2224 | 0.5566 | 600 | 0.3395 | 0.8381 | 0.8741 | 0.4941 | 0.6313 |
95
+ | 0.1655 | 0.5751 | 620 | 0.3388 | 0.8359 | 0.8777 | 0.4822 | 0.6224 |
96
+ | 0.1468 | 0.5937 | 640 | 0.3022 | 0.8592 | 0.8424 | 0.6126 | 0.7094 |
97
+ | 0.1421 | 0.6122 | 660 | 0.3297 | 0.8437 | 0.8784 | 0.5138 | 0.6484 |
98
+ | 0.2483 | 0.6308 | 680 | 0.3060 | 0.8525 | 0.8529 | 0.5731 | 0.6856 |
99
+ | 0.1411 | 0.6494 | 700 | 0.3171 | 0.8481 | 0.8537 | 0.5534 | 0.6715 |
100
+ | 0.2015 | 0.6679 | 720 | 0.3120 | 0.8525 | 0.8614 | 0.5652 | 0.6826 |
101
+ | 0.2216 | 0.6865 | 740 | 0.3030 | 0.8503 | 0.8598 | 0.5573 | 0.6763 |
102
+ | 0.1936 | 0.7050 | 760 | 0.3091 | 0.8503 | 0.8598 | 0.5573 | 0.6763 |
103
+ | 0.135 | 0.7236 | 780 | 0.3023 | 0.8525 | 0.8529 | 0.5731 | 0.6856 |
104
+ | 0.1332 | 0.7421 | 800 | 0.3207 | 0.8437 | 0.8836 | 0.5099 | 0.6466 |
105
+ | 0.249 | 0.7607 | 820 | 0.3031 | 0.8592 | 0.8706 | 0.5850 | 0.6998 |
106
+ | 0.2033 | 0.7792 | 840 | 0.3076 | 0.8592 | 0.875 | 0.5810 | 0.6983 |
107
+ | 0.1418 | 0.7978 | 860 | 0.2998 | 0.8614 | 0.8678 | 0.5968 | 0.7073 |
108
+ | 0.1826 | 0.8163 | 880 | 0.3014 | 0.8625 | 0.8728 | 0.5968 | 0.7089 |
109
+ | 0.1538 | 0.8349 | 900 | 0.3092 | 0.8614 | 0.8855 | 0.5810 | 0.7017 |
110
+ | 0.1762 | 0.8534 | 920 | 0.3011 | 0.8603 | 0.8671 | 0.5929 | 0.7042 |
111
+ | 0.1561 | 0.8720 | 940 | 0.2998 | 0.8603 | 0.8671 | 0.5929 | 0.7042 |
112
+ | 0.1633 | 0.8905 | 960 | 0.3064 | 0.8570 | 0.8690 | 0.5771 | 0.6936 |
113
+ | 0.1452 | 0.9091 | 980 | 0.3034 | 0.8603 | 0.8713 | 0.5889 | 0.7028 |
114
+ | 0.086 | 0.9276 | 1000 | 0.3051 | 0.8581 | 0.8698 | 0.5810 | 0.6967 |
115
+ | 0.1909 | 0.9462 | 1020 | 0.3055 | 0.8581 | 0.8698 | 0.5810 | 0.6967 |
116
+ | 0.2017 | 0.9647 | 1040 | 0.3058 | 0.8581 | 0.8743 | 0.5771 | 0.6952 |
117
+ | 0.1828 | 0.9833 | 1060 | 0.3066 | 0.8603 | 0.8713 | 0.5889 | 0.7028 |
118
+
119
+
120
+ ### Framework versions
121
+
122
+ - PEFT 0.13.2
123
+ - Transformers 4.46.0
124
+ - Pytorch 2.5.1+cu124
125
+ - Datasets 3.1.0
126
+ - 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
+ "q_proj",
24
+ "v_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:c1df67fbe0451de5bcd045c0b61204c0a067ccad4e81ffb0825bfbd87650b33f
3
+ size 27280152