izaitova commited on
Commit
28c3274
·
verified ·
1 Parent(s): 87e4e95

End of training

Browse files
Files changed (4) hide show
  1. README.md +75 -0
  2. config.json +50 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-large-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: bert-large-cased_ner
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # bert-large-cased_ner
20
+
21
+ This model is a fine-tuned version of [bert-large-cased](https://huggingface.co/bert-large-cased) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.6758
24
+ - Precision: 0.8709
25
+ - Recall: 0.8781
26
+ - F1: 0.8737
27
+ - Accuracy: 0.9135
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 5e-05
47
+ - train_batch_size: 16
48
+ - eval_batch_size: 8
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 | 1.0 | 438 | 0.3035 | 0.8701 | 0.8816 | 0.8748 | 0.9096 |
59
+ | 0.4531 | 2.0 | 876 | 0.3008 | 0.8820 | 0.8839 | 0.8819 | 0.9197 |
60
+ | 0.2183 | 3.0 | 1314 | 0.4003 | 0.8706 | 0.8759 | 0.8715 | 0.9119 |
61
+ | 0.1254 | 4.0 | 1752 | 0.3581 | 0.8843 | 0.8912 | 0.8870 | 0.9219 |
62
+ | 0.0704 | 5.0 | 2190 | 0.4627 | 0.8668 | 0.8683 | 0.8669 | 0.9092 |
63
+ | 0.0408 | 6.0 | 2628 | 0.5183 | 0.8703 | 0.8783 | 0.8737 | 0.9144 |
64
+ | 0.0264 | 7.0 | 3066 | 0.6201 | 0.8705 | 0.8784 | 0.8738 | 0.9122 |
65
+ | 0.0092 | 8.0 | 3504 | 0.6004 | 0.8673 | 0.8766 | 0.8712 | 0.9113 |
66
+ | 0.0092 | 9.0 | 3942 | 0.6578 | 0.8716 | 0.8782 | 0.8744 | 0.9133 |
67
+ | 0.004 | 10.0 | 4380 | 0.6758 | 0.8709 | 0.8781 | 0.8737 | 0.9135 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.42.4
73
+ - Pytorch 2.3.1+cu121
74
+ - Datasets 2.20.0
75
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-large-cased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 1024,
13
+ "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2",
17
+ "3": "LABEL_3",
18
+ "4": "LABEL_4",
19
+ "5": "LABEL_5",
20
+ "6": "LABEL_6"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 4096,
24
+ "label2id": {
25
+ "LABEL_0": 0,
26
+ "LABEL_1": 1,
27
+ "LABEL_2": 2,
28
+ "LABEL_3": 3,
29
+ "LABEL_4": 4,
30
+ "LABEL_5": 5,
31
+ "LABEL_6": 6
32
+ },
33
+ "layer_norm_eps": 1e-12,
34
+ "max_position_embeddings": 512,
35
+ "model_type": "bert",
36
+ "num_attention_heads": 16,
37
+ "num_hidden_layers": 24,
38
+ "pad_token_id": 0,
39
+ "pooler_fc_size": 768,
40
+ "pooler_num_attention_heads": 12,
41
+ "pooler_num_fc_layers": 3,
42
+ "pooler_size_per_head": 128,
43
+ "pooler_type": "first_token_transform",
44
+ "position_embedding_type": "absolute",
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.42.4",
47
+ "type_vocab_size": 2,
48
+ "use_cache": true,
49
+ "vocab_size": 28996
50
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:277f3e4767b7f71b4a155e7486f850ae2916a9f0ac2f672a19aadc16bc02c11a
3
+ size 1330194164
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b80fdffd4dfd34604a54dd9efc9f098ca26c86a3ddb14b0c3e5db0ffcb06426d
3
+ size 5112