Kriyans commited on
Commit
4fea786
1 Parent(s): 8a821ef

End of training

Browse files
Files changed (2) hide show
  1. README.md +22 -21
  2. pytorch_model.bin +1 -1
README.md CHANGED
@@ -1,5 +1,6 @@
1
  ---
2
  license: apache-2.0
 
3
  tags:
4
  - generated_from_trainer
5
  datasets:
@@ -10,7 +11,7 @@ metrics:
10
  - f1
11
  - accuracy
12
  model-index:
13
- - name: my_awesome_wnut_model
14
  results:
15
  - task:
16
  name: Token Classification
@@ -24,30 +25,30 @@ model-index:
24
  metrics:
25
  - name: Precision
26
  type: precision
27
- value: 1.0
28
  - name: Recall
29
  type: recall
30
- value: 1.0
31
  - name: F1
32
  type: f1
33
- value: 1.0
34
  - name: Accuracy
35
  type: accuracy
36
- value: 1.0
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
- # my_awesome_wnut_model
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.0000
47
- - Precision: 1.0
48
- - Recall: 1.0
49
- - F1: 1.0
50
- - Accuracy: 1.0
51
 
52
  ## Model description
53
 
@@ -67,8 +68,8 @@ More information needed
67
 
68
  The following hyperparameters were used during training:
69
  - learning_rate: 5e-05
70
- - train_batch_size: 32
71
- - eval_batch_size: 32
72
  - seed: 42
73
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
74
  - lr_scheduler_type: linear
@@ -78,16 +79,16 @@ The following hyperparameters were used during training:
78
 
79
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
80
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
81
- | No log | 1.0 | 344 | 0.0003 | 1.0000 | 1.0000 | 1.0000 | 1.0000 |
82
- | 0.031 | 2.0 | 688 | 0.0002 | 1.0000 | 1.0000 | 1.0000 | 1.0000 |
83
- | 0.005 | 3.0 | 1032 | 0.0000 | 1.0 | 1.0 | 1.0 | 1.0 |
84
- | 0.005 | 4.0 | 1376 | 0.0000 | 1.0 | 1.0 | 1.0 | 1.0 |
85
- | 0.001 | 5.0 | 1720 | 0.0000 | 1.0 | 1.0 | 1.0 | 1.0 |
86
 
87
 
88
  ### Framework versions
89
 
90
- - Transformers 4.30.2
91
  - Pytorch 2.0.1+cu118
92
- - Datasets 2.13.1
93
  - Tokenizers 0.13.3
 
1
  ---
2
  license: apache-2.0
3
+ base_model: distilbert-base-uncased
4
  tags:
5
  - generated_from_trainer
6
  datasets:
 
11
  - f1
12
  - accuracy
13
  model-index:
14
+ - name: Bert-NER
15
  results:
16
  - task:
17
  name: Token Classification
 
25
  metrics:
26
  - name: Precision
27
  type: precision
28
+ value: 0.7254647322919372
29
  - name: Recall
30
  type: recall
31
+ value: 0.8467001558981465
32
  - name: F1
33
  type: f1
34
+ value: 0.7814079891293488
35
  - name: Accuracy
36
  type: accuracy
37
+ value: 0.8557099199430039
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-NER
44
 
45
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the ner dataset.
46
  It achieves the following results on the evaluation set:
47
+ - Loss: 0.9081
48
+ - Precision: 0.7255
49
+ - Recall: 0.8467
50
+ - F1: 0.7814
51
+ - Accuracy: 0.8557
52
 
53
  ## Model description
54
 
 
68
 
69
  The following hyperparameters were used during training:
70
  - learning_rate: 5e-05
71
+ - train_batch_size: 16
72
+ - eval_batch_size: 16
73
  - seed: 42
74
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
75
  - lr_scheduler_type: linear
 
79
 
80
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
81
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
82
+ | 0.0934 | 1.0 | 501 | 0.6938 | 0.7190 | 0.8536 | 0.7805 | 0.8502 |
83
+ | 0.035 | 2.0 | 1002 | 0.7709 | 0.7087 | 0.8383 | 0.7681 | 0.8446 |
84
+ | 0.0196 | 3.0 | 1503 | 0.7814 | 0.7130 | 0.8439 | 0.7729 | 0.8477 |
85
+ | 0.0109 | 4.0 | 2004 | 0.8572 | 0.7206 | 0.8467 | 0.7786 | 0.8526 |
86
+ | 0.0065 | 5.0 | 2505 | 0.9081 | 0.7255 | 0.8467 | 0.7814 | 0.8557 |
87
 
88
 
89
  ### Framework versions
90
 
91
+ - Transformers 4.33.2
92
  - Pytorch 2.0.1+cu118
93
+ - Datasets 2.14.5
94
  - Tokenizers 0.13.3
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:47c6cbbcef4e5727827966da23f5f0b474e42d208033e03b061deb6f4819b587
3
  size 265501733
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be94b5571ed9a7ab7a185c38244e14322695fefa936fd67e67840d5fc5a65692
3
  size 265501733