mtzig commited on
Commit
1ec5a2c
1 Parent(s): a85c2bc

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_lora32
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_lora32
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.3153
24
+ - Accuracy: 0.8614
25
+ - Precision: 0.7273
26
+ - Recall: 0.7547
27
+ - F1: 0.7407
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.6819 | 0.0575 | 20 | 0.5694 | 0.7450 | 0.6154 | 0.0755 | 0.1345 |
66
+ | 0.4789 | 0.1149 | 40 | 0.4776 | 0.7550 | 0.5263 | 0.6604 | 0.5858 |
67
+ | 0.4108 | 0.1724 | 60 | 0.4043 | 0.8045 | 0.6286 | 0.6226 | 0.6256 |
68
+ | 0.3486 | 0.2299 | 80 | 0.3752 | 0.8366 | 0.6961 | 0.6698 | 0.6827 |
69
+ | 0.2936 | 0.2874 | 100 | 0.3650 | 0.8465 | 0.7115 | 0.6981 | 0.7048 |
70
+ | 0.3788 | 0.3448 | 120 | 0.3579 | 0.8465 | 0.6864 | 0.7642 | 0.7232 |
71
+ | 0.3918 | 0.4023 | 140 | 0.3483 | 0.8564 | 0.7449 | 0.6887 | 0.7157 |
72
+ | 0.3386 | 0.4598 | 160 | 0.3409 | 0.8614 | 0.7193 | 0.7736 | 0.7455 |
73
+ | 0.2864 | 0.5172 | 180 | 0.3257 | 0.8663 | 0.75 | 0.7358 | 0.7429 |
74
+ | 0.2581 | 0.5747 | 200 | 0.3223 | 0.8663 | 0.7407 | 0.7547 | 0.7477 |
75
+ | 0.3373 | 0.6322 | 220 | 0.3174 | 0.8663 | 0.75 | 0.7358 | 0.7429 |
76
+ | 0.3006 | 0.6897 | 240 | 0.3172 | 0.8564 | 0.7222 | 0.7358 | 0.7290 |
77
+ | 0.3157 | 0.7471 | 260 | 0.3143 | 0.8639 | 0.7339 | 0.7547 | 0.7442 |
78
+ | 0.291 | 0.8046 | 280 | 0.3137 | 0.8639 | 0.7339 | 0.7547 | 0.7442 |
79
+ | 0.2578 | 0.8621 | 300 | 0.3168 | 0.8639 | 0.7339 | 0.7547 | 0.7442 |
80
+ | 0.3223 | 0.9195 | 320 | 0.3157 | 0.8614 | 0.7273 | 0.7547 | 0.7407 |
81
+ | 0.3448 | 0.9770 | 340 | 0.3153 | 0.8614 | 0.7273 | 0.7547 | 0.7407 |
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": 32,
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:2ee542046a48019c5d389e4555db00c3a0ad9349e7d25ccd7a44211ce082a5bd
3
+ size 54543184