Upload model
#2
by
tparng
- opened
- README.md +26 -18
- adapter_config.json +2 -0
- adapter_model.safetensors +3 -0
README.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
-
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
|
|
|
| 8 |
model-index:
|
| 9 |
- name: distilbert-base-uncased-lora-text-classification
|
| 10 |
results: []
|
|
@@ -15,10 +16,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
|
| 16 |
# distilbert-base-uncased-lora-text-classification
|
| 17 |
|
| 18 |
-
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
-
- Loss:
|
| 21 |
-
- Accuracy: {'accuracy': 0.
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|
|
@@ -49,21 +50,28 @@ The following hyperparameters were used during training:
|
|
| 49 |
|
| 50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 51 |
|:-------------:|:-----:|:----:|:---------------:|:-------------------:|
|
| 52 |
-
| No log | 1.0 | 250 | 0.
|
| 53 |
-
| 0.
|
| 54 |
-
| 0.
|
| 55 |
-
| 0.
|
| 56 |
-
| 0.
|
| 57 |
-
| 0.
|
| 58 |
-
| 0.
|
| 59 |
-
| 0.
|
| 60 |
-
| 0.
|
| 61 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
|
| 64 |
### Framework versions
|
| 65 |
|
| 66 |
-
|
| 67 |
-
-
|
| 68 |
-
- Datasets 2.14.4
|
| 69 |
-
- Tokenizers 0.13.2
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 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: []
|
|
|
|
| 16 |
|
| 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: 0.9162
|
| 22 |
+
- Accuracy: {'accuracy': 0.901}
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
|
|
| 50 |
|
| 51 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 52 |
|:-------------:|:-----:|:----:|:---------------:|:-------------------:|
|
| 53 |
+
| No log | 1.0 | 250 | 0.3611 | {'accuracy': 0.871} |
|
| 54 |
+
| 0.4182 | 2.0 | 500 | 0.5356 | {'accuracy': 0.883} |
|
| 55 |
+
| 0.4182 | 3.0 | 750 | 0.5292 | {'accuracy': 0.899} |
|
| 56 |
+
| 0.2132 | 4.0 | 1000 | 0.5966 | {'accuracy': 0.897} |
|
| 57 |
+
| 0.2132 | 5.0 | 1250 | 0.6869 | {'accuracy': 0.894} |
|
| 58 |
+
| 0.0748 | 6.0 | 1500 | 0.7645 | {'accuracy': 0.898} |
|
| 59 |
+
| 0.0748 | 7.0 | 1750 | 0.8095 | {'accuracy': 0.897} |
|
| 60 |
+
| 0.0335 | 8.0 | 2000 | 0.9055 | {'accuracy': 0.892} |
|
| 61 |
+
| 0.0335 | 9.0 | 2250 | 0.9086 | {'accuracy': 0.901} |
|
| 62 |
+
| 0.0083 | 10.0 | 2500 | 0.9162 | {'accuracy': 0.901} |
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
### Framework versions
|
| 66 |
+
|
| 67 |
+
- Transformers 4.35.2
|
| 68 |
+
- Pytorch 2.1.1+cu121
|
| 69 |
+
- Datasets 2.15.0
|
| 70 |
+
- Tokenizers 0.15.0
|
| 71 |
+
## Training procedure
|
| 72 |
|
| 73 |
|
| 74 |
### Framework versions
|
| 75 |
|
| 76 |
+
|
| 77 |
+
- PEFT 0.6.2
|
|
|
|
|
|
adapter_config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"auto_mapping": null,
|
| 3 |
"base_model_name_or_path": "distilbert-base-uncased",
|
| 4 |
"bias": "none",
|
|
@@ -12,6 +13,7 @@
|
|
| 12 |
"modules_to_save": null,
|
| 13 |
"peft_type": "LORA",
|
| 14 |
"r": 4,
|
|
|
|
| 15 |
"revision": null,
|
| 16 |
"target_modules": [
|
| 17 |
"q_lin"
|
|
|
|
| 1 |
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
"base_model_name_or_path": "distilbert-base-uncased",
|
| 5 |
"bias": "none",
|
|
|
|
| 13 |
"modules_to_save": null,
|
| 14 |
"peft_type": "LORA",
|
| 15 |
"r": 4,
|
| 16 |
+
"rank_pattern": {},
|
| 17 |
"revision": null,
|
| 18 |
"target_modules": [
|
| 19 |
"q_lin"
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d7115f52b941aa039350b290b079fc1d32a3bb16fbbe8bc1058922327876e50a
|
| 3 |
+
size 2518104
|