adhi29/adapter-mistral-7b-lora-answer-evaluator-high-rank
Browse files- README.md +47 -1
- adapter_config.json +2 -2
- adapter_model.safetensors +2 -2
- training_args.bin +2 -2
README.md
CHANGED
|
@@ -3,6 +3,10 @@ license: apache-2.0
|
|
| 3 |
library_name: peft
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
base_model: mistralai/Mistral-7B-v0.1
|
| 7 |
model-index:
|
| 8 |
- name: mistral-lora-token-classification
|
|
@@ -15,6 +19,12 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
# mistral-lora-token-classification
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the None dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
## Model description
|
| 20 |
|
|
@@ -40,9 +50,45 @@ The following hyperparameters were used during training:
|
|
| 40 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 41 |
- lr_scheduler_type: constant
|
| 42 |
- lr_scheduler_warmup_ratio: 0.1
|
| 43 |
-
- num_epochs:
|
| 44 |
- mixed_precision_training: Native AMP
|
| 45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
### Framework versions
|
| 47 |
|
| 48 |
- PEFT 0.10.0
|
|
|
|
| 3 |
library_name: peft
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- precision
|
| 8 |
+
- recall
|
| 9 |
+
- accuracy
|
| 10 |
base_model: mistralai/Mistral-7B-v0.1
|
| 11 |
model-index:
|
| 12 |
- name: mistral-lora-token-classification
|
|
|
|
| 19 |
# mistral-lora-token-classification
|
| 20 |
|
| 21 |
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the None dataset.
|
| 22 |
+
It achieves the following results on the evaluation set:
|
| 23 |
+
- Loss: 1.1492
|
| 24 |
+
- Precision: 0.5966
|
| 25 |
+
- Recall: 0.5541
|
| 26 |
+
- F1-score: 0.5686
|
| 27 |
+
- Accuracy: 0.5541
|
| 28 |
|
| 29 |
## Model description
|
| 30 |
|
|
|
|
| 50 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 51 |
- lr_scheduler_type: constant
|
| 52 |
- lr_scheduler_warmup_ratio: 0.1
|
| 53 |
+
- num_epochs: 30
|
| 54 |
- mixed_precision_training: Native AMP
|
| 55 |
|
| 56 |
+
### Training results
|
| 57 |
+
|
| 58 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1-score | Accuracy |
|
| 59 |
+
|:-------------:|:-----:|:-----:|:---------------:|:---------:|:------:|:--------:|:--------:|
|
| 60 |
+
| No log | 1.0 | 474 | 1.9985 | 0.3814 | 0.2424 | 0.2716 | 0.2424 |
|
| 61 |
+
| 3.272 | 2.0 | 948 | 1.7847 | 0.4187 | 0.2897 | 0.3251 | 0.2897 |
|
| 62 |
+
| 1.8653 | 3.0 | 1422 | 1.7270 | 0.4383 | 0.3032 | 0.3087 | 0.3032 |
|
| 63 |
+
| 1.6688 | 4.0 | 1896 | 1.5884 | 0.4382 | 0.4088 | 0.4190 | 0.4088 |
|
| 64 |
+
| 1.5773 | 5.0 | 2370 | 1.5324 | 0.4455 | 0.4291 | 0.4305 | 0.4291 |
|
| 65 |
+
| 1.5071 | 6.0 | 2844 | 1.4669 | 0.4717 | 0.4443 | 0.4527 | 0.4443 |
|
| 66 |
+
| 1.4485 | 7.0 | 3318 | 1.4577 | 0.4804 | 0.4527 | 0.4607 | 0.4527 |
|
| 67 |
+
| 1.3983 | 8.0 | 3792 | 1.4055 | 0.5104 | 0.3953 | 0.4235 | 0.3953 |
|
| 68 |
+
| 1.3515 | 9.0 | 4266 | 1.4217 | 0.4997 | 0.4831 | 0.4764 | 0.4831 |
|
| 69 |
+
| 1.302 | 10.0 | 4740 | 1.3502 | 0.5357 | 0.4789 | 0.4965 | 0.4789 |
|
| 70 |
+
| 1.3114 | 11.0 | 5214 | 1.3226 | 0.5321 | 0.5017 | 0.5143 | 0.5017 |
|
| 71 |
+
| 1.2243 | 12.0 | 5688 | 1.3426 | 0.5380 | 0.5034 | 0.5155 | 0.5034 |
|
| 72 |
+
| 1.2218 | 13.0 | 6162 | 1.3211 | 0.5436 | 0.4975 | 0.5111 | 0.4975 |
|
| 73 |
+
| 1.2021 | 14.0 | 6636 | 1.2606 | 0.5552 | 0.5186 | 0.5329 | 0.5186 |
|
| 74 |
+
| 1.196 | 15.0 | 7110 | 1.2437 | 0.5642 | 0.5034 | 0.5258 | 0.5034 |
|
| 75 |
+
| 1.1738 | 16.0 | 7584 | 1.2437 | 0.5679 | 0.5363 | 0.5460 | 0.5363 |
|
| 76 |
+
| 1.1511 | 17.0 | 8058 | 1.2798 | 0.5699 | 0.5017 | 0.5044 | 0.5017 |
|
| 77 |
+
| 1.1515 | 18.0 | 8532 | 1.2597 | 0.5717 | 0.5448 | 0.5411 | 0.5448 |
|
| 78 |
+
| 1.1265 | 19.0 | 9006 | 1.2373 | 0.5707 | 0.5355 | 0.5438 | 0.5355 |
|
| 79 |
+
| 1.1265 | 20.0 | 9480 | 1.2512 | 0.5880 | 0.5752 | 0.5752 | 0.5752 |
|
| 80 |
+
| 1.1253 | 21.0 | 9954 | 1.2344 | 0.5928 | 0.5051 | 0.5269 | 0.5051 |
|
| 81 |
+
| 1.0966 | 22.0 | 10428 | 1.2514 | 0.5884 | 0.5051 | 0.5256 | 0.5051 |
|
| 82 |
+
| 1.1011 | 23.0 | 10902 | 1.2126 | 0.5869 | 0.5574 | 0.5583 | 0.5574 |
|
| 83 |
+
| 1.061 | 24.0 | 11376 | 1.2364 | 0.6044 | 0.5372 | 0.5585 | 0.5372 |
|
| 84 |
+
| 1.0744 | 25.0 | 11850 | 1.1627 | 0.6052 | 0.5380 | 0.5576 | 0.5380 |
|
| 85 |
+
| 1.0366 | 26.0 | 12324 | 1.1630 | 0.5929 | 0.5667 | 0.5766 | 0.5667 |
|
| 86 |
+
| 1.0578 | 27.0 | 12798 | 1.1868 | 0.5858 | 0.5726 | 0.5749 | 0.5726 |
|
| 87 |
+
| 1.0552 | 28.0 | 13272 | 1.1689 | 0.6039 | 0.5465 | 0.5364 | 0.5465 |
|
| 88 |
+
| 1.0451 | 29.0 | 13746 | 1.1845 | 0.6083 | 0.5473 | 0.5578 | 0.5473 |
|
| 89 |
+
| 1.0296 | 30.0 | 14220 | 1.1492 | 0.5966 | 0.5541 | 0.5686 | 0.5541 |
|
| 90 |
+
|
| 91 |
+
|
| 92 |
### Framework versions
|
| 93 |
|
| 94 |
- PEFT 0.10.0
|
adapter_config.json
CHANGED
|
@@ -10,13 +10,13 @@
|
|
| 10 |
"layers_pattern": null,
|
| 11 |
"layers_to_transform": null,
|
| 12 |
"loftq_config": {},
|
| 13 |
-
"lora_alpha":
|
| 14 |
"lora_dropout": 0.1,
|
| 15 |
"megatron_config": null,
|
| 16 |
"megatron_core": "megatron.core",
|
| 17 |
"modules_to_save": null,
|
| 18 |
"peft_type": "LORA",
|
| 19 |
-
"r":
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
|
|
|
| 10 |
"layers_pattern": null,
|
| 11 |
"layers_to_transform": null,
|
| 12 |
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 64,
|
| 14 |
"lora_dropout": 0.1,
|
| 15 |
"megatron_config": null,
|
| 16 |
"megatron_core": "megatron.core",
|
| 17 |
"modules_to_save": null,
|
| 18 |
"peft_type": "LORA",
|
| 19 |
+
"r": 256,
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b1a222223489dad6cd0347019378cd438bcea409885d67d9f917281525ea654
|
| 3 |
+
size 436323616
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ddd3b160d60c5855feb147e393541afc4aa9a1fdf755352ae24d0e487347d4b
|
| 3 |
+
size 4984
|