sophonai/lora-test-distilbert-base-uncased
Browse files- README.md +62 -1
- adapter_config.json +1 -1
- adapter_model.safetensors +2 -2
- training_args.bin +1 -1
README.md
CHANGED
@@ -2,6 +2,8 @@
|
|
2 |
base_model: distilbert-base-uncased
|
3 |
library_name: peft
|
4 |
license: apache-2.0
|
|
|
|
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
model-index:
|
@@ -15,6 +17,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
# distilbert-base-uncased-lora-text-classification
|
16 |
|
17 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
|
|
|
|
|
|
18 |
|
19 |
## Model description
|
20 |
|
@@ -39,7 +44,63 @@ The following hyperparameters were used during training:
|
|
39 |
- seed: 42
|
40 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
41 |
- lr_scheduler_type: linear
|
42 |
-
- num_epochs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
### Framework versions
|
45 |
|
|
|
2 |
base_model: distilbert-base-uncased
|
3 |
library_name: peft
|
4 |
license: apache-2.0
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
tags:
|
8 |
- generated_from_trainer
|
9 |
model-index:
|
|
|
17 |
# distilbert-base-uncased-lora-text-classification
|
18 |
|
19 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.0845
|
22 |
+
- Accuracy: {'accuracy': 0.884}
|
23 |
|
24 |
## Model description
|
25 |
|
|
|
44 |
- seed: 42
|
45 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
- lr_scheduler_type: linear
|
47 |
+
- num_epochs: 50
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------------------:|
|
53 |
+
| No log | 1.0 | 125 | 0.3046 | {'accuracy': 0.89} |
|
54 |
+
| No log | 2.0 | 250 | 0.3899 | {'accuracy': 0.853} |
|
55 |
+
| No log | 3.0 | 375 | 0.5440 | {'accuracy': 0.844} |
|
56 |
+
| 0.2813 | 4.0 | 500 | 0.4597 | {'accuracy': 0.867} |
|
57 |
+
| 0.2813 | 5.0 | 625 | 0.5280 | {'accuracy': 0.88} |
|
58 |
+
| 0.2813 | 6.0 | 750 | 0.5096 | {'accuracy': 0.877} |
|
59 |
+
| 0.2813 | 7.0 | 875 | 0.6435 | {'accuracy': 0.881} |
|
60 |
+
| 0.0793 | 8.0 | 1000 | 0.6281 | {'accuracy': 0.883} |
|
61 |
+
| 0.0793 | 9.0 | 1125 | 0.7278 | {'accuracy': 0.868} |
|
62 |
+
| 0.0793 | 10.0 | 1250 | 0.6827 | {'accuracy': 0.876} |
|
63 |
+
| 0.0793 | 11.0 | 1375 | 0.8269 | {'accuracy': 0.86} |
|
64 |
+
| 0.0502 | 12.0 | 1500 | 0.7706 | {'accuracy': 0.866} |
|
65 |
+
| 0.0502 | 13.0 | 1625 | 0.8552 | {'accuracy': 0.867} |
|
66 |
+
| 0.0502 | 14.0 | 1750 | 1.0037 | {'accuracy': 0.872} |
|
67 |
+
| 0.0502 | 15.0 | 1875 | 0.8915 | {'accuracy': 0.874} |
|
68 |
+
| 0.0237 | 16.0 | 2000 | 0.7394 | {'accuracy': 0.882} |
|
69 |
+
| 0.0237 | 17.0 | 2125 | 0.8335 | {'accuracy': 0.878} |
|
70 |
+
| 0.0237 | 18.0 | 2250 | 1.0328 | {'accuracy': 0.875} |
|
71 |
+
| 0.0237 | 19.0 | 2375 | 0.8622 | {'accuracy': 0.879} |
|
72 |
+
| 0.0232 | 20.0 | 2500 | 0.8536 | {'accuracy': 0.872} |
|
73 |
+
| 0.0232 | 21.0 | 2625 | 0.9345 | {'accuracy': 0.874} |
|
74 |
+
| 0.0232 | 22.0 | 2750 | 0.9473 | {'accuracy': 0.876} |
|
75 |
+
| 0.0232 | 23.0 | 2875 | 1.0162 | {'accuracy': 0.874} |
|
76 |
+
| 0.0121 | 24.0 | 3000 | 0.9833 | {'accuracy': 0.868} |
|
77 |
+
| 0.0121 | 25.0 | 3125 | 0.9889 | {'accuracy': 0.878} |
|
78 |
+
| 0.0121 | 26.0 | 3250 | 0.9712 | {'accuracy': 0.874} |
|
79 |
+
| 0.0121 | 27.0 | 3375 | 0.9586 | {'accuracy': 0.877} |
|
80 |
+
| 0.0098 | 28.0 | 3500 | 0.9557 | {'accuracy': 0.875} |
|
81 |
+
| 0.0098 | 29.0 | 3625 | 1.0105 | {'accuracy': 0.873} |
|
82 |
+
| 0.0098 | 30.0 | 3750 | 0.9052 | {'accuracy': 0.869} |
|
83 |
+
| 0.0098 | 31.0 | 3875 | 0.9571 | {'accuracy': 0.878} |
|
84 |
+
| 0.0093 | 32.0 | 4000 | 1.0417 | {'accuracy': 0.871} |
|
85 |
+
| 0.0093 | 33.0 | 4125 | 1.1209 | {'accuracy': 0.871} |
|
86 |
+
| 0.0093 | 34.0 | 4250 | 1.1851 | {'accuracy': 0.869} |
|
87 |
+
| 0.0093 | 35.0 | 4375 | 1.4009 | {'accuracy': 0.871} |
|
88 |
+
| 0.0048 | 36.0 | 4500 | 1.1369 | {'accuracy': 0.879} |
|
89 |
+
| 0.0048 | 37.0 | 4625 | 1.1375 | {'accuracy': 0.879} |
|
90 |
+
| 0.0048 | 38.0 | 4750 | 1.1177 | {'accuracy': 0.877} |
|
91 |
+
| 0.0048 | 39.0 | 4875 | 1.1163 | {'accuracy': 0.881} |
|
92 |
+
| 0.0004 | 40.0 | 5000 | 1.1190 | {'accuracy': 0.874} |
|
93 |
+
| 0.0004 | 41.0 | 5125 | 1.1133 | {'accuracy': 0.879} |
|
94 |
+
| 0.0004 | 42.0 | 5250 | 1.1240 | {'accuracy': 0.878} |
|
95 |
+
| 0.0004 | 43.0 | 5375 | 1.0499 | {'accuracy': 0.885} |
|
96 |
+
| 0.0023 | 44.0 | 5500 | 1.0496 | {'accuracy': 0.884} |
|
97 |
+
| 0.0023 | 45.0 | 5625 | 1.0538 | {'accuracy': 0.884} |
|
98 |
+
| 0.0023 | 46.0 | 5750 | 1.0807 | {'accuracy': 0.879} |
|
99 |
+
| 0.0023 | 47.0 | 5875 | 1.0642 | {'accuracy': 0.88} |
|
100 |
+
| 0.0002 | 48.0 | 6000 | 1.0655 | {'accuracy': 0.879} |
|
101 |
+
| 0.0002 | 49.0 | 6125 | 1.0755 | {'accuracy': 0.881} |
|
102 |
+
| 0.0002 | 50.0 | 6250 | 1.0845 | {'accuracy': 0.884} |
|
103 |
+
|
104 |
|
105 |
### Framework versions
|
106 |
|
adapter_config.json
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
"score"
|
20 |
],
|
21 |
"peft_type": "LORA",
|
22 |
-
"r":
|
23 |
"rank_pattern": {},
|
24 |
"revision": null,
|
25 |
"target_modules": [
|
|
|
19 |
"score"
|
20 |
],
|
21 |
"peft_type": "LORA",
|
22 |
+
"r": 1024,
|
23 |
"rank_pattern": {},
|
24 |
"revision": null,
|
25 |
"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:1be07c69b61d4b8e9c4dcf727a1fdc663f293ded1f0ec91730474dea43d84e21
|
3 |
+
size 40119480
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5176
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48d608d87a4a289efccf3cc694efa37c422e7bdf9dc08320ccff5b567902df4c
|
3 |
size 5176
|