ElMad commited on
Commit
2910151
·
verified ·
1 Parent(s): 15f94c8

stackoverflow_tag_classification/initial_run/bert-base-cased/inquisitive-hawk-387

Browse files
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google-bert/bert-base-cased
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: inquisitive-hawk-387
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # inquisitive-hawk-387
16
+
17
+ This model is a fine-tuned version of [google-bert/bert-base-cased](https://huggingface.co/google-bert/bert-base-cased) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.1747
20
+ - Hamming Loss: 0.0614
21
+ - Zero One Loss: 0.3838
22
+ - Jaccard Score: 0.3282
23
+ - Hamming Loss Optimised: 0.0592
24
+ - Hamming Loss Threshold: 0.6752
25
+ - Zero One Loss Optimised: 0.3838
26
+ - Zero One Loss Threshold: 0.5124
27
+ - Jaccard Score Optimised: 0.3189
28
+ - Jaccard Score Threshold: 0.2932
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: 3.5002189804196904e-05
48
+ - train_batch_size: 32
49
+ - eval_batch_size: 32
50
+ - seed: 2024
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: 8
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Hamming Loss | Zero One Loss | Jaccard Score | Hamming Loss Optimised | Hamming Loss Threshold | Zero One Loss Optimised | Zero One Loss Threshold | Jaccard Score Optimised | Jaccard Score Threshold |
58
+ |:-------------:|:-----:|:----:|:---------------:|:------------:|:-------------:|:-------------:|:----------------------:|:----------------------:|:-----------------------:|:-----------------------:|:-----------------------:|:-----------------------:|
59
+ | No log | 1.0 | 100 | 0.2398 | 0.0735 | 0.6325 | 0.6113 | 0.069 | 0.3881 | 0.5687 | 0.3736 | 0.4701 | 0.2311 |
60
+ | No log | 2.0 | 200 | 0.1921 | 0.0629 | 0.49 | 0.4479 | 0.0611 | 0.5862 | 0.4550 | 0.4417 | 0.3590 | 0.3433 |
61
+ | No log | 3.0 | 300 | 0.1754 | 0.062 | 0.4712 | 0.4326 | 0.0611 | 0.5370 | 0.4350 | 0.3792 | 0.3368 | 0.2775 |
62
+ | No log | 4.0 | 400 | 0.1698 | 0.0602 | 0.4300 | 0.3786 | 0.0596 | 0.6756 | 0.4062 | 0.4274 | 0.3274 | 0.1997 |
63
+ | 0.1907 | 5.0 | 500 | 0.1686 | 0.0605 | 0.3888 | 0.3361 | 0.0579 | 0.6614 | 0.3838 | 0.4056 | 0.3134 | 0.3219 |
64
+ | 0.1907 | 6.0 | 600 | 0.1755 | 0.0619 | 0.38 | 0.3276 | 0.0606 | 0.6396 | 0.3762 | 0.4744 | 0.3093 | 0.3137 |
65
+ | 0.1907 | 7.0 | 700 | 0.1747 | 0.0609 | 0.3838 | 0.3318 | 0.0596 | 0.6388 | 0.3838 | 0.5031 | 0.3076 | 0.2883 |
66
+ | 0.1907 | 8.0 | 800 | 0.1747 | 0.0614 | 0.3838 | 0.3282 | 0.0592 | 0.6752 | 0.3838 | 0.5124 | 0.3189 | 0.2932 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.47.0
72
+ - Pytorch 2.5.1+cu124
73
+ - Datasets 3.1.0
74
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-cased",
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": "matplotlib",
14
+ "1": "dictionary",
15
+ "2": "list",
16
+ "3": "python-3.x",
17
+ "4": "django",
18
+ "5": "python-2.7",
19
+ "6": "pandas",
20
+ "7": "numpy",
21
+ "8": "string",
22
+ "9": "regex"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "dictionary": 1,
28
+ "django": 4,
29
+ "list": 2,
30
+ "matplotlib": 0,
31
+ "numpy": 7,
32
+ "pandas": 6,
33
+ "python-2.7": 5,
34
+ "python-3.x": 3,
35
+ "regex": 9,
36
+ "string": 8
37
+ },
38
+ "layer_norm_eps": 1e-12,
39
+ "max_position_embeddings": 512,
40
+ "model_type": "bert",
41
+ "num_attention_heads": 12,
42
+ "num_hidden_layers": 12,
43
+ "pad_token_id": 0,
44
+ "position_embedding_type": "absolute",
45
+ "problem_type": "multi_label_classification",
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.47.0",
48
+ "type_vocab_size": 2,
49
+ "use_cache": true,
50
+ "vocab_size": 28996
51
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08a17b75136cbe1d5b812c1072bd2ad683f230b4362f62e186b8703d22a31645
3
+ size 433295376
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": false,
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:214c6bf32ca7d8902f23cc53ce47c7b3d587290cbd6850d584fdec08c96e4dd1
3
+ size 5496
vocab.txt ADDED
The diff for this file is too large to render. See raw diff