monkeyerKong commited on
Commit
f86abcb
·
verified ·
1 Parent(s): c1e0e27

Training finish!

Browse files
README.md CHANGED
@@ -3,6 +3,8 @@ license: apache-2.0
3
  base_model: bert-base-cased
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - precision
8
  - recall
@@ -10,7 +12,29 @@ metrics:
10
  - accuracy
11
  model-index:
12
  - name: bert-finetuned-ner
13
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  ---
15
 
16
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -18,13 +42,13 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  # bert-finetuned-ner
20
 
21
- This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
22
  It achieves the following results on the evaluation set:
23
- - Loss: 0.0719
24
- - Precision: 0.8805
25
- - Recall: 0.9236
26
- - F1: 0.9015
27
- - Accuracy: 0.9807
28
 
29
  ## Model description
30
 
@@ -44,8 +68,8 @@ More information needed
44
 
45
  The following hyperparameters were used during training:
46
  - learning_rate: 2e-05
47
- - train_batch_size: 16
48
- - eval_batch_size: 16
49
  - seed: 42
50
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
  - lr_scheduler_type: linear
@@ -55,12 +79,12 @@ The following hyperparameters were used during training:
55
 
56
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
- | 0.2227 | 1.0 | 878 | 0.0719 | 0.8805 | 0.9236 | 0.9015 | 0.9807 |
59
 
60
 
61
  ### Framework versions
62
 
63
- - Transformers 4.36.2
64
- - Pytorch 2.1.2+cu121
65
  - Datasets 2.16.1
66
  - Tokenizers 0.15.0
 
3
  base_model: bert-base-cased
4
  tags:
5
  - generated_from_trainer
6
+ datasets:
7
+ - conll2003
8
  metrics:
9
  - precision
10
  - recall
 
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.9125862635557016
29
+ - name: Recall
30
+ type: recall
31
+ value: 0.9347021204981488
32
+ - name: F1
33
+ type: f1
34
+ value: 0.9235118057864983
35
+ - name: Accuracy
36
+ type: accuracy
37
+ value: 0.9822658503561547
38
  ---
39
 
40
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
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.0660
48
+ - Precision: 0.9126
49
+ - Recall: 0.9347
50
+ - F1: 0.9235
51
+ - Accuracy: 0.9823
52
 
53
  ## Model description
54
 
 
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
 
79
 
80
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
81
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
82
+ | 0.0756 | 1.0 | 1756 | 0.0660 | 0.9126 | 0.9347 | 0.9235 | 0.9823 |
83
 
84
 
85
  ### Framework versions
86
 
87
+ - Transformers 4.35.2
88
+ - Pytorch 2.1.0
89
  - Datasets 2.16.1
90
  - Tokenizers 0.15.0
config.json CHANGED
@@ -41,7 +41,7 @@
41
  "pad_token_id": 0,
42
  "position_embedding_type": "absolute",
43
  "torch_dtype": "float32",
44
- "transformers_version": "4.36.2",
45
  "type_vocab_size": 2,
46
  "use_cache": true,
47
  "vocab_size": 28996
 
41
  "pad_token_id": 0,
42
  "position_embedding_type": "absolute",
43
  "torch_dtype": "float32",
44
+ "transformers_version": "4.35.2",
45
  "type_vocab_size": 2,
46
  "use_cache": true,
47
  "vocab_size": 28996
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dc52f19f4c4bbb139c36ac827da4a4d4a9f754c9b6b69fe169a89066b1871a51
3
  size 430929740
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9353dc0807b4eeca78c57d65a72fb067abea2850b2540a8c9d84a54c8c3d1ff7
3
  size 430929740
runs/Jan19_15-02-42_maxdeMac-mini.local/events.out.tfevents.1705647792.maxdeMac-mini.local.17782.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d466085759c58200c911b749c687540176c052f62491614f6a1ce14b385fd7c4
3
+ size 5851
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b9da0edecee1ee6a7806a913c97405362b3b2ddcec93237dff50ec0b265d073a
3
- size 4728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e44a62484f2d574ce610fc15ec39dc47c8712be3977da774ee77e87bc5f7f205
3
+ size 4600