stackoverflow_tag_classification/initial_run/deberta-v3-xsmall/unique-ape-807
Browse files- README.md +68 -0
- config.json +90 -0
- model.safetensors +3 -0
- 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: unique-ape-807
|
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 |
+
# unique-ape-807
|
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.1850
|
20 |
+
- Hamming Loss: 0.0497
|
21 |
+
- Zero One Loss: 1.0
|
22 |
+
- Jaccard Score: 1.0
|
23 |
+
- Hamming Loss Optimised: 0.0497
|
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: 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: 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 | 160 | 0.1872 | 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.1850 | 0.0497 | 1.0 | 1.0 | 0.0497 | 0.9000 | 1.0 | 0.9000 | 1.0 | 0.9000 |
|
61 |
+
|
62 |
+
|
63 |
+
### Framework versions
|
64 |
+
|
65 |
+
- Transformers 4.46.3
|
66 |
+
- Pytorch 2.5.1+cu118
|
67 |
+
- Datasets 3.1.0
|
68 |
+
- 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": "windows",
|
12 |
+
"1": "python-2.7",
|
13 |
+
"2": "pandas",
|
14 |
+
"3": "multithreading",
|
15 |
+
"4": "string",
|
16 |
+
"5": "matplotlib",
|
17 |
+
"6": "arrays",
|
18 |
+
"7": "mysql",
|
19 |
+
"8": "scipy",
|
20 |
+
"9": "csv",
|
21 |
+
"10": "django-models",
|
22 |
+
"11": "numpy",
|
23 |
+
"12": "google-app-engine",
|
24 |
+
"13": "python-3.x",
|
25 |
+
"14": "beautifulsoup",
|
26 |
+
"15": "dictionary",
|
27 |
+
"16": "list",
|
28 |
+
"17": "linux",
|
29 |
+
"18": "django",
|
30 |
+
"19": "regex",
|
31 |
+
"20": "tkinter",
|
32 |
+
"21": "flask",
|
33 |
+
"22": "html",
|
34 |
+
"23": "sqlalchemy",
|
35 |
+
"24": "json"
|
36 |
+
},
|
37 |
+
"initializer_range": 0.02,
|
38 |
+
"intermediate_size": 1536,
|
39 |
+
"label2id": {
|
40 |
+
"arrays": 6,
|
41 |
+
"beautifulsoup": 14,
|
42 |
+
"csv": 9,
|
43 |
+
"dictionary": 15,
|
44 |
+
"django": 18,
|
45 |
+
"django-models": 10,
|
46 |
+
"flask": 21,
|
47 |
+
"google-app-engine": 12,
|
48 |
+
"html": 22,
|
49 |
+
"json": 24,
|
50 |
+
"linux": 17,
|
51 |
+
"list": 16,
|
52 |
+
"matplotlib": 5,
|
53 |
+
"multithreading": 3,
|
54 |
+
"mysql": 7,
|
55 |
+
"numpy": 11,
|
56 |
+
"pandas": 2,
|
57 |
+
"python-2.7": 1,
|
58 |
+
"python-3.x": 13,
|
59 |
+
"regex": 19,
|
60 |
+
"scipy": 8,
|
61 |
+
"sqlalchemy": 23,
|
62 |
+
"string": 4,
|
63 |
+
"tkinter": 20,
|
64 |
+
"windows": 0
|
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.3",
|
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:d84e3af6397d76fb20cb0dd8145230be4f0b14d1bcbc9ea2c397a1db4b59adbf
|
3 |
+
size 283382868
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0cd1cfcf572d3dec6bb55c92994b2fb28ea8971ce68123107e715de0aa792b6
|
3 |
+
size 5368
|