ElMad commited on
Commit
ff41269
·
verified ·
1 Parent(s): 0d5833e

stackoverflow_tag_classification/initial_run/roberta-base/fun-wolf-403

Browse files
Files changed (4) hide show
  1. README.md +70 -0
  2. config.json +82 -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: FacebookAI/roberta-base
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: fun-wolf-403
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
+ # fun-wolf-403
16
+
17
+ This model is a fine-tuned version of [FacebookAI/roberta-base](https://huggingface.co/FacebookAI/roberta-base) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.1834
20
+ - Hamming Loss: 0.0494
21
+ - Zero One Loss: 1.0
22
+ - Jaccard Score: 1.0
23
+ - Hamming Loss Optimised: 0.0494
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: 0.0011128424281972827
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: 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
+ | No log | 1.0 | 160 | 0.1902 | 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.1868 | 0.0497 | 1.0 | 1.0 | 0.0497 | 0.9000 | 1.0 | 0.9000 | 1.0 | 0.9000 |
61
+ | No log | 3.0 | 480 | 0.1852 | 0.0497 | 1.0 | 1.0 | 0.0497 | 0.9000 | 1.0 | 0.9000 | 1.0 | 0.9000 |
62
+ | 0.2032 | 4.0 | 640 | 0.1842 | 0.0497 | 1.0 | 1.0 | 0.0497 | 0.9000 | 1.0 | 0.9000 | 1.0 | 0.9000 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.46.2
68
+ - Pytorch 2.5.1+cu118
69
+ - Datasets 3.1.0
70
+ - Tokenizers 0.20.3
config.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "FacebookAI/roberta-base",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "python-3.x",
15
+ "1": "windows",
16
+ "2": "django",
17
+ "3": "list",
18
+ "4": "csv",
19
+ "5": "json",
20
+ "6": "numpy",
21
+ "7": "dictionary",
22
+ "8": "matplotlib",
23
+ "9": "flask",
24
+ "10": "beautifulsoup",
25
+ "11": "django-models",
26
+ "12": "multithreading",
27
+ "13": "python-2.7",
28
+ "14": "sqlalchemy",
29
+ "15": "arrays",
30
+ "16": "tkinter",
31
+ "17": "google-app-engine",
32
+ "18": "regex",
33
+ "19": "mysql",
34
+ "20": "scipy",
35
+ "21": "string",
36
+ "22": "pandas",
37
+ "23": "html",
38
+ "24": "linux"
39
+ },
40
+ "initializer_range": 0.02,
41
+ "intermediate_size": 3072,
42
+ "label2id": {
43
+ "arrays": 15,
44
+ "beautifulsoup": 10,
45
+ "csv": 4,
46
+ "dictionary": 7,
47
+ "django": 2,
48
+ "django-models": 11,
49
+ "flask": 9,
50
+ "google-app-engine": 17,
51
+ "html": 23,
52
+ "json": 5,
53
+ "linux": 24,
54
+ "list": 3,
55
+ "matplotlib": 8,
56
+ "multithreading": 12,
57
+ "mysql": 19,
58
+ "numpy": 6,
59
+ "pandas": 22,
60
+ "python-2.7": 13,
61
+ "python-3.x": 0,
62
+ "regex": 18,
63
+ "scipy": 20,
64
+ "sqlalchemy": 14,
65
+ "string": 21,
66
+ "tkinter": 16,
67
+ "windows": 1
68
+ },
69
+ "layer_norm_eps": 1e-05,
70
+ "max_position_embeddings": 514,
71
+ "model_type": "roberta",
72
+ "num_attention_heads": 12,
73
+ "num_hidden_layers": 12,
74
+ "pad_token_id": 1,
75
+ "position_embedding_type": "absolute",
76
+ "problem_type": "multi_label_classification",
77
+ "torch_dtype": "float32",
78
+ "transformers_version": "4.46.2",
79
+ "type_vocab_size": 1,
80
+ "use_cache": true,
81
+ "vocab_size": 50265
82
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee375f3409b20a27054dd4d71f6bdfb775f1c503cca8a2c74b620cce7de58d48
3
+ size 498683572
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ed648312f35d39322e82bf6799834ab8f898444bd5e4fd9ea49513636ed509a
3
+ size 5368