End of training
Browse files- README.md +25 -0
- model.safetensors +1 -1
README.md
CHANGED
@@ -3,6 +3,11 @@ license: mit
|
|
3 |
base_model: gpt2
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
|
|
|
|
|
|
|
|
6 |
model-index:
|
7 |
- name: gpt2-text-classification-v2
|
8 |
results: []
|
@@ -18,6 +23,12 @@ should probably proofread and complete it, then remove this comment. -->
|
|
18 |
# gpt2-text-classification-v2
|
19 |
|
20 |
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
## Model description
|
23 |
|
@@ -46,6 +57,20 @@ The following hyperparameters were used during training:
|
|
46 |
- lr_scheduler_type: linear
|
47 |
- num_epochs: 10
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
### Framework versions
|
50 |
|
51 |
- Transformers 4.41.0
|
|
|
3 |
base_model: gpt2
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
- recall
|
10 |
+
- precision
|
11 |
model-index:
|
12 |
- name: gpt2-text-classification-v2
|
13 |
results: []
|
|
|
23 |
# gpt2-text-classification-v2
|
24 |
|
25 |
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
|
26 |
+
It achieves the following results on the evaluation set:
|
27 |
+
- Loss: 0.2002
|
28 |
+
- Accuracy: 0.9342
|
29 |
+
- F1: 0.9340
|
30 |
+
- Recall: 0.9314
|
31 |
+
- Precision: 0.9367
|
32 |
|
33 |
## Model description
|
34 |
|
|
|
57 |
- lr_scheduler_type: linear
|
58 |
- num_epochs: 10
|
59 |
|
60 |
+
### Training results
|
61 |
+
|
62 |
+
| Training Loss | Epoch | Step | Accuracy | F1 | Validation Loss | Precision | Recall |
|
63 |
+
|:-------------:|:------:|:----:|:--------:|:------:|:---------------:|:---------:|:------:|
|
64 |
+
| 0.327 | 0.9974 | 260 | 0.8973 | 0.8929 | 0.2559 | 0.9333 | 0.8558 |
|
65 |
+
| 0.241 | 1.9987 | 521 | 0.919 | 0.9180 | 0.2039 | 0.9296 | 0.9066 |
|
66 |
+
| 0.244 | 3.0 | 782 | 0.9154 | 0.9192 | 0.2156 | 0.8799 | 0.9621 |
|
67 |
+
| 0.1843 | 3.9974 | 1042 | 0.9299 | 0.9288 | 0.1888 | 0.9427 | 0.9154 |
|
68 |
+
| 0.1608 | 4.9987 | 1303 | 0.9301 | 0.9291 | 0.1855 | 0.9428 | 0.9158 |
|
69 |
+
| 0.124 | 6.0 | 1564 | 0.9322 | 0.9319 | 0.1826 | 0.9357 | 0.9282 |
|
70 |
+
| 0.112 | 6.9974 | 1820 | 0.2099 | 0.9315 | 0.9303 | 0.9138 | 0.9473 |
|
71 |
+
| 0.0903 | 7.9987 | 2081 | 0.2002 | 0.9342 | 0.9340 | 0.9314 | 0.9367 |
|
72 |
+
|
73 |
+
|
74 |
### Framework versions
|
75 |
|
76 |
- Transformers 4.41.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 497780432
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:585cf6d4b6bf3a1dfba2c2a2916df026b745d85c4026dd53c7bb72621e557a99
|
3 |
size 497780432
|