yemen2016 commited on
Commit
0e9061f
·
verified ·
1 Parent(s): 08b72f3

End of training

Browse files
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: cc-by-4.0
4
+ base_model: NbAiLab/nb-bert-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: nbbert
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # nbbert
21
+
22
+ This model is a fine-tuned version of [NbAiLab/nb-bert-base](https://huggingface.co/NbAiLab/nb-bert-base) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Accuracy: 0.9305
25
+ - Precision: 0.9342
26
+ - Recall: 0.9305
27
+ - F1: 0.9305
28
+ - Loss: 0.4443
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 5e-05
48
+ - train_batch_size: 4
49
+ - eval_batch_size: 4
50
+ - seed: 42
51
+ - gradient_accumulation_steps: 2
52
+ - total_train_batch_size: 8
53
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
54
+ - lr_scheduler_type: linear
55
+ - num_epochs: 20
56
+ - mixed_precision_training: Native AMP
57
+
58
+ ### Training results
59
+
60
+ | Training Loss | Epoch | Step | Accuracy | Precision | Recall | F1 | Validation Loss |
61
+ |:-------------:|:-------:|:----:|:--------:|:---------:|:------:|:------:|:---------------:|
62
+ | No log | 0.9412 | 8 | 0.4361 | 0.6823 | 0.4361 | 0.3171 | 0.8924 |
63
+ | No log | 2.0 | 17 | 0.8851 | 0.8758 | 0.8851 | 0.8748 | 0.4652 |
64
+ | No log | 2.9412 | 25 | 0.8281 | 0.8333 | 0.8281 | 0.8204 | 0.5819 |
65
+ | No log | 4.0 | 34 | 0.8759 | 0.8922 | 0.8759 | 0.8749 | 0.4312 |
66
+ | No log | 4.9412 | 42 | 0.8550 | 0.8762 | 0.8550 | 0.8548 | 0.5312 |
67
+ | No log | 6.0 | 51 | 0.8944 | 0.8940 | 0.8944 | 0.8941 | 0.3318 |
68
+ | No log | 6.9412 | 59 | 0.9209 | 0.9255 | 0.9209 | 0.9210 | 0.3824 |
69
+ | No log | 8.0 | 68 | 0.9213 | 0.9282 | 0.9213 | 0.9219 | 0.4385 |
70
+ | No log | 8.9412 | 76 | 0.9205 | 0.9226 | 0.9205 | 0.9205 | 0.3830 |
71
+ | No log | 10.0 | 85 | 0.9249 | 0.9309 | 0.9249 | 0.9252 | 0.4137 |
72
+ | No log | 10.9412 | 93 | 0.9269 | 0.9310 | 0.9269 | 0.9270 | 0.4014 |
73
+ | No log | 12.0 | 102 | 0.9293 | 0.9321 | 0.9293 | 0.9293 | 0.3923 |
74
+ | No log | 12.9412 | 110 | 0.9277 | 0.9320 | 0.9277 | 0.9278 | 0.4565 |
75
+ | No log | 14.0 | 119 | 0.9305 | 0.9342 | 0.9305 | 0.9305 | 0.4166 |
76
+ | No log | 14.9412 | 127 | 0.9281 | 0.9325 | 0.9281 | 0.9282 | 0.4512 |
77
+ | No log | 16.0 | 136 | 0.9297 | 0.9336 | 0.9297 | 0.9298 | 0.4465 |
78
+ | No log | 16.9412 | 144 | 0.9273 | 0.9318 | 0.9273 | 0.9274 | 0.4624 |
79
+ | No log | 18.0 | 153 | 0.9277 | 0.9321 | 0.9277 | 0.9278 | 0.4593 |
80
+ | No log | 18.8235 | 160 | 0.9305 | 0.9342 | 0.9305 | 0.9305 | 0.4443 |
81
+
82
+
83
+ ### Framework versions
84
+
85
+ - Transformers 4.44.2
86
+ - Pytorch 2.4.1+cu121
87
+ - Datasets 3.0.2
88
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "NbAiLab/nb-bert-base",
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": 768,
13
+ "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2",
17
+ "3": "LABEL_3",
18
+ "4": "LABEL_4"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "LABEL_0": 0,
24
+ "LABEL_1": 1,
25
+ "LABEL_2": 2,
26
+ "LABEL_3": 3,
27
+ "LABEL_4": 4
28
+ },
29
+ "layer_norm_eps": 1e-12,
30
+ "max_position_embeddings": 512,
31
+ "model_type": "bert",
32
+ "num_attention_heads": 12,
33
+ "num_hidden_layers": 12,
34
+ "pad_token_id": 0,
35
+ "pooler_fc_size": 768,
36
+ "pooler_num_attention_heads": 12,
37
+ "pooler_num_fc_layers": 3,
38
+ "pooler_size_per_head": 128,
39
+ "pooler_type": "first_token_transform",
40
+ "position_embedding_type": "absolute",
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.44.2",
43
+ "type_vocab_size": 2,
44
+ "use_cache": true,
45
+ "vocab_size": 119547
46
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b2f072acbf0ea8b545e8defa9be526beff04d598957e78d404c2580338c1b6c
3
+ size 709090132
runs/Oct21_13-01-01_6f405f44120f/events.out.tfevents.1729515669.6f405f44120f.216.5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ecc3e3791d87dd7161f7e9e3c018993e0c1fd6f3ec6cbece887d8a3129be43b
3
+ size 8909
runs/Oct21_13-01-01_6f405f44120f/events.out.tfevents.1729515834.6f405f44120f.216.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbd044cd8c0fb743c6540b237708c7ca809ff0827a75a0e9e1407cf3d17cfdc9
3
+ size 405
runs/Oct23_10-47-06_08287b92a2e8/events.out.tfevents.1729680430.08287b92a2e8.40887.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9d07dd80732e770841c0f62c207e9dd892818d9a7dc6f2512c30723626aebbd
3
+ size 5412
runs/Oct23_10-47-58_08287b92a2e8/events.out.tfevents.1729680479.08287b92a2e8.40887.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a8c156a4e6afbb99fbf79ec9cf7451a3c4e6c0dae07c382a531369e9638918f
3
+ size 14599
runs/Oct23_10-47-58_08287b92a2e8/events.out.tfevents.1729680524.08287b92a2e8.40887.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b118fb27facce0d957d04a1a3a931b49dc72c1baa49c273c47e956a785ce9458
3
+ size 560
runs/Oct23_12-07-38_08287b92a2e8/events.out.tfevents.1729685258.08287b92a2e8.40887.8 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2625b9923cc8618d2c8bd3c31e27ab19e3226871519556cdbc0925fac6e1840c
3
+ size 88
runs/Oct23_12-08-01_08287b92a2e8/events.out.tfevents.1729685282.08287b92a2e8.40887.9 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2056e505b985db0484083ee766c4e91dabb9df85200cab08d4eafd9562158689
3
+ size 14599
runs/Oct23_12-08-01_08287b92a2e8/events.out.tfevents.1729685324.08287b92a2e8.40887.10 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8289541e5624bc2a37ef7291b5f85541a4f14c27919b381a7ba70fcaa8b99e3d
3
+ size 560
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9976be8396911d558ba1e185c7f8c7dad0307bea21c5065c79496160bb2495e7
3
+ size 5304