ElMad commited on
Commit
c0b8987
1 Parent(s): 072262d

stackoverflow_tag_classification/initial_run/deberta-v3-xsmall/adaptable-fly-271

Browse files
Files changed (4) hide show
  1. README.md +70 -0
  2. config.json +90 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: microsoft/deberta-v3-xsmall
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: adaptable-fly-271
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
+ # adaptable-fly-271
16
+
17
+ This model is a fine-tuned version of [microsoft/deberta-v3-xsmall](https://huggingface.co/microsoft/deberta-v3-xsmall) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.1619
20
+ - Hamming Loss: 0.0439
21
+ - Zero One Loss: 0.886
22
+ - Jaccard Score: 0.8648
23
+ - Hamming Loss Optimised: 0.0437
24
+ - Hamming Loss Threshold: 0.5933
25
+ - Zero One Loss Optimised: 0.839
26
+ - Zero One Loss Threshold: 0.1736
27
+ - Jaccard Score Optimised: 0.7401
28
+ - Jaccard Score Threshold: 0.1334
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: 5.379556445396376e-05
48
+ - train_batch_size: 20
49
+ - eval_batch_size: 20
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: 4
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 | 160 | 0.1853 | 0.0497 | 1.0 | 1.0 | 0.0497 | 0.9000 | 1.0 | 0.9000 | 1.0 | 0.9000 |
60
+ | No log | 2.0 | 320 | 0.1830 | 0.0497 | 1.0 | 1.0 | 0.0497 | 0.9000 | 1.0 | 0.9000 | 1.0 | 0.9000 |
61
+ | No log | 3.0 | 480 | 0.1690 | 0.0442 | 0.8738 | 0.8604 | 0.0456 | 0.4236 | 0.8588 | 0.2889 | 0.8410 | 0.2889 |
62
+ | 0.2169 | 4.0 | 640 | 0.1621 | 0.0441 | 0.8712 | 0.8560 | 0.0438 | 0.5821 | 0.8225 | 0.1746 | 0.7466 | 0.1429 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.46.2
68
+ - Pytorch 2.5.1+cu118
69
+ - Datasets 3.1.0
70
+ - Tokenizers 0.20.3
config.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/deberta-v3-xsmall",
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": 384,
10
+ "id2label": {
11
+ "0": "python-3.x",
12
+ "1": "windows",
13
+ "2": "django",
14
+ "3": "list",
15
+ "4": "csv",
16
+ "5": "json",
17
+ "6": "numpy",
18
+ "7": "dictionary",
19
+ "8": "matplotlib",
20
+ "9": "flask",
21
+ "10": "beautifulsoup",
22
+ "11": "django-models",
23
+ "12": "multithreading",
24
+ "13": "python-2.7",
25
+ "14": "sqlalchemy",
26
+ "15": "arrays",
27
+ "16": "tkinter",
28
+ "17": "google-app-engine",
29
+ "18": "regex",
30
+ "19": "mysql",
31
+ "20": "scipy",
32
+ "21": "string",
33
+ "22": "pandas",
34
+ "23": "html",
35
+ "24": "linux"
36
+ },
37
+ "initializer_range": 0.02,
38
+ "intermediate_size": 1536,
39
+ "label2id": {
40
+ "arrays": 15,
41
+ "beautifulsoup": 10,
42
+ "csv": 4,
43
+ "dictionary": 7,
44
+ "django": 2,
45
+ "django-models": 11,
46
+ "flask": 9,
47
+ "google-app-engine": 17,
48
+ "html": 23,
49
+ "json": 5,
50
+ "linux": 24,
51
+ "list": 3,
52
+ "matplotlib": 8,
53
+ "multithreading": 12,
54
+ "mysql": 19,
55
+ "numpy": 6,
56
+ "pandas": 22,
57
+ "python-2.7": 13,
58
+ "python-3.x": 0,
59
+ "regex": 18,
60
+ "scipy": 20,
61
+ "sqlalchemy": 14,
62
+ "string": 21,
63
+ "tkinter": 16,
64
+ "windows": 1
65
+ },
66
+ "layer_norm_eps": 1e-07,
67
+ "max_position_embeddings": 512,
68
+ "max_relative_positions": -1,
69
+ "model_type": "deberta-v2",
70
+ "norm_rel_ebd": "layer_norm",
71
+ "num_attention_heads": 6,
72
+ "num_hidden_layers": 12,
73
+ "pad_token_id": 0,
74
+ "pooler_dropout": 0,
75
+ "pooler_hidden_act": "gelu",
76
+ "pooler_hidden_size": 384,
77
+ "pos_att_type": [
78
+ "p2c",
79
+ "c2p"
80
+ ],
81
+ "position_biased_input": false,
82
+ "position_buckets": 256,
83
+ "problem_type": "multi_label_classification",
84
+ "relative_attention": true,
85
+ "share_att_key": true,
86
+ "torch_dtype": "float32",
87
+ "transformers_version": "4.46.2",
88
+ "type_vocab_size": 0,
89
+ "vocab_size": 128100
90
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e48b909dd9be06744a8c0472e475bad44da17a7da78580e8f5ff2b6c260df72c
3
+ size 283382868
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2f842290601325e1733bb4f507b36ab67e233a264af397c7856bb3df03270f6
3
+ size 5368