ElMad commited on
Commit
b8f5166
1 Parent(s): f51d381

stackoverflow_tag_classification/initial_run/deberta-v3-base/bemused-trout-607

Browse files
Files changed (4) hide show
  1. README.md +70 -0
  2. config.json +60 -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-base
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: bemused-trout-607
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
+ # bemused-trout-607
16
+
17
+ This model is a fine-tuned version of [microsoft/deberta-v3-base](https://huggingface.co/microsoft/deberta-v3-base) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.1783
20
+ - Hamming Loss: 0.0643
21
+ - Zero One Loss: 0.4113
22
+ - Jaccard Score: 0.3643
23
+ - Hamming Loss Optimised: 0.0615
24
+ - Hamming Loss Threshold: 0.7239
25
+ - Zero One Loss Optimised: 0.4038
26
+ - Zero One Loss Threshold: 0.4731
27
+ - Jaccard Score Optimised: 0.3281
28
+ - Jaccard Score Threshold: 0.2446
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: 8
49
+ - eval_batch_size: 8
50
+ - seed: 2024
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
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
+ | 0.2941 | 1.0 | 400 | 0.2355 | 0.0934 | 0.7987 | 0.7963 | 0.0929 | 0.6046 | 0.6738 | 0.2934 | 0.5524 | 0.2658 |
60
+ | 0.2247 | 2.0 | 800 | 0.2132 | 0.0914 | 0.6188 | 0.5905 | 0.0906 | 0.6229 | 0.6262 | 0.3893 | 0.4890 | 0.2889 |
61
+ | 0.187 | 3.0 | 1200 | 0.1854 | 0.066 | 0.4712 | 0.4224 | 0.0653 | 0.7034 | 0.4325 | 0.4451 | 0.3701 | 0.4026 |
62
+ | 0.1495 | 4.0 | 1600 | 0.1783 | 0.0643 | 0.4113 | 0.3643 | 0.0615 | 0.7239 | 0.4038 | 0.4731 | 0.3281 | 0.2446 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.45.1
68
+ - Pytorch 2.5.1+cu124
69
+ - Datasets 3.1.0
70
+ - Tokenizers 0.20.3
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/deberta-v3-base",
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": "pandas",
12
+ "1": "python-3.x",
13
+ "2": "string",
14
+ "3": "django",
15
+ "4": "dictionary",
16
+ "5": "python-2.7",
17
+ "6": "matplotlib",
18
+ "7": "list",
19
+ "8": "numpy",
20
+ "9": "regex"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "dictionary": 4,
26
+ "django": 3,
27
+ "list": 7,
28
+ "matplotlib": 6,
29
+ "numpy": 8,
30
+ "pandas": 0,
31
+ "python-2.7": 5,
32
+ "python-3.x": 1,
33
+ "regex": 9,
34
+ "string": 2
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": 12,
42
+ "num_hidden_layers": 12,
43
+ "pad_token_id": 0,
44
+ "pooler_dropout": 0,
45
+ "pooler_hidden_act": "gelu",
46
+ "pooler_hidden_size": 768,
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:bc2334f6c04120b6f81fcbe1366004ca2f33a5e70944ba16573b953ede8b869a
3
+ size 737743888
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5fde71965aedd829244b68afbb16e5e997b847ca8e3a69f7937adf348862bc01
3
+ size 5304