stackoverflow_tag_classification/initial_run/deberta-v3-xsmall/capricious-gnu-139
Browse files- README.md +75 -0
- config.json +60 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: capricious-gnu-139
|
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 |
+
# capricious-gnu-139
|
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.1831
|
20 |
+
- Hamming Loss: 0.0661
|
21 |
+
- Zero One Loss: 0.4537
|
22 |
+
- Jaccard Score: 0.4105
|
23 |
+
- Hamming Loss Optimised: 0.0659
|
24 |
+
- Hamming Loss Threshold: 0.6135
|
25 |
+
- Zero One Loss Optimised: 0.4087
|
26 |
+
- Zero One Loss Threshold: 0.4316
|
27 |
+
- Jaccard Score Optimised: 0.3479
|
28 |
+
- Jaccard Score Threshold: 0.3462
|
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: 32
|
49 |
+
- eval_batch_size: 32
|
50 |
+
- seed: 2024
|
51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
+
- lr_scheduler_type: linear
|
53 |
+
- num_epochs: 9
|
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.4159 | 1.0 | 100 | 0.3376 | 0.1123 | 1.0 | 1.0 | 0.1123 | 0.9000 | 1.0 | 0.9000 | 1.0 | 0.9000 |
|
60 |
+
| 0.3121 | 2.0 | 200 | 0.2841 | 0.0932 | 0.8113 | 0.8087 | 0.0931 | 0.4416 | 0.6963 | 0.1641 | 0.6101 | 0.1642 |
|
61 |
+
| 0.2602 | 3.0 | 300 | 0.2338 | 0.092 | 0.785 | 0.7819 | 0.0765 | 0.3980 | 0.6113 | 0.3139 | 0.5072 | 0.2086 |
|
62 |
+
| 0.2174 | 4.0 | 400 | 0.2063 | 0.0712 | 0.5975 | 0.5703 | 0.0698 | 0.4494 | 0.5363 | 0.3378 | 0.4363 | 0.2553 |
|
63 |
+
| 0.1896 | 5.0 | 500 | 0.1967 | 0.0694 | 0.5813 | 0.5551 | 0.0661 | 0.4552 | 0.4513 | 0.3622 | 0.3900 | 0.2346 |
|
64 |
+
| 0.1726 | 6.0 | 600 | 0.1910 | 0.07 | 0.4988 | 0.4614 | 0.0695 | 0.5944 | 0.4400 | 0.4036 | 0.3569 | 0.3149 |
|
65 |
+
| 0.1618 | 7.0 | 700 | 0.1861 | 0.0679 | 0.475 | 0.4339 | 0.0651 | 0.5430 | 0.4237 | 0.4130 | 0.3652 | 0.3483 |
|
66 |
+
| 0.1522 | 8.0 | 800 | 0.1845 | 0.0683 | 0.4712 | 0.4328 | 0.0663 | 0.5807 | 0.4337 | 0.4266 | 0.3585 | 0.3310 |
|
67 |
+
| 0.1484 | 9.0 | 900 | 0.1831 | 0.0661 | 0.4537 | 0.4105 | 0.0659 | 0.6135 | 0.4087 | 0.4316 | 0.3479 | 0.3462 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.45.1
|
73 |
+
- Pytorch 2.5.1+cu118
|
74 |
+
- Datasets 3.1.0
|
75 |
+
- 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:f87a80ae9e1691e7fabee23a02f6824174221e5ad5ec87e476c221c5a6c697ae
|
3 |
+
size 283359760
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c52c531dc6391254ac1cf77608fc39f3252795204e81d6e057a5b2d850e8ed4a
|
3 |
+
size 5304
|