Model save
Browse files- README.md +73 -0
- model.safetensors +1 -1
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_K2
|
| 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_K2
|
| 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.2028
|
| 22 |
+
- F1 Macro: 0.9567
|
| 23 |
+
- F1: 0.9707
|
| 24 |
+
- F1 Neg: 0.9427
|
| 25 |
+
- Acc: 0.9613
|
| 26 |
+
- Prec: 0.9607
|
| 27 |
+
- Recall: 0.9809
|
| 28 |
+
- Mcc: 0.9139
|
| 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.1666 | 0.9557 | 0.9695 | 0.9418 | 0.96 | 0.9677 | 0.9714 | 0.9114 |
|
| 62 |
+
| 0.2024 | 2.0 | 800 | 0.1859 | 0.9557 | 0.9695 | 0.9418 | 0.96 | 0.9677 | 0.9714 | 0.9114 |
|
| 63 |
+
| 0.0879 | 3.0 | 1200 | 0.2028 | 0.9567 | 0.9707 | 0.9427 | 0.9613 | 0.9607 | 0.9809 | 0.9139 |
|
| 64 |
+
| 0.0331 | 4.0 | 1600 | 0.2613 | 0.9527 | 0.9678 | 0.9375 | 0.9575 | 0.9605 | 0.9752 | 0.9055 |
|
| 65 |
+
| 0.0106 | 5.0 | 2000 | 0.2896 | 0.9545 | 0.9684 | 0.9405 | 0.9587 | 0.9712 | 0.9656 | 0.9090 |
|
| 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
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 433270768
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ae98766a02806e7a2e8f81fb074dfcf0f5f0d7b5a41ebfee7c044feefb2f6ede
|
| 3 |
size 433270768
|