update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
datasets:
|
5 |
+
- wikiann
|
6 |
+
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: BERTreach-finetuned-ner
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Token Classification
|
16 |
+
type: token-classification
|
17 |
+
dataset:
|
18 |
+
name: wikiann
|
19 |
+
type: wikiann
|
20 |
+
args: ga
|
21 |
+
metrics:
|
22 |
+
- name: Precision
|
23 |
+
type: precision
|
24 |
+
value: 0.5200517464424321
|
25 |
+
- name: Recall
|
26 |
+
type: recall
|
27 |
+
value: 0.5667293233082706
|
28 |
+
- name: F1
|
29 |
+
type: f1
|
30 |
+
value: 0.5423881268270744
|
31 |
+
- name: Accuracy
|
32 |
+
type: accuracy
|
33 |
+
value: 0.8365605828220859
|
34 |
+
---
|
35 |
+
|
36 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
37 |
+
should probably proofread and complete it, then remove this comment. -->
|
38 |
+
|
39 |
+
# BERTreach-finetuned-ner
|
40 |
+
|
41 |
+
This model is a fine-tuned version of [jimregan/BERTreach](https://huggingface.co/jimregan/BERTreach) on the wikiann dataset.
|
42 |
+
It achieves the following results on the evaluation set:
|
43 |
+
- Loss: 0.4944
|
44 |
+
- Precision: 0.5201
|
45 |
+
- Recall: 0.5667
|
46 |
+
- F1: 0.5424
|
47 |
+
- Accuracy: 0.8366
|
48 |
+
|
49 |
+
## Model description
|
50 |
+
|
51 |
+
More information needed
|
52 |
+
|
53 |
+
## Intended uses & limitations
|
54 |
+
|
55 |
+
More information needed
|
56 |
+
|
57 |
+
## Training and evaluation data
|
58 |
+
|
59 |
+
More information needed
|
60 |
+
|
61 |
+
## Training procedure
|
62 |
+
|
63 |
+
### Training hyperparameters
|
64 |
+
|
65 |
+
The following hyperparameters were used during training:
|
66 |
+
- learning_rate: 2e-05
|
67 |
+
- train_batch_size: 16
|
68 |
+
- eval_batch_size: 16
|
69 |
+
- seed: 42
|
70 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
71 |
+
- lr_scheduler_type: linear
|
72 |
+
- num_epochs: 5
|
73 |
+
|
74 |
+
### Training results
|
75 |
+
|
76 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
77 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
78 |
+
| No log | 1.0 | 63 | 0.7249 | 0.3645 | 0.3905 | 0.3770 | 0.7584 |
|
79 |
+
| No log | 2.0 | 126 | 0.5850 | 0.4529 | 0.4948 | 0.4729 | 0.8072 |
|
80 |
+
| No log | 3.0 | 189 | 0.5192 | 0.4949 | 0.5456 | 0.5190 | 0.8288 |
|
81 |
+
| No log | 4.0 | 252 | 0.5042 | 0.5208 | 0.5592 | 0.5393 | 0.8348 |
|
82 |
+
| No log | 5.0 | 315 | 0.4944 | 0.5201 | 0.5667 | 0.5424 | 0.8366 |
|
83 |
+
|
84 |
+
|
85 |
+
### Framework versions
|
86 |
+
|
87 |
+
- Transformers 4.12.5
|
88 |
+
- Pytorch 1.10.0+cu111
|
89 |
+
- Datasets 1.16.1
|
90 |
+
- Tokenizers 0.10.3
|