Sentiment-Classification
Browse files
README.md
CHANGED
|
@@ -3,9 +3,9 @@ license: apache-2.0
|
|
| 3 |
library_name: peft
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
-
base_model: distilbert-base-uncased
|
| 7 |
metrics:
|
| 8 |
- accuracy
|
|
|
|
| 9 |
model-index:
|
| 10 |
- name: distilbert-base-uncased-lora-text-classification
|
| 11 |
results: []
|
|
@@ -18,8 +18,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 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:
|
| 22 |
-
- Accuracy: {'accuracy': 0.
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
@@ -44,20 +44,38 @@ The following hyperparameters were used during training:
|
|
| 44 |
- seed: 42
|
| 45 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 46 |
- lr_scheduler_type: linear
|
| 47 |
-
- num_epochs:
|
| 48 |
|
| 49 |
### Training results
|
| 50 |
|
| 51 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 52 |
|:-------------:|:-----:|:----:|:---------------:|:-------------------:|
|
| 53 |
-
| No log | 1.0 | 250 | 0.
|
| 54 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
|
| 56 |
|
| 57 |
### Framework versions
|
| 58 |
|
| 59 |
- PEFT 0.10.0
|
| 60 |
-
- Transformers 4.
|
| 61 |
- Pytorch 2.2.1+cu121
|
| 62 |
- Datasets 2.18.0
|
| 63 |
- Tokenizers 0.15.2
|
|
|
|
| 3 |
library_name: peft
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
|
|
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
| 8 |
+
base_model: distilbert-base-uncased
|
| 9 |
model-index:
|
| 10 |
- name: distilbert-base-uncased-lora-text-classification
|
| 11 |
results: []
|
|
|
|
| 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.3518
|
| 22 |
+
- Accuracy: {'accuracy': 0.892}
|
| 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: 20
|
| 48 |
|
| 49 |
### Training results
|
| 50 |
|
| 51 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 52 |
|:-------------:|:-----:|:----:|:---------------:|:-------------------:|
|
| 53 |
+
| No log | 1.0 | 250 | 0.5531 | {'accuracy': 0.844} |
|
| 54 |
+
| 0.4257 | 2.0 | 500 | 0.3913 | {'accuracy': 0.888} |
|
| 55 |
+
| 0.4257 | 3.0 | 750 | 0.6203 | {'accuracy': 0.865} |
|
| 56 |
+
| 0.2247 | 4.0 | 1000 | 0.6630 | {'accuracy': 0.884} |
|
| 57 |
+
| 0.2247 | 5.0 | 1250 | 0.8218 | {'accuracy': 0.885} |
|
| 58 |
+
| 0.0802 | 6.0 | 1500 | 0.9760 | {'accuracy': 0.866} |
|
| 59 |
+
| 0.0802 | 7.0 | 1750 | 0.9308 | {'accuracy': 0.882} |
|
| 60 |
+
| 0.0458 | 8.0 | 2000 | 1.0010 | {'accuracy': 0.884} |
|
| 61 |
+
| 0.0458 | 9.0 | 2250 | 1.2157 | {'accuracy': 0.884} |
|
| 62 |
+
| 0.0263 | 10.0 | 2500 | 1.2556 | {'accuracy': 0.89} |
|
| 63 |
+
| 0.0263 | 11.0 | 2750 | 1.0911 | {'accuracy': 0.892} |
|
| 64 |
+
| 0.0244 | 12.0 | 3000 | 1.2507 | {'accuracy': 0.884} |
|
| 65 |
+
| 0.0244 | 13.0 | 3250 | 1.3437 | {'accuracy': 0.889} |
|
| 66 |
+
| 0.0239 | 14.0 | 3500 | 1.1973 | {'accuracy': 0.893} |
|
| 67 |
+
| 0.0239 | 15.0 | 3750 | 1.1784 | {'accuracy': 0.894} |
|
| 68 |
+
| 0.0006 | 16.0 | 4000 | 1.2430 | {'accuracy': 0.892} |
|
| 69 |
+
| 0.0006 | 17.0 | 4250 | 1.3177 | {'accuracy': 0.888} |
|
| 70 |
+
| 0.0018 | 18.0 | 4500 | 1.3294 | {'accuracy': 0.893} |
|
| 71 |
+
| 0.0018 | 19.0 | 4750 | 1.3637 | {'accuracy': 0.891} |
|
| 72 |
+
| 0.0025 | 20.0 | 5000 | 1.3518 | {'accuracy': 0.892} |
|
| 73 |
|
| 74 |
|
| 75 |
### Framework versions
|
| 76 |
|
| 77 |
- PEFT 0.10.0
|
| 78 |
+
- Transformers 4.38.2
|
| 79 |
- Pytorch 2.2.1+cu121
|
| 80 |
- Datasets 2.18.0
|
| 81 |
- Tokenizers 0.15.2
|
adapter_config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
-
"base_model_name_or_path":
|
| 5 |
"bias": "none",
|
| 6 |
"fan_in_fan_out": false,
|
| 7 |
"inference_mode": true,
|
|
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "distilbert-base-uncased",
|
| 5 |
"bias": "none",
|
| 6 |
"fan_in_fan_out": false,
|
| 7 |
"inference_mode": true,
|
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:336f78a1cf5392cf86e0033bc46290cca5fba22d99b71775c9b880d13a12b408
|
| 3 |
+
size 2518104
|
runs/Mar25_13-56-22_1958dfbf93d9/events.out.tfevents.1711374983.1958dfbf93d9.3902.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:700a0bcbe88c2bdf12e1725000e76eb02d846c01a8fe1feb2327572ed3ebee19
|
| 3 |
+
size 12545
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4984
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df97d185970d3a97d5366fb5e585a637b0395b326336ebcacb8f6848e03c111c
|
| 3 |
size 4984
|