ElMad commited on
Commit
69bb68a
·
verified ·
1 Parent(s): 9363788

stackoverflow_tag_classification/initial_run/bert-base-cased/marvelous-pug-454

Browse files
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: google-bert/bert-base-cased
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: marvelous-pug-454
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
+ # marvelous-pug-454
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.4049
20
+ - Hamming Loss: 0.1123
21
+ - Zero One Loss: 1.0
22
+ - Jaccard Score: 1.0
23
+ - Hamming Loss Optimised: 0.1034
24
+ - Hamming Loss Threshold: 0.4079
25
+ - Zero One Loss Optimised: 0.7662
26
+ - Zero One Loss Threshold: 0.3351
27
+ - Jaccard Score Optimised: 0.7625
28
+ - Jaccard Score Threshold: 0.3149
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.691774561796012e-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: 10
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.6553 | 0.3676 | 1.0 | 0.9280 | 0.1123 | 0.6566 | 0.95 | 0.5576 | 0.8863 | 0.2993 |
60
+ | No log | 2.0 | 200 | 0.5073 | 0.1205 | 0.94 | 0.9381 | 0.1123 | 0.6530 | 0.8175 | 0.4434 | 0.7941 | 0.4421 |
61
+ | No log | 3.0 | 300 | 0.4412 | 0.1121 | 0.9988 | 0.9988 | 0.1123 | 0.5944 | 0.7675 | 0.3659 | 0.7621 | 0.3681 |
62
+ | No log | 4.0 | 400 | 0.4228 | 0.1123 | 1.0 | 1.0 | 0.109 | 0.4184 | 0.7675 | 0.3485 | 0.7631 | 0.3402 |
63
+ | 0.5269 | 5.0 | 500 | 0.4151 | 0.1123 | 1.0 | 1.0 | 0.1123 | 0.5944 | 0.7675 | 0.3646 | 0.7990 | 0.2948 |
64
+ | 0.5269 | 6.0 | 600 | 0.4109 | 0.1123 | 1.0 | 1.0 | 0.1051 | 0.4182 | 0.7662 | 0.3532 | 0.7631 | 0.3362 |
65
+ | 0.5269 | 7.0 | 700 | 0.4084 | 0.1123 | 1.0 | 1.0 | 0.1046 | 0.4138 | 0.7662 | 0.3368 | 0.7638 | 0.3453 |
66
+ | 0.5269 | 8.0 | 800 | 0.4059 | 0.1123 | 1.0 | 1.0 | 0.1031 | 0.4037 | 0.7662 | 0.3314 | 0.7612 | 0.3225 |
67
+ | 0.5269 | 9.0 | 900 | 0.4051 | 0.1123 | 1.0 | 1.0 | 0.1032 | 0.4075 | 0.7662 | 0.3350 | 0.7619 | 0.3209 |
68
+ | 0.4202 | 10.0 | 1000 | 0.4049 | 0.1123 | 1.0 | 1.0 | 0.1034 | 0.4079 | 0.7662 | 0.3351 | 0.7625 | 0.3149 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - PEFT 0.13.2
74
+ - Transformers 4.47.0
75
+ - Pytorch 2.5.1+cu124
76
+ - Datasets 3.1.0
77
+ - Tokenizers 0.21.0
adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "BertForSequenceClassification",
5
+ "parent_library": "transformers.models.bert.modeling_bert"
6
+ },
7
+ "base_model_name_or_path": "google-bert/bert-base-cased",
8
+ "bias": "none",
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 18,
17
+ "lora_dropout": 0,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": null,
21
+ "peft_type": "LORA",
22
+ "r": 8,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "value",
27
+ "query"
28
+ ],
29
+ "task_type": null,
30
+ "use_dora": true,
31
+ "use_rslora": false
32
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f63edfd1236f328d6216d31b2ab2bdb8e891c16b9afed66505cbb5283230bbb
3
+ size 1263528
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:794bcd3c6a2a156899436ebfe8183a57ee20fd6c3d2f75728beac630254550ab
3
+ size 5496
vocab.txt ADDED
The diff for this file is too large to render. See raw diff