graphcore-rahult
commited on
Commit
•
1e9c599
1
Parent(s):
278b901
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-base-uncased-finetuned-ner
|
14 |
+
results: []
|
15 |
+
---
|
16 |
+
|
17 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
18 |
+
should probably proofread and complete it, then remove this comment. -->
|
19 |
+
|
20 |
+
# bert-base-uncased-finetuned-ner
|
21 |
+
|
22 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the conll2003 dataset.
|
23 |
+
It achieves the following results on the evaluation set:
|
24 |
+
- Loss: 0.0616
|
25 |
+
- Precision: 0.9217
|
26 |
+
- Recall: 0.9375
|
27 |
+
- F1: 0.9295
|
28 |
+
- Accuracy: 0.9837
|
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: 1
|
49 |
+
- eval_batch_size: 1
|
50 |
+
- seed: 42
|
51 |
+
- distributed_type: IPU
|
52 |
+
- gradient_accumulation_steps: 16
|
53 |
+
- total_train_batch_size: 16
|
54 |
+
- total_eval_batch_size: 5
|
55 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
56 |
+
- lr_scheduler_type: linear
|
57 |
+
- num_epochs: 3
|
58 |
+
- training precision: Mixed Precision
|
59 |
+
|
60 |
+
### Training results
|
61 |
+
|
62 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
63 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
64 |
+
| 0.0813 | 1.0 | 877 | 0.0659 | 0.9113 | 0.9206 | 0.9159 | 0.9812 |
|
65 |
+
| 0.0567 | 2.0 | 1754 | 0.0635 | 0.9194 | 0.9351 | 0.9272 | 0.9828 |
|
66 |
+
| 0.0151 | 3.0 | 2631 | 0.0616 | 0.9217 | 0.9375 | 0.9295 | 0.9837 |
|
67 |
+
|
68 |
+
|
69 |
+
### Framework versions
|
70 |
+
|
71 |
+
- Transformers 4.20.1
|
72 |
+
- Pytorch 1.10.0+cpu
|
73 |
+
- Datasets 2.7.1
|
74 |
+
- Tokenizers 0.12.1
|