End of training
Browse files
README.md
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: bert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imdb
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: N_bert_imdb_padding20model
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Text Classification
|
15 |
+
type: text-classification
|
16 |
+
dataset:
|
17 |
+
name: imdb
|
18 |
+
type: imdb
|
19 |
+
config: plain_text
|
20 |
+
split: test
|
21 |
+
args: plain_text
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.94048
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# N_bert_imdb_padding20model
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the imdb dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.6296
|
36 |
+
- Accuracy: 0.9405
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 2e-05
|
56 |
+
- train_batch_size: 16
|
57 |
+
- eval_batch_size: 16
|
58 |
+
- seed: 42
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 20
|
62 |
+
|
63 |
+
### Training results
|
64 |
+
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|
|
67 |
+
| 0.2224 | 1.0 | 1563 | 0.2481 | 0.9156 |
|
68 |
+
| 0.1564 | 2.0 | 3126 | 0.2097 | 0.9386 |
|
69 |
+
| 0.0937 | 3.0 | 4689 | 0.2687 | 0.9347 |
|
70 |
+
| 0.056 | 4.0 | 6252 | 0.2934 | 0.9377 |
|
71 |
+
| 0.0382 | 5.0 | 7815 | 0.3589 | 0.9370 |
|
72 |
+
| 0.0304 | 6.0 | 9378 | 0.4149 | 0.9355 |
|
73 |
+
| 0.02 | 7.0 | 10941 | 0.4875 | 0.9348 |
|
74 |
+
| 0.0174 | 8.0 | 12504 | 0.4710 | 0.938 |
|
75 |
+
| 0.0135 | 9.0 | 14067 | 0.5213 | 0.9333 |
|
76 |
+
| 0.0122 | 10.0 | 15630 | 0.5069 | 0.9366 |
|
77 |
+
| 0.0132 | 11.0 | 17193 | 0.5394 | 0.9326 |
|
78 |
+
| 0.0067 | 12.0 | 18756 | 0.5691 | 0.9377 |
|
79 |
+
| 0.0023 | 13.0 | 20319 | 0.5857 | 0.9368 |
|
80 |
+
| 0.0043 | 14.0 | 21882 | 0.5734 | 0.9395 |
|
81 |
+
| 0.0048 | 15.0 | 23445 | 0.5936 | 0.9388 |
|
82 |
+
| 0.0046 | 16.0 | 25008 | 0.5803 | 0.9389 |
|
83 |
+
| 0.0032 | 17.0 | 26571 | 0.5693 | 0.9402 |
|
84 |
+
| 0.0006 | 18.0 | 28134 | 0.6308 | 0.9396 |
|
85 |
+
| 0.0016 | 19.0 | 29697 | 0.6221 | 0.9402 |
|
86 |
+
| 0.0008 | 20.0 | 31260 | 0.6296 | 0.9405 |
|
87 |
+
|
88 |
+
|
89 |
+
### Framework versions
|
90 |
+
|
91 |
+
- Transformers 4.33.2
|
92 |
+
- Pytorch 2.0.1+cu117
|
93 |
+
- Datasets 2.14.5
|
94 |
+
- Tokenizers 0.13.3
|