Sharpaxis commited on
Commit
01c65f7
·
verified ·
1 Parent(s): ec3da7f

End of training

Browse files
Files changed (3) hide show
  1. README.md +8 -8
  2. config.json +5 -5
  3. model.safetensors +2 -2
README.md CHANGED
@@ -1,7 +1,7 @@
1
  ---
2
  library_name: transformers
3
  license: apache-2.0
4
- base_model: bert-base-uncased
5
  tags:
6
  - generated_from_trainer
7
  datasets:
@@ -23,7 +23,7 @@ model-index:
23
  metrics:
24
  - name: F1
25
  type: f1
26
- value: 0.903734876380852
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -31,10 +31,10 @@ should probably proofread and complete it, then remove this comment. -->
31
 
32
  # BERT-NER-CoNLL
33
 
34
- This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the conll2003 dataset.
35
  It achieves the following results on the evaluation set:
36
- - Loss: 0.1199
37
- - F1: 0.9037
38
 
39
  ## Model description
40
 
@@ -65,9 +65,9 @@ The following hyperparameters were used during training:
65
 
66
  | Training Loss | Epoch | Step | Validation Loss | F1 |
67
  |:-------------:|:-----:|:----:|:---------------:|:------:|
68
- | 0.1298 | 1.0 | 878 | 0.1098 | 0.8849 |
69
- | 0.0355 | 2.0 | 1756 | 0.1139 | 0.9012 |
70
- | 0.0202 | 3.0 | 2634 | 0.1199 | 0.9037 |
71
 
72
 
73
  ### Framework versions
 
1
  ---
2
  library_name: transformers
3
  license: apache-2.0
4
+ base_model: bert-large-uncased
5
  tags:
6
  - generated_from_trainer
7
  datasets:
 
23
  metrics:
24
  - name: F1
25
  type: f1
26
+ value: 0.9105776839883936
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
31
 
32
  # BERT-NER-CoNLL
33
 
34
+ This model is a fine-tuned version of [bert-large-uncased](https://huggingface.co/bert-large-uncased) on the conll2003 dataset.
35
  It achieves the following results on the evaluation set:
36
+ - Loss: 0.1243
37
+ - F1: 0.9106
38
 
39
  ## Model description
40
 
 
65
 
66
  | Training Loss | Epoch | Step | Validation Loss | F1 |
67
  |:-------------:|:-----:|:----:|:---------------:|:------:|
68
+ | 0.115 | 1.0 | 878 | 0.1003 | 0.8983 |
69
+ | 0.0276 | 2.0 | 1756 | 0.1157 | 0.9081 |
70
+ | 0.0128 | 3.0 | 2634 | 0.1243 | 0.9106 |
71
 
72
 
73
  ### Framework versions
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "bert-base-uncased",
3
  "architectures": [
4
  "BertForTokenClassification"
5
  ],
@@ -8,7 +8,7 @@
8
  "gradient_checkpointing": false,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
- "hidden_size": 768,
12
  "id2label": {
13
  "0": "O",
14
  "1": "B-PER",
@@ -21,7 +21,7 @@
21
  "8": "I-MISC"
22
  },
23
  "initializer_range": 0.02,
24
- "intermediate_size": 3072,
25
  "label2id": {
26
  "B-LOC": 5,
27
  "B-MISC": 7,
@@ -36,8 +36,8 @@
36
  "layer_norm_eps": 1e-12,
37
  "max_position_embeddings": 512,
38
  "model_type": "bert",
39
- "num_attention_heads": 12,
40
- "num_hidden_layers": 12,
41
  "pad_token_id": 0,
42
  "position_embedding_type": "absolute",
43
  "torch_dtype": "float32",
 
1
  {
2
+ "_name_or_path": "bert-large-uncased",
3
  "architectures": [
4
  "BertForTokenClassification"
5
  ],
 
8
  "gradient_checkpointing": false,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 1024,
12
  "id2label": {
13
  "0": "O",
14
  "1": "B-PER",
 
21
  "8": "I-MISC"
22
  },
23
  "initializer_range": 0.02,
24
+ "intermediate_size": 4096,
25
  "label2id": {
26
  "B-LOC": 5,
27
  "B-MISC": 7,
 
36
  "layer_norm_eps": 1e-12,
37
  "max_position_embeddings": 512,
38
  "model_type": "bert",
39
+ "num_attention_heads": 16,
40
+ "num_hidden_layers": 24,
41
  "pad_token_id": 0,
42
  "position_embedding_type": "absolute",
43
  "torch_dtype": "float32",
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:93adbba002de4da818263e110638eae20bfcc998bc12c7f3874dcaddcd71594d
3
- size 435617620
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f1aa56528ed4b4845a575d24806836ace270e86df537b76bb0e8677ae5724af
3
+ size 1336452868