Model save
Browse files- README.md +91 -0
- adapter_config.json +29 -0
- adapter_model.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: v3d_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 |
+
# v3d_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.3848
|
24 |
+
- Accuracy: 0.8329
|
25 |
+
- Precision: 0.7398
|
26 |
+
- Recall: 0.4527
|
27 |
+
- F1: 0.5617
|
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.6112 | 0.7506 | 0.3659 | 0.0746 | 0.1240 |
|
65 |
+
| 0.5265 | 0.0532 | 20 | 0.6081 | 0.7647 | 0.5455 | 0.0299 | 0.0566 |
|
66 |
+
| 0.4127 | 0.1064 | 40 | 0.5412 | 0.7682 | 0.7 | 0.0348 | 0.0664 |
|
67 |
+
| 0.3347 | 0.1596 | 60 | 0.5020 | 0.7741 | 0.7368 | 0.0697 | 0.1273 |
|
68 |
+
| 0.3077 | 0.2128 | 80 | 0.4463 | 0.7965 | 0.6944 | 0.2488 | 0.3663 |
|
69 |
+
| 0.307 | 0.2660 | 100 | 0.4498 | 0.8 | 0.6782 | 0.2935 | 0.4097 |
|
70 |
+
| 0.2413 | 0.3191 | 120 | 0.4316 | 0.8141 | 0.7087 | 0.3632 | 0.4803 |
|
71 |
+
| 0.326 | 0.3723 | 140 | 0.4107 | 0.8235 | 0.7257 | 0.4080 | 0.5223 |
|
72 |
+
| 0.2404 | 0.4255 | 160 | 0.4615 | 0.8094 | 0.7671 | 0.2786 | 0.4088 |
|
73 |
+
| 0.2962 | 0.4787 | 180 | 0.4205 | 0.8282 | 0.7619 | 0.3980 | 0.5229 |
|
74 |
+
| 0.2727 | 0.5319 | 200 | 0.4830 | 0.8 | 0.7627 | 0.2239 | 0.3462 |
|
75 |
+
| 0.2844 | 0.5851 | 220 | 0.4187 | 0.8259 | 0.7524 | 0.3930 | 0.5163 |
|
76 |
+
| 0.2632 | 0.6383 | 240 | 0.4037 | 0.8235 | 0.7339 | 0.3980 | 0.5161 |
|
77 |
+
| 0.2499 | 0.6915 | 260 | 0.3885 | 0.8247 | 0.7241 | 0.4179 | 0.5300 |
|
78 |
+
| 0.2121 | 0.7447 | 280 | 0.3953 | 0.8224 | 0.7232 | 0.4030 | 0.5176 |
|
79 |
+
| 0.2704 | 0.7979 | 300 | 0.3849 | 0.8329 | 0.736 | 0.4577 | 0.5644 |
|
80 |
+
| 0.2333 | 0.8511 | 320 | 0.3878 | 0.8318 | 0.7417 | 0.4428 | 0.5545 |
|
81 |
+
| 0.2896 | 0.9043 | 340 | 0.3886 | 0.8306 | 0.7395 | 0.4378 | 0.55 |
|
82 |
+
| 0.2398 | 0.9574 | 360 | 0.3848 | 0.8329 | 0.7398 | 0.4527 | 0.5617 |
|
83 |
+
|
84 |
+
|
85 |
+
### Framework versions
|
86 |
+
|
87 |
+
- PEFT 0.13.2
|
88 |
+
- Transformers 4.46.0
|
89 |
+
- Pytorch 2.5.1+cu124
|
90 |
+
- Datasets 3.1.0
|
91 |
+
- 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:5d4125026be3511d7fbdbf5d702b45bcb19a256d37156bcbd5bc3e551e354afc
|
3 |
+
size 27280152
|