ElMad commited on
Commit
5fa6162
·
verified ·
1 Parent(s): 1d5408c

stackoverflow_tag_classification/modernBERT_vs_Deberta/deberta-v3-small/upbeat-panda-990

Browse files
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: microsoft/deberta-v3-small
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: upbeat-panda-990
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
+ # upbeat-panda-990
16
+
17
+ This model is a fine-tuned version of [microsoft/deberta-v3-small](https://huggingface.co/microsoft/deberta-v3-small) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.3377
20
+ - Hamming Loss: 0.1123
21
+ - Zero One Loss: 1.0
22
+ - Jaccard Score: 1.0
23
+ - Hamming Loss Optimised: 0.1123
24
+ - Hamming Loss Threshold: 0.9000
25
+ - Zero One Loss Optimised: 1.0
26
+ - Zero One Loss Threshold: 0.9000
27
+ - Jaccard Score Optimised: 1.0
28
+ - Jaccard Score Threshold: 0.9000
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: 2.9389019495075605e-06
48
+ - train_batch_size: 8
49
+ - eval_batch_size: 8
50
+ - seed: 2024
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.8827294021788243,0.966988814824775) and epsilon=1e-07 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 2
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 | 400 | 0.3483 | 0.1123 | 1.0 | 1.0 | 0.1123 | 0.9000 | 1.0 | 0.9000 | 1.0 | 0.9000 |
60
+ | 0.4547 | 2.0 | 800 | 0.3377 | 0.1123 | 1.0 | 1.0 | 0.1123 | 0.9000 | 1.0 | 0.9000 | 1.0 | 0.9000 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.48.0.dev0
66
+ - Pytorch 2.5.1+cu124
67
+ - Datasets 3.1.0
68
+ - Tokenizers 0.21.0
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[MASK]": 128000
3
+ }
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/deberta-v3-small",
3
+ "architectures": [
4
+ "DebertaV2ForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "dictionary",
12
+ "1": "django",
13
+ "2": "list",
14
+ "3": "matplotlib",
15
+ "4": "numpy",
16
+ "5": "pandas",
17
+ "6": "python-2.7",
18
+ "7": "python-3.x",
19
+ "8": "regex",
20
+ "9": "string"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "dictionary": 0,
26
+ "django": 1,
27
+ "list": 2,
28
+ "matplotlib": 3,
29
+ "numpy": 4,
30
+ "pandas": 5,
31
+ "python-2.7": 6,
32
+ "python-3.x": 7,
33
+ "regex": 8,
34
+ "string": 9
35
+ },
36
+ "layer_norm_eps": 1e-07,
37
+ "legacy": true,
38
+ "max_position_embeddings": 512,
39
+ "max_relative_positions": -1,
40
+ "model_type": "deberta-v2",
41
+ "norm_rel_ebd": "layer_norm",
42
+ "num_attention_heads": 12,
43
+ "num_hidden_layers": 6,
44
+ "pad_token_id": 0,
45
+ "pooler_dropout": 0,
46
+ "pooler_hidden_act": "gelu",
47
+ "pooler_hidden_size": 768,
48
+ "pos_att_type": [
49
+ "p2c",
50
+ "c2p"
51
+ ],
52
+ "position_biased_input": false,
53
+ "position_buckets": 256,
54
+ "problem_type": "multi_label_classification",
55
+ "relative_attention": true,
56
+ "share_att_key": true,
57
+ "torch_dtype": "float32",
58
+ "transformers_version": "4.48.0.dev0",
59
+ "type_vocab_size": 0,
60
+ "vocab_size": 128100
61
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e05ded40358937cb043fcc8be510138a210359d1d674ccc0d9005e66698b87e
3
+ size 567623168
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[CLS]",
3
+ "cls_token": "[CLS]",
4
+ "eos_token": "[SEP]",
5
+ "mask_token": "[MASK]",
6
+ "pad_token": "[PAD]",
7
+ "sep_token": "[SEP]",
8
+ "unk_token": {
9
+ "content": "[UNK]",
10
+ "lstrip": false,
11
+ "normalized": true,
12
+ "rstrip": false,
13
+ "single_word": false
14
+ }
15
+ }
spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
3
+ size 2464616
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "1": {
12
+ "content": "[CLS]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[SEP]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[UNK]",
29
+ "lstrip": false,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "128000": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "[CLS]",
45
+ "clean_up_tokenization_spaces": false,
46
+ "cls_token": "[CLS]",
47
+ "do_lower_case": false,
48
+ "eos_token": "[SEP]",
49
+ "extra_special_tokens": {},
50
+ "mask_token": "[MASK]",
51
+ "model_max_length": 1000000000000000019884624838656,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "sp_model_kwargs": {},
55
+ "split_by_punct": false,
56
+ "tokenizer_class": "DebertaV2Tokenizer",
57
+ "unk_token": "[UNK]",
58
+ "vocab_type": "spm"
59
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a766536b10aef5063a2af1bd1c45563b3615519107c94c11ca565588797e55b6
3
+ size 5496