update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
datasets:
|
| 6 |
+
- ner
|
| 7 |
+
metrics:
|
| 8 |
+
- precision
|
| 9 |
+
- recall
|
| 10 |
+
- f1
|
| 11 |
+
- accuracy
|
| 12 |
+
model-index:
|
| 13 |
+
- name: test4
|
| 14 |
+
results:
|
| 15 |
+
- task:
|
| 16 |
+
name: Token Classification
|
| 17 |
+
type: token-classification
|
| 18 |
+
dataset:
|
| 19 |
+
name: ner
|
| 20 |
+
type: ner
|
| 21 |
+
config: default
|
| 22 |
+
split: train
|
| 23 |
+
args: default
|
| 24 |
+
metrics:
|
| 25 |
+
- name: Precision
|
| 26 |
+
type: precision
|
| 27 |
+
value: 0.594855305466238
|
| 28 |
+
- name: Recall
|
| 29 |
+
type: recall
|
| 30 |
+
value: 0.6423611111111112
|
| 31 |
+
- name: F1
|
| 32 |
+
type: f1
|
| 33 |
+
value: 0.6176961602671119
|
| 34 |
+
- name: Accuracy
|
| 35 |
+
type: accuracy
|
| 36 |
+
value: 0.9579571605593911
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 40 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 41 |
+
|
| 42 |
+
# test4
|
| 43 |
+
|
| 44 |
+
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the ner dataset.
|
| 45 |
+
It achieves the following results on the evaluation set:
|
| 46 |
+
- Loss: 0.3100
|
| 47 |
+
- Precision: 0.5949
|
| 48 |
+
- Recall: 0.6424
|
| 49 |
+
- F1: 0.6177
|
| 50 |
+
- Accuracy: 0.9580
|
| 51 |
+
|
| 52 |
+
## Model description
|
| 53 |
+
|
| 54 |
+
More information needed
|
| 55 |
+
|
| 56 |
+
## Intended uses & limitations
|
| 57 |
+
|
| 58 |
+
More information needed
|
| 59 |
+
|
| 60 |
+
## Training and evaluation data
|
| 61 |
+
|
| 62 |
+
More information needed
|
| 63 |
+
|
| 64 |
+
## Training procedure
|
| 65 |
+
|
| 66 |
+
### Training hyperparameters
|
| 67 |
+
|
| 68 |
+
The following hyperparameters were used during training:
|
| 69 |
+
- learning_rate: 1e-05
|
| 70 |
+
- train_batch_size: 8
|
| 71 |
+
- eval_batch_size: 8
|
| 72 |
+
- seed: 42
|
| 73 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 74 |
+
- lr_scheduler_type: linear
|
| 75 |
+
- num_epochs: 20
|
| 76 |
+
|
| 77 |
+
### Training results
|
| 78 |
+
|
| 79 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 80 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 81 |
+
| No log | 1.0 | 418 | 0.2052 | 0.2415 | 0.2465 | 0.2440 | 0.9423 |
|
| 82 |
+
| 0.3341 | 2.0 | 836 | 0.1816 | 0.4286 | 0.4792 | 0.4525 | 0.9513 |
|
| 83 |
+
| 0.1296 | 3.0 | 1254 | 0.2039 | 0.4589 | 0.5035 | 0.4801 | 0.9526 |
|
| 84 |
+
| 0.0727 | 4.0 | 1672 | 0.2130 | 0.5237 | 0.5764 | 0.5488 | 0.9566 |
|
| 85 |
+
| 0.0553 | 5.0 | 2090 | 0.2290 | 0.5171 | 0.5764 | 0.5452 | 0.9551 |
|
| 86 |
+
| 0.0412 | 6.0 | 2508 | 0.2351 | 0.5390 | 0.5521 | 0.5455 | 0.9555 |
|
| 87 |
+
| 0.0412 | 7.0 | 2926 | 0.2431 | 0.5280 | 0.5903 | 0.5574 | 0.9542 |
|
| 88 |
+
| 0.0321 | 8.0 | 3344 | 0.2490 | 0.5825 | 0.625 | 0.6030 | 0.9570 |
|
| 89 |
+
| 0.0249 | 9.0 | 3762 | 0.2679 | 0.5764 | 0.5764 | 0.5764 | 0.9573 |
|
| 90 |
+
| 0.0192 | 10.0 | 4180 | 0.2574 | 0.5506 | 0.6042 | 0.5762 | 0.9558 |
|
| 91 |
+
| 0.0206 | 11.0 | 4598 | 0.2857 | 0.5498 | 0.5938 | 0.5710 | 0.9559 |
|
| 92 |
+
| 0.0147 | 12.0 | 5016 | 0.2638 | 0.5548 | 0.5972 | 0.5753 | 0.9550 |
|
| 93 |
+
| 0.0147 | 13.0 | 5434 | 0.2771 | 0.5677 | 0.5972 | 0.5821 | 0.9577 |
|
| 94 |
+
| 0.0129 | 14.0 | 5852 | 0.3016 | 0.5761 | 0.6181 | 0.5963 | 0.9549 |
|
| 95 |
+
| 0.0118 | 15.0 | 6270 | 0.3055 | 0.5587 | 0.6111 | 0.5837 | 0.9570 |
|
| 96 |
+
| 0.0099 | 16.0 | 6688 | 0.2937 | 0.5682 | 0.6076 | 0.5872 | 0.9564 |
|
| 97 |
+
| 0.0099 | 17.0 | 7106 | 0.3075 | 0.5313 | 0.6181 | 0.5714 | 0.9531 |
|
| 98 |
+
| 0.0085 | 18.0 | 7524 | 0.3079 | 0.6026 | 0.6424 | 0.6218 | 0.9580 |
|
| 99 |
+
| 0.0085 | 19.0 | 7942 | 0.3082 | 0.5833 | 0.6319 | 0.6067 | 0.9572 |
|
| 100 |
+
| 0.0074 | 20.0 | 8360 | 0.3100 | 0.5949 | 0.6424 | 0.6177 | 0.9580 |
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
### Framework versions
|
| 104 |
+
|
| 105 |
+
- Transformers 4.23.1
|
| 106 |
+
- Pytorch 1.12.1+cu113
|
| 107 |
+
- Datasets 2.6.1
|
| 108 |
+
- Tokenizers 0.13.1
|