David-ger commited on
Commit
32a6660
·
verified ·
1 Parent(s): 3d39e33

Model save

Browse files
README.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google-bert/bert-base-multilingual-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: fosh-detector-v2-tmp
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
+ # fosh-detector-v2-tmp
21
+
22
+ This model is a fine-tuned version of [google-bert/bert-base-multilingual-uncased](https://huggingface.co/google-bert/bert-base-multilingual-uncased) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.1027
25
+ - Accuracy: 0.9684
26
+ - Precision: 0.8378
27
+ - Recall: 0.8692
28
+ - F1: 0.8532
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: 128
49
+ - eval_batch_size: 128
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 4
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
58
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
59
+ | 0.3176 | 0.1305 | 50 | 0.2282 | 0.9150 | 0.6981 | 0.3458 | 0.4625 |
60
+ | 0.1735 | 0.2611 | 100 | 0.1324 | 0.9526 | 0.8242 | 0.7009 | 0.7576 |
61
+ | 0.1358 | 0.3916 | 150 | 0.1283 | 0.9615 | 0.8542 | 0.7664 | 0.8079 |
62
+ | 0.1332 | 0.5222 | 200 | 0.1142 | 0.9664 | 0.8411 | 0.8411 | 0.8411 |
63
+ | 0.1125 | 0.6527 | 250 | 0.1268 | 0.9634 | 0.85 | 0.7944 | 0.8213 |
64
+ | 0.1022 | 0.7833 | 300 | 0.1251 | 0.9644 | 0.7983 | 0.8879 | 0.8407 |
65
+ | 0.1107 | 0.9138 | 350 | 0.0972 | 0.9644 | 0.8381 | 0.8224 | 0.8302 |
66
+ | 0.1017 | 1.0444 | 400 | 0.1070 | 0.9654 | 0.8396 | 0.8318 | 0.8357 |
67
+ | 0.0925 | 1.1749 | 450 | 0.0977 | 0.9664 | 0.8288 | 0.8598 | 0.8440 |
68
+ | 0.0834 | 1.3055 | 500 | 0.0867 | 0.9674 | 0.8936 | 0.7850 | 0.8358 |
69
+ | 0.0748 | 1.4360 | 550 | 0.0951 | 0.9704 | 0.8348 | 0.8972 | 0.8649 |
70
+ | 0.0697 | 1.5666 | 600 | 0.0950 | 0.9713 | 0.8611 | 0.8692 | 0.8651 |
71
+ | 0.0818 | 1.6971 | 650 | 0.0871 | 0.9674 | 0.8136 | 0.8972 | 0.8533 |
72
+ | 0.073 | 1.8277 | 700 | 0.0813 | 0.9684 | 0.8319 | 0.8785 | 0.8545 |
73
+ | 0.0742 | 1.9582 | 750 | 0.0841 | 0.9713 | 0.875 | 0.8505 | 0.8626 |
74
+ | 0.0599 | 2.0888 | 800 | 0.0926 | 0.9713 | 0.8824 | 0.8411 | 0.8612 |
75
+ | 0.0522 | 2.2193 | 850 | 0.1015 | 0.9674 | 0.8426 | 0.8505 | 0.8465 |
76
+ | 0.0581 | 2.3499 | 900 | 0.1000 | 0.9694 | 0.88 | 0.8224 | 0.8502 |
77
+ | 0.0562 | 2.4804 | 950 | 0.1066 | 0.9674 | 0.8364 | 0.8598 | 0.8479 |
78
+ | 0.0553 | 2.6110 | 1000 | 0.0989 | 0.9674 | 0.8190 | 0.8879 | 0.8520 |
79
+ | 0.0546 | 2.7415 | 1050 | 0.0921 | 0.9694 | 0.8725 | 0.8318 | 0.8517 |
80
+ | 0.0541 | 2.8721 | 1100 | 0.0920 | 0.9644 | 0.8034 | 0.8785 | 0.8393 |
81
+ | 0.0494 | 3.0026 | 1150 | 0.0981 | 0.9713 | 0.8611 | 0.8692 | 0.8651 |
82
+ | 0.0358 | 3.1332 | 1200 | 0.1033 | 0.9713 | 0.8679 | 0.8598 | 0.8638 |
83
+ | 0.038 | 3.2637 | 1250 | 0.1109 | 0.9684 | 0.8378 | 0.8692 | 0.8532 |
84
+ | 0.0408 | 3.3943 | 1300 | 0.0996 | 0.9684 | 0.8205 | 0.8972 | 0.8571 |
85
+ | 0.0456 | 3.5248 | 1350 | 0.0976 | 0.9684 | 0.8440 | 0.8598 | 0.8519 |
86
+ | 0.0367 | 3.6554 | 1400 | 0.1075 | 0.9694 | 0.8455 | 0.8692 | 0.8571 |
87
+ | 0.0332 | 3.7859 | 1450 | 0.1081 | 0.9684 | 0.8440 | 0.8598 | 0.8519 |
88
+ | 0.0376 | 3.9164 | 1500 | 0.1027 | 0.9684 | 0.8378 | 0.8692 | 0.8532 |
89
+
90
+
91
+ ### Framework versions
92
+
93
+ - Transformers 4.50.3
94
+ - Pytorch 2.6.0+cu124
95
+ - Datasets 3.3.2
96
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "directionality": "bidi",
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 3072,
13
+ "layer_norm_eps": 1e-12,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "bert",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 12,
18
+ "pad_token_id": 0,
19
+ "pooler_fc_size": 768,
20
+ "pooler_num_attention_heads": 12,
21
+ "pooler_num_fc_layers": 3,
22
+ "pooler_size_per_head": 128,
23
+ "pooler_type": "first_token_transform",
24
+ "position_embedding_type": "absolute",
25
+ "problem_type": "single_label_classification",
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.50.3",
28
+ "type_vocab_size": 2,
29
+ "use_cache": true,
30
+ "vocab_size": 105879
31
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e53206d3813f72861cb10fad11d44dc54028f492021e62bf7f78d6a900a433a
3
+ size 669455360
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d53ba4ffe08ccb9f9805d2a4c3adcd734c37416949332a74bc1dc73be96ce2ee
3
+ size 5368
vocab.txt ADDED
The diff for this file is too large to render. See raw diff