Model save
Browse files- README.md +111 -0
- adapter_config.json +29 -0
- adapter_model.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: v3_mistral_balance1_base_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 |
+
# v3_mistral_balance1_base_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.0134
|
24 |
+
- Accuracy: 0.9975
|
25 |
+
- Precision: 0.9643
|
26 |
+
- Recall: 0.9474
|
27 |
+
- F1: 0.9558
|
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: 8569382
|
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.3256 | 0.9369 | 0.1429 | 0.2456 | 0.1806 |
|
65 |
+
| 0.4498 | 0.0258 | 20 | 0.2868 | 0.9474 | 0.1449 | 0.1754 | 0.1587 |
|
66 |
+
| 0.242 | 0.0515 | 40 | 0.1434 | 0.9672 | 0.2 | 0.0526 | 0.0833 |
|
67 |
+
| 0.1628 | 0.0773 | 60 | 0.1080 | 0.9692 | 0.3810 | 0.1404 | 0.2051 |
|
68 |
+
| 0.1241 | 0.1031 | 80 | 0.0874 | 0.9707 | 0.475 | 0.3333 | 0.3918 |
|
69 |
+
| 0.0676 | 0.1289 | 100 | 0.0690 | 0.9692 | 0.4713 | 0.7193 | 0.5694 |
|
70 |
+
| 0.03 | 0.1546 | 120 | 0.0472 | 0.9821 | 0.6296 | 0.8947 | 0.7391 |
|
71 |
+
| 0.0109 | 0.1804 | 140 | 0.0341 | 0.9911 | 0.8305 | 0.8596 | 0.8448 |
|
72 |
+
| 0.043 | 0.2062 | 160 | 0.0337 | 0.9916 | 0.8333 | 0.8772 | 0.8547 |
|
73 |
+
| 0.0233 | 0.2320 | 180 | 0.0272 | 0.9926 | 0.8281 | 0.9298 | 0.8760 |
|
74 |
+
| 0.029 | 0.2577 | 200 | 0.0233 | 0.9921 | 0.8254 | 0.9123 | 0.8667 |
|
75 |
+
| 0.0138 | 0.2835 | 220 | 0.0210 | 0.9930 | 0.8413 | 0.9298 | 0.8833 |
|
76 |
+
| 0.0141 | 0.3093 | 240 | 0.0175 | 0.9955 | 0.9286 | 0.9123 | 0.9204 |
|
77 |
+
| 0.0037 | 0.3351 | 260 | 0.0170 | 0.9940 | 0.8814 | 0.9123 | 0.8966 |
|
78 |
+
| 0.0076 | 0.3608 | 280 | 0.0186 | 0.9955 | 0.9 | 0.9474 | 0.9231 |
|
79 |
+
| 0.0133 | 0.3866 | 300 | 0.0152 | 0.9975 | 0.9643 | 0.9474 | 0.9558 |
|
80 |
+
| 0.0084 | 0.4124 | 320 | 0.0164 | 0.9970 | 0.9474 | 0.9474 | 0.9474 |
|
81 |
+
| 0.0039 | 0.4381 | 340 | 0.0141 | 0.9975 | 0.9643 | 0.9474 | 0.9558 |
|
82 |
+
| 0.0102 | 0.4639 | 360 | 0.0138 | 0.9970 | 0.9474 | 0.9474 | 0.9474 |
|
83 |
+
| 0.0019 | 0.4897 | 380 | 0.0152 | 0.9965 | 0.9310 | 0.9474 | 0.9391 |
|
84 |
+
| 0.0007 | 0.5155 | 400 | 0.0145 | 0.9970 | 0.9636 | 0.9298 | 0.9464 |
|
85 |
+
| 0.0028 | 0.5412 | 420 | 0.0141 | 0.9965 | 0.9310 | 0.9474 | 0.9391 |
|
86 |
+
| 0.0035 | 0.5670 | 440 | 0.0147 | 0.9960 | 0.9623 | 0.8947 | 0.9273 |
|
87 |
+
| 0.0016 | 0.5928 | 460 | 0.0159 | 0.9965 | 0.9808 | 0.8947 | 0.9358 |
|
88 |
+
| 0.0262 | 0.6186 | 480 | 0.0141 | 0.9970 | 0.9474 | 0.9474 | 0.9474 |
|
89 |
+
| 0.0294 | 0.6443 | 500 | 0.0165 | 0.9970 | 0.9811 | 0.9123 | 0.9455 |
|
90 |
+
| 0.0054 | 0.6701 | 520 | 0.0145 | 0.9970 | 0.9474 | 0.9474 | 0.9474 |
|
91 |
+
| 0.0293 | 0.6959 | 540 | 0.0148 | 0.9970 | 0.9474 | 0.9474 | 0.9474 |
|
92 |
+
| 0.0133 | 0.7216 | 560 | 0.0137 | 0.9970 | 0.9474 | 0.9474 | 0.9474 |
|
93 |
+
| 0.0028 | 0.7474 | 580 | 0.0141 | 0.9980 | 0.9818 | 0.9474 | 0.9643 |
|
94 |
+
| 0.0012 | 0.7732 | 600 | 0.0142 | 0.9980 | 0.9818 | 0.9474 | 0.9643 |
|
95 |
+
| 0.0018 | 0.7990 | 620 | 0.0136 | 0.9975 | 0.9643 | 0.9474 | 0.9558 |
|
96 |
+
| 0.0164 | 0.8247 | 640 | 0.0140 | 0.9975 | 0.9643 | 0.9474 | 0.9558 |
|
97 |
+
| 0.0359 | 0.8505 | 660 | 0.0143 | 0.9980 | 0.9818 | 0.9474 | 0.9643 |
|
98 |
+
| 0.0038 | 0.8763 | 680 | 0.0137 | 0.9980 | 0.9818 | 0.9474 | 0.9643 |
|
99 |
+
| 0.011 | 0.9021 | 700 | 0.0134 | 0.9975 | 0.9643 | 0.9474 | 0.9558 |
|
100 |
+
| 0.0144 | 0.9278 | 720 | 0.0134 | 0.9975 | 0.9643 | 0.9474 | 0.9558 |
|
101 |
+
| 0.0284 | 0.9536 | 740 | 0.0134 | 0.9980 | 0.9818 | 0.9474 | 0.9643 |
|
102 |
+
| 0.0066 | 0.9794 | 760 | 0.0134 | 0.9975 | 0.9643 | 0.9474 | 0.9558 |
|
103 |
+
|
104 |
+
|
105 |
+
### Framework versions
|
106 |
+
|
107 |
+
- PEFT 0.13.2
|
108 |
+
- Transformers 4.46.0
|
109 |
+
- Pytorch 2.5.1+cu124
|
110 |
+
- Datasets 3.1.0
|
111 |
+
- 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:ae87a6d8e73accf1c96a4b058eed883801c23183e94913471b6557aa80cac315
|
3 |
+
size 27280152
|