David-ger commited on
Commit
1dea7ac
·
verified ·
1 Parent(s): e19a6df

Model save

Browse files
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-bert-v2.1-with-augmentation
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-bert-v2.1-with-augmentation
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.0311
25
+ - Accuracy: 0.9926
26
+ - Precision: 0.9475
27
+ - Recall: 0.9559
28
+ - F1: 0.9517
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: 3
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
58
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
59
+ | 0.2292 | 0.1639 | 50 | 0.1207 | 0.9669 | 0.8509 | 0.6882 | 0.7610 |
60
+ | 0.0994 | 0.3279 | 100 | 0.0610 | 0.9775 | 0.8279 | 0.8912 | 0.8584 |
61
+ | 0.0738 | 0.4918 | 150 | 0.0530 | 0.9863 | 0.9240 | 0.8941 | 0.9088 |
62
+ | 0.0532 | 0.6557 | 200 | 0.0613 | 0.9788 | 0.7985 | 0.9676 | 0.875 |
63
+ | 0.0436 | 0.8197 | 250 | 0.0346 | 0.9905 | 0.9382 | 0.9382 | 0.9382 |
64
+ | 0.0375 | 0.9836 | 300 | 0.0440 | 0.9894 | 0.9222 | 0.9412 | 0.9316 |
65
+ | 0.0362 | 1.1475 | 350 | 0.0383 | 0.9890 | 0.9053 | 0.9559 | 0.9299 |
66
+ | 0.0265 | 1.3115 | 400 | 0.0348 | 0.9905 | 0.9233 | 0.9559 | 0.9393 |
67
+ | 0.0286 | 1.4754 | 450 | 0.0374 | 0.9905 | 0.9331 | 0.9441 | 0.9386 |
68
+ | 0.0247 | 1.6393 | 500 | 0.0298 | 0.9912 | 0.9388 | 0.9471 | 0.9429 |
69
+ | 0.0327 | 1.8033 | 550 | 0.0297 | 0.9917 | 0.9577 | 0.9324 | 0.9449 |
70
+ | 0.0272 | 1.9672 | 600 | 0.0284 | 0.9919 | 0.9497 | 0.9441 | 0.9469 |
71
+ | 0.0233 | 2.1311 | 650 | 0.0299 | 0.9921 | 0.9499 | 0.9471 | 0.9485 |
72
+ | 0.0133 | 2.2951 | 700 | 0.0324 | 0.9926 | 0.9528 | 0.95 | 0.9514 |
73
+ | 0.0113 | 2.4590 | 750 | 0.0327 | 0.9912 | 0.9362 | 0.95 | 0.9431 |
74
+ | 0.0225 | 2.6230 | 800 | 0.0286 | 0.9917 | 0.9443 | 0.9471 | 0.9457 |
75
+ | 0.0119 | 2.7869 | 850 | 0.0305 | 0.9921 | 0.9499 | 0.9471 | 0.9485 |
76
+ | 0.0154 | 2.9508 | 900 | 0.0311 | 0.9926 | 0.9475 | 0.9559 | 0.9517 |
77
+
78
+
79
+ ### Framework versions
80
+
81
+ - Transformers 4.50.3
82
+ - Pytorch 2.6.0+cu124
83
+ - Datasets 3.3.2
84
+ - 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:ec527d47b5cf1d9bda9f070e453fec659ae5eabbeed0fe75172622569a273816
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:31a6b96708ca3fe2892a9b76d139975241c94587bc71020815f84d3dd2b6c9fd
3
+ size 5368
vocab.txt ADDED
The diff for this file is too large to render. See raw diff