Imkaran commited on
Commit
860bfab
1 Parent(s): fe0fd58

Saving model gmra_google-bert/bert-base-uncased_08112024T144127

Browse files
README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google-bert/bert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - f1
9
+ model-index:
10
+ - name: bert-base-uncased_08112024T144127
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # bert-base-uncased_08112024T144127
18
+
19
+ This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.4242
22
+ - F1: 0.8849
23
+ - Learning Rate: 0.0
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 1e-05
43
+ - train_batch_size: 8
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - gradient_accumulation_steps: 4
47
+ - total_train_batch_size: 32
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: cosine
50
+ - lr_scheduler_warmup_steps: 600
51
+ - num_epochs: 30
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Rate |
57
+ |:-------------:|:-------:|:----:|:---------------:|:------:|:------:|
58
+ | No log | 0.9942 | 86 | 1.7911 | 0.1661 | 0.0000 |
59
+ | No log | 2.0 | 173 | 1.6895 | 0.2558 | 0.0000 |
60
+ | No log | 2.9942 | 259 | 1.5467 | 0.4336 | 0.0000 |
61
+ | No log | 4.0 | 346 | 1.3716 | 0.5012 | 0.0000 |
62
+ | No log | 4.9942 | 432 | 1.1818 | 0.5459 | 0.0000 |
63
+ | 1.5117 | 6.0 | 519 | 1.0336 | 0.5938 | 0.0000 |
64
+ | 1.5117 | 6.9942 | 605 | 0.9389 | 0.6309 | 1e-05 |
65
+ | 1.5117 | 8.0 | 692 | 0.8480 | 0.6802 | 0.0000 |
66
+ | 1.5117 | 8.9942 | 778 | 0.7481 | 0.7288 | 0.0000 |
67
+ | 1.5117 | 10.0 | 865 | 0.6824 | 0.7561 | 0.0000 |
68
+ | 1.5117 | 10.9942 | 951 | 0.6213 | 0.7867 | 0.0000 |
69
+ | 0.7682 | 12.0 | 1038 | 0.5781 | 0.8039 | 0.0000 |
70
+ | 0.7682 | 12.9942 | 1124 | 0.5184 | 0.8345 | 0.0000 |
71
+ | 0.7682 | 14.0 | 1211 | 0.4854 | 0.8489 | 0.0000 |
72
+ | 0.7682 | 14.9942 | 1297 | 0.4815 | 0.8559 | 0.0000 |
73
+ | 0.7682 | 16.0 | 1384 | 0.4422 | 0.8704 | 0.0000 |
74
+ | 0.7682 | 16.9942 | 1470 | 0.4422 | 0.8761 | 6e-06 |
75
+ | 0.305 | 18.0 | 1557 | 0.4368 | 0.8791 | 0.0000 |
76
+ | 0.305 | 18.9942 | 1643 | 0.4242 | 0.8849 | 0.0000 |
77
+ | 0.305 | 20.0 | 1730 | 0.4483 | 0.8829 | 0.0000 |
78
+ | 0.305 | 20.9942 | 1816 | 0.4539 | 0.8841 | 0.0000 |
79
+ | 0.305 | 22.0 | 1903 | 0.4521 | 0.8862 | 0.0000 |
80
+ | 0.305 | 22.9942 | 1989 | 0.4450 | 0.8896 | 0.0000 |
81
+ | 0.1014 | 24.0 | 2076 | 0.4603 | 0.8874 | 0.0000 |
82
+ | 0.1014 | 24.9942 | 2162 | 0.4750 | 0.8864 | 0.0000 |
83
+ | 0.1014 | 26.0 | 2249 | 0.4711 | 0.8887 | 7e-07 |
84
+ | 0.1014 | 26.9942 | 2335 | 0.4756 | 0.8879 | 4e-07 |
85
+ | 0.1014 | 28.0 | 2422 | 0.4691 | 0.8883 | 2e-07 |
86
+ | 0.0521 | 28.9942 | 2508 | 0.4694 | 0.8883 | 0.0 |
87
+ | 0.0521 | 29.8266 | 2580 | 0.4699 | 0.8883 | 0.0 |
88
+
89
+
90
+ ### Framework versions
91
+
92
+ - Transformers 4.44.2
93
+ - Pytorch 2.5.1+cu124
94
+ - Datasets 3.1.0
95
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
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": "acknowledgement",
14
+ "1": "change_request",
15
+ "2": "critical",
16
+ "3": "discussion_participation",
17
+ "4": "discussion_trigger",
18
+ "5": "reference"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "acknowledgement": 0,
24
+ "change_request": 1,
25
+ "critical": 2,
26
+ "discussion_participation": 3,
27
+ "discussion_trigger": 4,
28
+ "reference": 5
29
+ },
30
+ "layer_norm_eps": 1e-12,
31
+ "max_position_embeddings": 512,
32
+ "model_type": "bert",
33
+ "num_attention_heads": 12,
34
+ "num_hidden_layers": 12,
35
+ "pad_token_id": 0,
36
+ "position_embedding_type": "absolute",
37
+ "problem_type": "single_label_classification",
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.44.2",
40
+ "type_vocab_size": 2,
41
+ "use_cache": true,
42
+ "vocab_size": 30522
43
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eaa1dc83c994656f8f35162be70471ac84b90600f09921466a9890219ad27447
3
+ size 437970952
runs/Nov08_09-11-27_0c5241002884/events.out.tfevents.1731057095.0c5241002884.388.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:149283997f8efa074434237d8b59ebd058e9b1990aa09839907ae1d30c387ad9
3
+ size 18089
runs/Nov08_09-11-27_0c5241002884/events.out.tfevents.1731060628.0c5241002884.388.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc4ebddef0ddb7aa527f3305c1cab5cc01a6aa3d8006f59b25d34d971cf2ca4
3
+ size 463
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:0e488f70b4489b48318a4fc335551a1c57e3577b315ef42c0287ff5dc0fb67de
3
+ size 5240
vocab.txt ADDED
The diff for this file is too large to render. See raw diff