update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- conll2003
|
7 |
+
metrics:
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
- accuracy
|
12 |
+
model-index:
|
13 |
+
- name: bert-cased-ner-fcit499
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
name: Token Classification
|
17 |
+
type: token-classification
|
18 |
+
dataset:
|
19 |
+
name: conll2003
|
20 |
+
type: conll2003
|
21 |
+
config: conll2003
|
22 |
+
split: train
|
23 |
+
args: conll2003
|
24 |
+
metrics:
|
25 |
+
- name: Precision
|
26 |
+
type: precision
|
27 |
+
value: 0.9417409184372858
|
28 |
+
- name: Recall
|
29 |
+
type: recall
|
30 |
+
value: 0.950207468879668
|
31 |
+
- name: F1
|
32 |
+
type: f1
|
33 |
+
value: 0.9459552495697073
|
34 |
+
- name: Accuracy
|
35 |
+
type: accuracy
|
36 |
+
value: 0.9905416329830234
|
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 |
+
# bert-cased-ner-fcit499
|
43 |
+
|
44 |
+
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the conll2003 dataset.
|
45 |
+
It achieves the following results on the evaluation set:
|
46 |
+
- Loss: 0.0404
|
47 |
+
- Precision: 0.9417
|
48 |
+
- Recall: 0.9502
|
49 |
+
- F1: 0.9460
|
50 |
+
- Accuracy: 0.9905
|
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: 2e-05
|
70 |
+
- train_batch_size: 64
|
71 |
+
- eval_batch_size: 64
|
72 |
+
- seed: 42
|
73 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
74 |
+
- lr_scheduler_type: linear
|
75 |
+
- num_epochs: 5
|
76 |
+
|
77 |
+
### Training results
|
78 |
+
|
79 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
80 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
81 |
+
| No log | 1.0 | 157 | 0.0578 | 0.8782 | 0.8976 | 0.8878 | 0.9825 |
|
82 |
+
| No log | 2.0 | 314 | 0.0425 | 0.9317 | 0.9343 | 0.9330 | 0.9885 |
|
83 |
+
| No log | 3.0 | 471 | 0.0391 | 0.9381 | 0.9433 | 0.9407 | 0.9897 |
|
84 |
+
| 0.1097 | 4.0 | 628 | 0.0397 | 0.9377 | 0.9467 | 0.9422 | 0.9900 |
|
85 |
+
| 0.1097 | 5.0 | 785 | 0.0404 | 0.9417 | 0.9502 | 0.9460 | 0.9905 |
|
86 |
+
|
87 |
+
|
88 |
+
### Framework versions
|
89 |
+
|
90 |
+
- Transformers 4.24.0
|
91 |
+
- Pytorch 1.12.1+cu113
|
92 |
+
- Datasets 2.6.1
|
93 |
+
- Tokenizers 0.13.2
|