jaggernaut007 commited on
Commit
5bcee38
·
verified ·
1 Parent(s): 52cc980

End of training

Browse files
Files changed (4) hide show
  1. README.md +38 -5
  2. config.json +8 -18
  3. model.safetensors +2 -2
  4. training_args.bin +1 -1
README.md CHANGED
@@ -3,6 +3,11 @@ license: mit
3
  base_model: dslim/bert-base-NER
4
  tags:
5
  - generated_from_trainer
 
 
 
 
 
6
  model-index:
7
  - name: bert-base-NER-finetuned-ner
8
  results: []
@@ -14,6 +19,12 @@ should probably proofread and complete it, then remove this comment. -->
14
  # bert-base-NER-finetuned-ner
15
 
16
  This model is a fine-tuned version of [dslim/bert-base-NER](https://huggingface.co/dslim/bert-base-NER) on an unknown dataset.
 
 
 
 
 
 
17
 
18
  ## Model description
19
 
@@ -32,16 +43,38 @@ More information needed
32
  ### Training hyperparameters
33
 
34
  The following hyperparameters were used during training:
35
- - learning_rate: 2e-05
36
  - train_batch_size: 4
37
  - eval_batch_size: 4
38
  - seed: 42
39
- - gradient_accumulation_steps: 4
40
- - total_train_batch_size: 16
41
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
  - lr_scheduler_type: linear
43
- - num_epochs: 5
44
- - mixed_precision_training: Native AMP
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
 
46
  ### Framework versions
47
 
 
3
  base_model: dslim/bert-base-NER
4
  tags:
5
  - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
  model-index:
12
  - name: bert-base-NER-finetuned-ner
13
  results: []
 
19
  # bert-base-NER-finetuned-ner
20
 
21
  This model is a fine-tuned version of [dslim/bert-base-NER](https://huggingface.co/dslim/bert-base-NER) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.2391
24
+ - Precision: 0.9245
25
+ - Recall: 0.9186
26
+ - F1: 0.9216
27
+ - Accuracy: 0.9168
28
 
29
  ## Model description
30
 
 
43
  ### Training hyperparameters
44
 
45
  The following hyperparameters were used during training:
46
+ - learning_rate: 2e-06
47
  - train_batch_size: 4
48
  - eval_batch_size: 4
49
  - seed: 42
 
 
50
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
  - lr_scheduler_type: linear
52
+ - num_epochs: 10
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | No log | 0.37 | 100 | 0.5115 | 0.8204 | 0.8719 | 0.8454 | 0.8200 |
59
+ | No log | 0.75 | 200 | 0.3808 | 0.8684 | 0.8766 | 0.8725 | 0.8600 |
60
+ | No log | 1.12 | 300 | 0.3315 | 0.8900 | 0.8865 | 0.8882 | 0.8799 |
61
+ | No log | 1.49 | 400 | 0.3069 | 0.9036 | 0.8917 | 0.8976 | 0.8921 |
62
+ | 0.5306 | 1.87 | 500 | 0.2908 | 0.9066 | 0.8978 | 0.9022 | 0.8980 |
63
+ | 0.5306 | 2.24 | 600 | 0.2783 | 0.9114 | 0.9061 | 0.9087 | 0.9048 |
64
+ | 0.5306 | 2.61 | 700 | 0.2729 | 0.9151 | 0.9123 | 0.9137 | 0.9096 |
65
+ | 0.5306 | 2.99 | 800 | 0.2628 | 0.9157 | 0.9086 | 0.9121 | 0.9077 |
66
+ | 0.5306 | 3.36 | 900 | 0.2600 | 0.9207 | 0.9123 | 0.9165 | 0.9107 |
67
+ | 0.3037 | 3.73 | 1000 | 0.2539 | 0.9188 | 0.9134 | 0.9161 | 0.9110 |
68
+ | 0.3037 | 4.1 | 1100 | 0.2488 | 0.9229 | 0.9178 | 0.9203 | 0.9148 |
69
+ | 0.3037 | 4.48 | 1200 | 0.2449 | 0.9225 | 0.9170 | 0.9198 | 0.9146 |
70
+ | 0.3037 | 4.85 | 1300 | 0.2466 | 0.9230 | 0.9177 | 0.9203 | 0.9155 |
71
+ | 0.3037 | 5.22 | 1400 | 0.2415 | 0.9229 | 0.9188 | 0.9208 | 0.9161 |
72
+ | 0.2668 | 5.6 | 1500 | 0.2413 | 0.9237 | 0.9189 | 0.9213 | 0.9164 |
73
+ | 0.2668 | 5.97 | 1600 | 0.2391 | 0.9245 | 0.9186 | 0.9216 | 0.9168 |
74
+ | 0.2668 | 6.34 | 1700 | 0.2399 | 0.9245 | 0.9178 | 0.9211 | 0.9162 |
75
+ | 0.2668 | 6.72 | 1800 | 0.2369 | 0.9239 | 0.9181 | 0.9210 | 0.9164 |
76
+ | 0.2668 | 7.09 | 1900 | 0.2390 | 0.9239 | 0.9183 | 0.9211 | 0.9164 |
77
+
78
 
79
  ### Framework versions
80
 
config.json CHANGED
@@ -10,28 +10,18 @@
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
- "0": "O",
14
- "1": "B-MISC",
15
- "2": "I-MISC",
16
- "3": "B-PER",
17
- "4": "I-PER",
18
- "5": "B-ORG",
19
- "6": "I-ORG",
20
- "7": "B-LOC",
21
- "8": "I-LOC"
22
  },
23
  "initializer_range": 0.02,
24
  "intermediate_size": 3072,
25
  "label2id": {
26
- "B-LOC": 7,
27
- "B-MISC": 1,
28
- "B-ORG": 5,
29
- "B-PER": 3,
30
- "I-LOC": 8,
31
- "I-MISC": 2,
32
- "I-ORG": 6,
33
- "I-PER": 4,
34
- "O": 0
35
  },
36
  "layer_norm_eps": 1e-12,
37
  "max_position_embeddings": 512,
 
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2",
16
+ "3": "LABEL_3"
 
 
 
 
 
17
  },
18
  "initializer_range": 0.02,
19
  "intermediate_size": 3072,
20
  "label2id": {
21
+ "LABEL_0": 0,
22
+ "LABEL_1": 1,
23
+ "LABEL_2": 2,
24
+ "LABEL_3": 3
 
 
 
 
 
25
  },
26
  "layer_norm_eps": 1e-12,
27
  "max_position_embeddings": 512,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2dd88b8e7c886a2a5ea8256b5437abca02bf43fc29ffd4c01f8f4afc2187d62f
3
- size 430929740
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8e81e03e162055c8ad832fab5bbb62e9e15278d0704ddc2f85010884e2c2af4
3
+ size 430914264
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:88341f584804370faac7368449ebd73697f8116ec22eb7e1723c9f70624b0556
3
  size 4920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b374452e563f867ad60eb63c81ece749281086ae3792189fdcaf5cac4d1b89e
3
  size 4920