amannagrawall002
commited on
Training complete
Browse files
README.md
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: bert-base-cased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- conll2003
|
8 |
+
metrics:
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
- f1
|
12 |
+
- accuracy
|
13 |
+
model-index:
|
14 |
+
- name: bert-finetuned-ner
|
15 |
+
results:
|
16 |
+
- task:
|
17 |
+
name: Token Classification
|
18 |
+
type: token-classification
|
19 |
+
dataset:
|
20 |
+
name: conll2003
|
21 |
+
type: conll2003
|
22 |
+
config: conll2003
|
23 |
+
split: validation
|
24 |
+
args: conll2003
|
25 |
+
metrics:
|
26 |
+
- name: Precision
|
27 |
+
type: precision
|
28 |
+
value: 0.9341149273447821
|
29 |
+
- name: Recall
|
30 |
+
type: recall
|
31 |
+
value: 0.9520363513968361
|
32 |
+
- name: F1
|
33 |
+
type: f1
|
34 |
+
value: 0.9429904984164028
|
35 |
+
- name: Accuracy
|
36 |
+
type: accuracy
|
37 |
+
value: 0.9866515570730559
|
38 |
+
---
|
39 |
+
|
40 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
41 |
+
should probably proofread and complete it, then remove this comment. -->
|
42 |
+
|
43 |
+
# bert-finetuned-ner
|
44 |
+
|
45 |
+
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the conll2003 dataset.
|
46 |
+
It achieves the following results on the evaluation set:
|
47 |
+
- Loss: 0.0741
|
48 |
+
- Precision: 0.9341
|
49 |
+
- Recall: 0.9520
|
50 |
+
- F1: 0.9430
|
51 |
+
- Accuracy: 0.9867
|
52 |
+
|
53 |
+
## Model description
|
54 |
+
|
55 |
+
More information needed
|
56 |
+
|
57 |
+
## Intended uses & limitations
|
58 |
+
|
59 |
+
More information needed
|
60 |
+
|
61 |
+
## Training and evaluation data
|
62 |
+
|
63 |
+
More information needed
|
64 |
+
|
65 |
+
## Training procedure
|
66 |
+
|
67 |
+
### Training hyperparameters
|
68 |
+
|
69 |
+
The following hyperparameters were used during training:
|
70 |
+
- learning_rate: 2e-05
|
71 |
+
- train_batch_size: 8
|
72 |
+
- eval_batch_size: 8
|
73 |
+
- seed: 42
|
74 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
75 |
+
- lr_scheduler_type: linear
|
76 |
+
- num_epochs: 5
|
77 |
+
- mixed_precision_training: Native AMP
|
78 |
+
|
79 |
+
### Training results
|
80 |
+
|
81 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
82 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
83 |
+
| 0.0775 | 1.0 | 1756 | 0.0694 | 0.8912 | 0.9273 | 0.9089 | 0.9817 |
|
84 |
+
| 0.0377 | 2.0 | 3512 | 0.0707 | 0.9245 | 0.9445 | 0.9344 | 0.9850 |
|
85 |
+
| 0.0243 | 3.0 | 5268 | 0.0671 | 0.9281 | 0.9465 | 0.9372 | 0.9855 |
|
86 |
+
| 0.0145 | 4.0 | 7024 | 0.0734 | 0.9353 | 0.9507 | 0.9429 | 0.9859 |
|
87 |
+
| 0.006 | 5.0 | 8780 | 0.0741 | 0.9341 | 0.9520 | 0.9430 | 0.9867 |
|
88 |
+
|
89 |
+
|
90 |
+
### Framework versions
|
91 |
+
|
92 |
+
- Transformers 4.42.4
|
93 |
+
- Pytorch 2.3.1+cu121
|
94 |
+
- Datasets 2.20.0
|
95 |
+
- Tokenizers 0.19.1
|
runs/Aug11_18-27-22_74a6eab85830/events.out.tfevents.1723400843.74a6eab85830.246.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bf1285be8d194552975c7c6e759d4c358def9132996ff9dcd528cb117d443bb9
|
3 |
+
size 11471
|