ElMad commited on
Commit
39d6b97
·
verified ·
1 Parent(s): fa4ff5e

stackoverflow_tag_classification/initial_run/bert-base-cased/beautiful-worm-91

Browse files
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: beautiful-worm-91
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
+ # beautiful-worm-91
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.5762
20
+ - Hamming Loss: 0.2815
21
+ - Zero One Loss: 1.0
22
+ - Jaccard Score: 0.8606
23
+ - Hamming Loss Optimised: 0.1121
24
+ - Hamming Loss Threshold: 0.7112
25
+ - Zero One Loss Optimised: 0.8762
26
+ - Zero One Loss Threshold: 0.5937
27
+ - Jaccard Score Optimised: 0.8487
28
+ - Jaccard Score Threshold: 0.3892
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: 1.27612271859294e-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: 7
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.7158 | 0.4196 | 1.0 | 0.8558 | 0.1123 | 0.7884 | 0.8688 | 0.7125 | 0.8208 | 0.5703 |
60
+ | No log | 2.0 | 200 | 0.6802 | 0.3589 | 1.0 | 0.8562 | 0.1123 | 0.8010 | 0.89 | 0.6870 | 0.8545 | 0.5943 |
61
+ | No log | 3.0 | 300 | 0.6461 | 0.3409 | 1.0 | 0.8701 | 0.1121 | 0.7495 | 0.885 | 0.6670 | 0.8457 | 0.6441 |
62
+ | No log | 4.0 | 400 | 0.6162 | 0.3392 | 1.0 | 0.8767 | 0.1123 | 0.7474 | 0.8812 | 0.6319 | 0.8506 | 0.4177 |
63
+ | 0.6723 | 5.0 | 500 | 0.5936 | 0.3326 | 1.0 | 0.8785 | 0.1121 | 0.7112 | 0.8775 | 0.6089 | 0.8457 | 0.6006 |
64
+ | 0.6723 | 6.0 | 600 | 0.5804 | 0.2973 | 1.0 | 0.8651 | 0.1121 | 0.7112 | 0.875 | 0.5979 | 0.8447 | 0.5836 |
65
+ | 0.6723 | 7.0 | 700 | 0.5762 | 0.2815 | 1.0 | 0.8606 | 0.1121 | 0.7112 | 0.8762 | 0.5937 | 0.8487 | 0.3892 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - PEFT 0.13.2
71
+ - Transformers 4.47.0
72
+ - Pytorch 2.5.1+cu124
73
+ - Datasets 3.1.0
74
+ - 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": 21,
17
+ "lora_dropout": 0,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": null,
21
+ "peft_type": "LORA",
22
+ "r": 4,
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:dbed0987c6d0ca032b74393cba60aae4957cd2f4ea7484652b736639a59db152
3
+ size 673664
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:2311beca488ddaa20c3d1e9ac6111253519ddd5a0def6acbead1986d34e114bb
3
+ size 5496
vocab.txt ADDED
The diff for this file is too large to render. See raw diff