shandonk/distilbert-base-uncased-lora-text-classification-2nd-try
Browse files- README.md +12 -12
- adapter_config.json +3 -3
- adapter_model.safetensors +2 -2
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -20,8 +20,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 20 |
|
| 21 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the financial_phrasebank dataset.
|
| 22 |
It achieves the following results on the evaluation set:
|
| 23 |
-
- Loss: 1.
|
| 24 |
-
- Accuracy: {'accuracy': 0.
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
@@ -52,16 +52,16 @@ The following hyperparameters were used during training:
|
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:--------------------------------:|
|
| 55 |
-
| 0.
|
| 56 |
-
| 0.
|
| 57 |
-
| 0.
|
| 58 |
-
| 0.
|
| 59 |
-
| 0.
|
| 60 |
-
| 0.
|
| 61 |
-
| 0.
|
| 62 |
-
| 0.
|
| 63 |
-
| 0.
|
| 64 |
-
| 0.
|
| 65 |
|
| 66 |
|
| 67 |
### Framework versions
|
|
|
|
| 20 |
|
| 21 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the financial_phrasebank dataset.
|
| 22 |
It achieves the following results on the evaluation set:
|
| 23 |
+
- Loss: 1.2612
|
| 24 |
+
- Accuracy: {'accuracy': 0.8287247214197276}
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
|
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:--------------------------------:|
|
| 55 |
+
| 0.6087 | 1.0 | 606 | 0.6192 | {'accuracy': 0.8018984729673958} |
|
| 56 |
+
| 0.4539 | 2.0 | 1212 | 0.5939 | {'accuracy': 0.8312009905076352} |
|
| 57 |
+
| 0.3768 | 3.0 | 1818 | 0.7302 | {'accuracy': 0.8283120099050764} |
|
| 58 |
+
| 0.3249 | 4.0 | 2424 | 0.7608 | {'accuracy': 0.8287247214197276} |
|
| 59 |
+
| 0.1923 | 5.0 | 3030 | 0.8825 | {'accuracy': 0.8283120099050764} |
|
| 60 |
+
| 0.1518 | 6.0 | 3636 | 1.0603 | {'accuracy': 0.8332645480808915} |
|
| 61 |
+
| 0.1068 | 7.0 | 4242 | 1.1702 | {'accuracy': 0.8262484523318201} |
|
| 62 |
+
| 0.0673 | 8.0 | 4848 | 1.2515 | {'accuracy': 0.8217086256706562} |
|
| 63 |
+
| 0.072 | 9.0 | 5454 | 1.2673 | {'accuracy': 0.8303755674783326} |
|
| 64 |
+
| 0.0315 | 10.0 | 6060 | 1.2612 | {'accuracy': 0.8287247214197276} |
|
| 65 |
|
| 66 |
|
| 67 |
### Framework versions
|
adapter_config.json
CHANGED
|
@@ -13,9 +13,9 @@
|
|
| 13 |
"layers_pattern": null,
|
| 14 |
"layers_to_transform": null,
|
| 15 |
"loftq_config": {},
|
| 16 |
-
"lora_alpha":
|
| 17 |
"lora_bias": false,
|
| 18 |
-
"lora_dropout": 0.
|
| 19 |
"megatron_config": null,
|
| 20 |
"megatron_core": "megatron.core",
|
| 21 |
"modules_to_save": [
|
|
@@ -23,7 +23,7 @@
|
|
| 23 |
"score"
|
| 24 |
],
|
| 25 |
"peft_type": "LORA",
|
| 26 |
-
"r":
|
| 27 |
"rank_pattern": {},
|
| 28 |
"revision": null,
|
| 29 |
"target_modules": [
|
|
|
|
| 13 |
"layers_pattern": null,
|
| 14 |
"layers_to_transform": null,
|
| 15 |
"loftq_config": {},
|
| 16 |
+
"lora_alpha": 16,
|
| 17 |
"lora_bias": false,
|
| 18 |
+
"lora_dropout": 0.05,
|
| 19 |
"megatron_config": null,
|
| 20 |
"megatron_core": "megatron.core",
|
| 21 |
"modules_to_save": [
|
|
|
|
| 23 |
"score"
|
| 24 |
],
|
| 25 |
"peft_type": "LORA",
|
| 26 |
+
"r": 8,
|
| 27 |
"rank_pattern": {},
|
| 28 |
"revision": null,
|
| 29 |
"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:4715f5f634610c3cd24cf5b2451f235c93fabf96f68857f0c3b1c4cdcd525a78
|
| 3 |
+
size 2668644
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5368
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46087ffbe4bfd57a183234eb4985ff7233d21fe18345d3e06fca75c387414960
|
| 3 |
size 5368
|