Model save
Browse files
README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|
| 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
|
| 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.3742
|
| 22 |
+
- F1 Macro: 0.8982
|
| 23 |
+
- F1: 0.9328
|
| 24 |
+
- F1 Neg: 0.8636
|
| 25 |
+
- Acc: 0.91
|
| 26 |
+
- Prec: 0.9363
|
| 27 |
+
- Recall: 0.9294
|
| 28 |
+
- Mcc: 0.7965
|
| 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: 3
|
| 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.4954 | 0.7896 | 0.8759 | 0.7034 | 0.825 | 0.8019 | 0.9648 | 0.6173 |
|
| 62 |
+
| 0.4294 | 2.0 | 800 | 0.4126 | 0.8709 | 0.9135 | 0.8284 | 0.885 | 0.8804 | 0.9492 | 0.7473 |
|
| 63 |
+
| 0.2622 | 3.0 | 1200 | 0.4557 | 0.8779 | 0.9163 | 0.8394 | 0.89 | 0.8926 | 0.9414 | 0.7584 |
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
### Framework versions
|
| 67 |
+
|
| 68 |
+
- Transformers 4.38.2
|
| 69 |
+
- Pytorch 2.2.1+cu121
|
| 70 |
+
- Datasets 2.18.0
|
| 71 |
+
- Tokenizers 0.15.2
|