update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- accuracy
|
| 7 |
+
- precision
|
| 8 |
+
- recall
|
| 9 |
+
- f1
|
| 10 |
+
model-index:
|
| 11 |
+
- name: bert_small
|
| 12 |
+
results: []
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 16 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 17 |
+
|
| 18 |
+
# bert_small
|
| 19 |
+
|
| 20 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
|
| 21 |
+
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 1.4537
|
| 23 |
+
- Accuracy: 0.88
|
| 24 |
+
- Precision: 0.625
|
| 25 |
+
- Recall: 0.3571
|
| 26 |
+
- F1: 0.4545
|
| 27 |
+
- D-index: 1.6429
|
| 28 |
+
|
| 29 |
+
## Model description
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Intended uses & limitations
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training and evaluation data
|
| 38 |
+
|
| 39 |
+
More information needed
|
| 40 |
+
|
| 41 |
+
## Training procedure
|
| 42 |
+
|
| 43 |
+
### Training hyperparameters
|
| 44 |
+
|
| 45 |
+
The following hyperparameters were used during training:
|
| 46 |
+
- learning_rate: 5e-05
|
| 47 |
+
- train_batch_size: 4
|
| 48 |
+
- eval_batch_size: 8
|
| 49 |
+
- seed: 42
|
| 50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 51 |
+
- lr_scheduler_type: linear
|
| 52 |
+
- lr_scheduler_warmup_steps: 1600
|
| 53 |
+
- num_epochs: 20
|
| 54 |
+
- mixed_precision_training: Native AMP
|
| 55 |
+
|
| 56 |
+
### Training results
|
| 57 |
+
|
| 58 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | D-index |
|
| 59 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|:-------:|
|
| 60 |
+
| No log | 1.0 | 200 | 0.3773 | 0.86 | 0.0 | 0.0 | 0.0 | 1.4803 |
|
| 61 |
+
| No log | 2.0 | 400 | 0.4271 | 0.86 | 0.0 | 0.0 | 0.0 | 1.4803 |
|
| 62 |
+
| 0.5126 | 3.0 | 600 | 0.4598 | 0.87 | 0.55 | 0.3929 | 0.4583 | 1.6431 |
|
| 63 |
+
| 0.5126 | 4.0 | 800 | 0.6620 | 0.865 | 0.52 | 0.4643 | 0.4906 | 1.6624 |
|
| 64 |
+
| 0.2953 | 5.0 | 1000 | 0.8149 | 0.855 | 0.4615 | 0.2143 | 0.2927 | 1.5575 |
|
| 65 |
+
| 0.2953 | 6.0 | 1200 | 0.7819 | 0.875 | 0.5714 | 0.4286 | 0.4898 | 1.6623 |
|
| 66 |
+
| 0.2953 | 7.0 | 1400 | 1.0426 | 0.86 | 0.5 | 0.3571 | 0.4167 | 1.6173 |
|
| 67 |
+
| 0.1565 | 8.0 | 1600 | 1.0078 | 0.885 | 0.7273 | 0.2857 | 0.4103 | 1.6231 |
|
| 68 |
+
| 0.1565 | 9.0 | 1800 | 1.2939 | 0.865 | 0.6 | 0.1071 | 0.1818 | 1.5294 |
|
| 69 |
+
| 0.0643 | 10.0 | 2000 | 1.2661 | 0.88 | 0.6429 | 0.3214 | 0.4286 | 1.6299 |
|
| 70 |
+
| 0.0643 | 11.0 | 2200 | 1.3556 | 0.87 | 0.5833 | 0.25 | 0.3500 | 1.5905 |
|
| 71 |
+
| 0.0643 | 12.0 | 2400 | 1.2393 | 0.87 | 0.625 | 0.1786 | 0.2778 | 1.5635 |
|
| 72 |
+
| 0.0306 | 13.0 | 2600 | 1.3059 | 0.88 | 0.625 | 0.3571 | 0.4545 | 1.6429 |
|
| 73 |
+
| 0.0306 | 14.0 | 2800 | 1.3446 | 0.88 | 0.625 | 0.3571 | 0.4545 | 1.6429 |
|
| 74 |
+
| 0.0019 | 15.0 | 3000 | 1.3618 | 0.885 | 0.6471 | 0.3929 | 0.4889 | 1.6622 |
|
| 75 |
+
| 0.0019 | 16.0 | 3200 | 1.3785 | 0.885 | 0.6471 | 0.3929 | 0.4889 | 1.6622 |
|
| 76 |
+
| 0.0019 | 17.0 | 3400 | 1.4361 | 0.88 | 0.625 | 0.3571 | 0.4545 | 1.6429 |
|
| 77 |
+
| 0.0098 | 18.0 | 3600 | 1.4466 | 0.88 | 0.625 | 0.3571 | 0.4545 | 1.6429 |
|
| 78 |
+
| 0.0098 | 19.0 | 3800 | 1.4518 | 0.88 | 0.625 | 0.3571 | 0.4545 | 1.6429 |
|
| 79 |
+
| 0.0 | 20.0 | 4000 | 1.4537 | 0.88 | 0.625 | 0.3571 | 0.4545 | 1.6429 |
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
### Framework versions
|
| 83 |
+
|
| 84 |
+
- Transformers 4.28.0
|
| 85 |
+
- Pytorch 2.0.1+cu118
|
| 86 |
+
- Datasets 2.12.0
|
| 87 |
+
- Tokenizers 0.13.3
|