ElMad commited on
Commit
8ac1b5f
1 Parent(s): 2bda75e

stackoverflow_tag_classification/initial_run/deberta-v3-xsmall/lyrical-grouse-303

Browse files
Files changed (4) hide show
  1. README.md +68 -0
  2. config.json +60 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: lyrical-grouse-303
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
+ # lyrical-grouse-303
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.3514
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: 5.0943791435964314e-05
48
+ - train_batch_size: 64
49
+ - eval_batch_size: 64
50
+ - seed: 2024
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
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
+ | 0.5032 | 1.0 | 50 | 0.3816 | 0.1123 | 1.0 | 1.0 | 0.1123 | 0.9000 | 1.0 | 0.9000 | 1.0 | 0.9000 |
60
+ | 0.3685 | 2.0 | 100 | 0.3514 | 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.45.1
66
+ - Pytorch 2.5.1+cu118
67
+ - Datasets 3.1.0
68
+ - Tokenizers 0.20.3
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "numpy",
13
+ "2": "dictionary",
14
+ "3": "matplotlib",
15
+ "4": "pandas",
16
+ "5": "python-2.7",
17
+ "6": "regex",
18
+ "7": "list",
19
+ "8": "django",
20
+ "9": "string"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 1536,
24
+ "label2id": {
25
+ "dictionary": 2,
26
+ "django": 8,
27
+ "list": 7,
28
+ "matplotlib": 3,
29
+ "numpy": 1,
30
+ "pandas": 4,
31
+ "python-2.7": 5,
32
+ "python-3.x": 0,
33
+ "regex": 6,
34
+ "string": 9
35
+ },
36
+ "layer_norm_eps": 1e-07,
37
+ "max_position_embeddings": 512,
38
+ "max_relative_positions": -1,
39
+ "model_type": "deberta-v2",
40
+ "norm_rel_ebd": "layer_norm",
41
+ "num_attention_heads": 6,
42
+ "num_hidden_layers": 12,
43
+ "pad_token_id": 0,
44
+ "pooler_dropout": 0,
45
+ "pooler_hidden_act": "gelu",
46
+ "pooler_hidden_size": 384,
47
+ "pos_att_type": [
48
+ "p2c",
49
+ "c2p"
50
+ ],
51
+ "position_biased_input": false,
52
+ "position_buckets": 256,
53
+ "problem_type": "multi_label_classification",
54
+ "relative_attention": true,
55
+ "share_att_key": true,
56
+ "torch_dtype": "float32",
57
+ "transformers_version": "4.45.1",
58
+ "type_vocab_size": 0,
59
+ "vocab_size": 128100
60
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19a5e1bd9b5e84ce04d80c1b07cc2abeaca9ca35c499ef4f64abad0e8aff6813
3
+ size 283359760
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0eb613a0928eac6668a5d988ccc5413f3b20c8ebe08f3e139d36842fb81683a3
3
+ size 5304