Update README.md
#1
by
ShelterW
- opened
README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
---
|
2 |
-
license: mit
|
3 |
-
tags:
|
4 |
-
- generated_from_trainer
|
5 |
datasets:
|
6 |
-
-
|
7 |
metrics:
|
8 |
- accuracy
|
|
|
|
|
|
|
9 |
model-index:
|
10 |
- name: gpt2-imdb-sentiment-classifier
|
11 |
results:
|
@@ -20,6 +20,9 @@ model-index:
|
|
20 |
- name: Accuracy
|
21 |
type: accuracy
|
22 |
value: 0.9394
|
|
|
|
|
|
|
23 |
---
|
24 |
|
25 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -27,14 +30,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
27 |
|
28 |
# gpt2-imdb-sentiment-classifier
|
29 |
|
30 |
-
This model is a fine-tuned version of [
|
31 |
It achieves the following results on the evaluation set:
|
32 |
-
- Loss: 0.
|
33 |
-
- Accuracy: 0.
|
34 |
-
|
35 |
-
## Model description
|
36 |
-
|
37 |
-
More information needed
|
38 |
|
39 |
## Intended uses & limitations
|
40 |
|
@@ -51,24 +50,19 @@ More information needed
|
|
51 |
### Training hyperparameters
|
52 |
|
53 |
The following hyperparameters were used during training:
|
54 |
-
- learning_rate:
|
55 |
-
- train_batch_size:
|
56 |
-
- eval_batch_size:
|
57 |
-
-
|
58 |
-
-
|
59 |
-
- lr_scheduler_type: linear
|
60 |
-
- num_epochs: 1
|
61 |
-
|
62 |
### Training results
|
63 |
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
|
69 |
### Framework versions
|
70 |
|
71 |
-
-
|
72 |
-
-
|
73 |
-
- Datasets 2.9.0
|
74 |
-
- Tokenizers 0.12.1
|
|
|
1 |
---
|
|
|
|
|
|
|
2 |
datasets:
|
3 |
+
- seamew/ChnSentiCorp
|
4 |
metrics:
|
5 |
- accuracy
|
6 |
+
- precision
|
7 |
+
- f1
|
8 |
+
- recall
|
9 |
model-index:
|
10 |
- name: gpt2-imdb-sentiment-classifier
|
11 |
results:
|
|
|
20 |
- name: Accuracy
|
21 |
type: accuracy
|
22 |
value: 0.9394
|
23 |
+
language:
|
24 |
+
- zh
|
25 |
+
pipeline_tag: text-classification
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
30 |
|
31 |
# gpt2-imdb-sentiment-classifier
|
32 |
|
33 |
+
This model is a fine-tuned version of [hfl/rbt6](https://huggingface.co/hfl/rbt6) on the ChnSentiCorp dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.294600
|
36 |
+
- Accuracy: 0.933884
|
|
|
|
|
|
|
|
|
37 |
|
38 |
## Intended uses & limitations
|
39 |
|
|
|
50 |
### Training hyperparameters
|
51 |
|
52 |
The following hyperparameters were used during training:
|
53 |
+
- learning_rate: 2e-05
|
54 |
+
- train_batch_size: 4
|
55 |
+
- eval_batch_size: 4
|
56 |
+
- weight_decay=1e-2
|
57 |
+
- num_train_epochs=3
|
|
|
|
|
|
|
58 |
### Training results
|
59 |
|
60 |
+
Epoch Training Loss Validation Loss Accuracy F1 Precision Recall
|
61 |
+
1 0.359700 0.306089 0.924242 0.926230 0.918699 0.933884
|
62 |
+
2 0.200600 0.295512 0.942761 0.943615 0.946755 0.940496
|
63 |
+
3 0.105600 0.294600 0.941919 0.942452 0.951178 0.933884
|
64 |
|
65 |
### Framework versions
|
66 |
|
67 |
+
- Pytorch 2.0.0
|
68 |
+
- Python 3.9.12
|
|
|
|