adasgaleus commited on
Commit
53ad0bf
·
verified ·
1 Parent(s): 8d72739

End of training

Browse files
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google-bert/bert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: 20240320102435_big_hinton
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
+ # 20240320102435_big_hinton
20
+
21
+ This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.0351
24
+ - Precision: 0.9436
25
+ - Recall: 0.9308
26
+ - F1: 0.9372
27
+ - Accuracy: 0.9859
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: 0.001
47
+ - train_batch_size: 32
48
+ - eval_batch_size: 32
49
+ - seed: 69
50
+ - gradient_accumulation_steps: 8
51
+ - total_train_batch_size: 256
52
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
53
+ - lr_scheduler_type: linear
54
+ - lr_scheduler_warmup_steps: 350
55
+ - num_epochs: 1
56
+
57
+ ### Training results
58
+
59
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
60
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
61
+ | 0.0805 | 0.09 | 300 | 0.0626 | 0.9020 | 0.8843 | 0.8931 | 0.9758 |
62
+ | 0.0969 | 0.18 | 600 | 0.0770 | 0.8912 | 0.8486 | 0.8694 | 0.9704 |
63
+ | 0.0879 | 0.27 | 900 | 0.0682 | 0.8943 | 0.8733 | 0.8837 | 0.9735 |
64
+ | 0.0778 | 0.36 | 1200 | 0.0612 | 0.9013 | 0.8891 | 0.8952 | 0.9762 |
65
+ | 0.0703 | 0.44 | 1500 | 0.0564 | 0.9137 | 0.8909 | 0.9021 | 0.9779 |
66
+ | 0.0638 | 0.53 | 1800 | 0.0521 | 0.9244 | 0.8975 | 0.9107 | 0.9799 |
67
+ | 0.0579 | 0.62 | 2100 | 0.0480 | 0.9309 | 0.9029 | 0.9167 | 0.9812 |
68
+ | 0.0534 | 0.71 | 2400 | 0.0447 | 0.9323 | 0.9095 | 0.9208 | 0.9825 |
69
+ | 0.049 | 0.8 | 2700 | 0.0399 | 0.9329 | 0.9236 | 0.9282 | 0.9841 |
70
+ | 0.0451 | 0.89 | 3000 | 0.0373 | 0.9411 | 0.9226 | 0.9318 | 0.9849 |
71
+ | 0.0424 | 0.98 | 3300 | 0.0351 | 0.9436 | 0.9308 | 0.9372 | 0.9859 |
72
+
73
+
74
+ ### Framework versions
75
+
76
+ - Transformers 4.38.2
77
+ - Pytorch 2.2.0a0+6a974be
78
+ - Datasets 2.18.0
79
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-uncased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "not inserted",
14
+ "1": "inserted"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "inserted": 1,
20
+ "not inserted": 0
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 12,
26
+ "num_hidden_layers": 12,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "torch_dtype": "float32",
30
+ "transformers_version": "4.38.2",
31
+ "type_vocab_size": 2,
32
+ "use_cache": true,
33
+ "vocab_size": 30522
34
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f01dee14cd7aa52d9ed78de6db27a1378071a87eaa203a6c2e70f9948321251f
3
+ size 435596088
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,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "BertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28bc13bc27031fe0ce2d9f2a55781526d8a2b84aee9285428cae88c401a7b2f4
3
+ size 4984
vocab.txt ADDED
The diff for this file is too large to render. See raw diff