Model save
Browse files
README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: google-bert/bert-base-cased
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- f1
|
| 8 |
+
- recall
|
| 9 |
+
model-index:
|
| 10 |
+
- name: bert-base-cased_K5
|
| 11 |
+
results: []
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
+
|
| 17 |
+
# bert-base-cased_K5
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [google-bert/bert-base-cased](https://huggingface.co/google-bert/bert-base-cased) on an unknown dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.0247
|
| 22 |
+
- F1 Macro: 0.9972
|
| 23 |
+
- F1: 0.9981
|
| 24 |
+
- F1 Neg: 0.9964
|
| 25 |
+
- Acc: 0.9975
|
| 26 |
+
- Prec: 1.0
|
| 27 |
+
- Recall: 0.9962
|
| 28 |
+
- Mcc: 0.9945
|
| 29 |
+
|
| 30 |
+
## Model description
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Intended uses & limitations
|
| 35 |
+
|
| 36 |
+
More information needed
|
| 37 |
+
|
| 38 |
+
## Training and evaluation data
|
| 39 |
+
|
| 40 |
+
More information needed
|
| 41 |
+
|
| 42 |
+
## Training procedure
|
| 43 |
+
|
| 44 |
+
### Training hyperparameters
|
| 45 |
+
|
| 46 |
+
The following hyperparameters were used during training:
|
| 47 |
+
- learning_rate: 2e-05
|
| 48 |
+
- train_batch_size: 8
|
| 49 |
+
- eval_batch_size: 8
|
| 50 |
+
- seed: 42
|
| 51 |
+
- distributed_type: multi-GPU
|
| 52 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 53 |
+
- lr_scheduler_type: linear
|
| 54 |
+
- num_epochs: 5
|
| 55 |
+
- mixed_precision_training: Native AMP
|
| 56 |
+
|
| 57 |
+
### Training results
|
| 58 |
+
|
| 59 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 Macro | F1 | F1 Neg | Acc | Prec | Recall | Mcc |
|
| 60 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:------:|:------:|:------:|:------:|:------:|
|
| 61 |
+
| No log | 1.0 | 400 | 0.0454 | 0.9931 | 0.9952 | 0.9909 | 0.9938 | 0.9962 | 0.9943 | 0.9862 |
|
| 62 |
+
| 0.0631 | 2.0 | 800 | 0.0334 | 0.9931 | 0.9952 | 0.9909 | 0.9938 | 0.9943 | 0.9962 | 0.9861 |
|
| 63 |
+
| 0.0275 | 3.0 | 1200 | 0.0422 | 0.9945 | 0.9962 | 0.9928 | 0.995 | 1.0 | 0.9924 | 0.9890 |
|
| 64 |
+
| 0.0073 | 4.0 | 1600 | 0.0504 | 0.9931 | 0.9952 | 0.9910 | 0.9938 | 1.0 | 0.9905 | 0.9863 |
|
| 65 |
+
| 0.0042 | 5.0 | 2000 | 0.0247 | 0.9972 | 0.9981 | 0.9964 | 0.9975 | 1.0 | 0.9962 | 0.9945 |
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
### Framework versions
|
| 69 |
+
|
| 70 |
+
- Transformers 4.38.2
|
| 71 |
+
- Pytorch 2.2.1+cu121
|
| 72 |
+
- Datasets 2.18.0
|
| 73 |
+
- Tokenizers 0.15.2
|