stackoverflow_tag_classification/initial_run/distilbert-base-cased/popular-snail-470
Browse files- README.md +68 -0
- config.json +80 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: distilbert/distilbert-base-cased
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: popular-snail-470
|
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 |
+
# popular-snail-470
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [distilbert/distilbert-base-cased](https://huggingface.co/distilbert/distilbert-base-cased) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.1428
|
20 |
+
- Hamming Loss: 0.0394
|
21 |
+
- Zero One Loss: 0.8140
|
22 |
+
- Jaccard Score: 0.7792
|
23 |
+
- Hamming Loss Optimised: 0.0378
|
24 |
+
- Hamming Loss Threshold: 0.2878
|
25 |
+
- Zero One Loss Optimised: 0.71
|
26 |
+
- Zero One Loss Threshold: 0.1741
|
27 |
+
- Jaccard Score Optimised: 0.6376
|
28 |
+
- Jaccard Score Threshold: 0.1616
|
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.1685 | 0.0438 | 0.8812 | 0.8679 | 0.0438 | 0.5944 | 0.8812 | 0.7111 | 0.8679 | 0.7111 |
|
60 |
+
| No log | 2.0 | 320 | 0.1422 | 0.0398 | 0.815 | 0.7804 | 0.0363 | 0.2166 | 0.6925 | 0.1817 | 0.621 | 0.1587 |
|
61 |
+
|
62 |
+
|
63 |
+
### Framework versions
|
64 |
+
|
65 |
+
- Transformers 4.46.2
|
66 |
+
- Pytorch 2.5.1+cu118
|
67 |
+
- Datasets 3.1.0
|
68 |
+
- Tokenizers 0.20.3
|
config.json
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert/distilbert-base-cased",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"hidden_dim": 3072,
|
11 |
+
"id2label": {
|
12 |
+
"0": "linux",
|
13 |
+
"1": "beautifulsoup",
|
14 |
+
"2": "sqlalchemy",
|
15 |
+
"3": "python-2.7",
|
16 |
+
"4": "numpy",
|
17 |
+
"5": "json",
|
18 |
+
"6": "list",
|
19 |
+
"7": "windows",
|
20 |
+
"8": "string",
|
21 |
+
"9": "scipy",
|
22 |
+
"10": "mysql",
|
23 |
+
"11": "flask",
|
24 |
+
"12": "arrays",
|
25 |
+
"13": "tkinter",
|
26 |
+
"14": "multithreading",
|
27 |
+
"15": "csv",
|
28 |
+
"16": "python-3.x",
|
29 |
+
"17": "django-models",
|
30 |
+
"18": "regex",
|
31 |
+
"19": "html",
|
32 |
+
"20": "dictionary",
|
33 |
+
"21": "django",
|
34 |
+
"22": "matplotlib",
|
35 |
+
"23": "google-app-engine",
|
36 |
+
"24": "pandas"
|
37 |
+
},
|
38 |
+
"initializer_range": 0.02,
|
39 |
+
"label2id": {
|
40 |
+
"arrays": 12,
|
41 |
+
"beautifulsoup": 1,
|
42 |
+
"csv": 15,
|
43 |
+
"dictionary": 20,
|
44 |
+
"django": 21,
|
45 |
+
"django-models": 17,
|
46 |
+
"flask": 11,
|
47 |
+
"google-app-engine": 23,
|
48 |
+
"html": 19,
|
49 |
+
"json": 5,
|
50 |
+
"linux": 0,
|
51 |
+
"list": 6,
|
52 |
+
"matplotlib": 22,
|
53 |
+
"multithreading": 14,
|
54 |
+
"mysql": 10,
|
55 |
+
"numpy": 4,
|
56 |
+
"pandas": 24,
|
57 |
+
"python-2.7": 3,
|
58 |
+
"python-3.x": 16,
|
59 |
+
"regex": 18,
|
60 |
+
"scipy": 9,
|
61 |
+
"sqlalchemy": 2,
|
62 |
+
"string": 8,
|
63 |
+
"tkinter": 13,
|
64 |
+
"windows": 7
|
65 |
+
},
|
66 |
+
"max_position_embeddings": 512,
|
67 |
+
"model_type": "distilbert",
|
68 |
+
"n_heads": 12,
|
69 |
+
"n_layers": 6,
|
70 |
+
"output_past": true,
|
71 |
+
"pad_token_id": 0,
|
72 |
+
"problem_type": "multi_label_classification",
|
73 |
+
"qa_dropout": 0.1,
|
74 |
+
"seq_classif_dropout": 0.2,
|
75 |
+
"sinusoidal_pos_embds": false,
|
76 |
+
"tie_weights_": true,
|
77 |
+
"torch_dtype": "float32",
|
78 |
+
"transformers_version": "4.46.2",
|
79 |
+
"vocab_size": 28996
|
80 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d624ae05d2638cf0a7b440330120c4336c5951620da3610f2a920561a6e33f6
|
3 |
+
size 263215436
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:737dabb56e6cdad0135e2367841558238512caf0a8a74ffbe60ef0082ee2db4f
|
3 |
+
size 5432
|