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_K3
|
| 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_K3
|
| 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.0108
|
| 22 |
+
- F1 Macro: 0.9945
|
| 23 |
+
- F1: 0.9962
|
| 24 |
+
- F1 Neg: 0.9928
|
| 25 |
+
- Acc: 0.995
|
| 26 |
+
- Prec: 0.9981
|
| 27 |
+
- Recall: 0.9943
|
| 28 |
+
- Mcc: 0.9890
|
| 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.0460 | 0.9861 | 0.9905 | 0.9818 | 0.9875 | 0.9867 | 0.9943 | 0.9723 |
|
| 62 |
+
| 0.112 | 2.0 | 800 | 0.0108 | 0.9945 | 0.9962 | 0.9928 | 0.995 | 0.9981 | 0.9943 | 0.9890 |
|
| 63 |
+
| 0.0513 | 3.0 | 1200 | 0.0271 | 0.9931 | 0.9952 | 0.9910 | 0.9938 | 0.9962 | 0.9943 | 0.9862 |
|
| 64 |
+
| 0.0162 | 4.0 | 1600 | 0.0217 | 0.9945 | 0.9962 | 0.9928 | 0.995 | 0.9962 | 0.9962 | 0.9889 |
|
| 65 |
+
| 0.0142 | 5.0 | 2000 | 0.0369 | 0.9889 | 0.9924 | 0.9854 | 0.99 | 0.9886 | 0.9962 | 0.9779 |
|
| 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:19e25298bcb3ae74c7cfe72467e88fdc087c462f43d45b96ea8fa5f3708ad14d
|
| 3 |
size 433270768
|