ElMad commited on
Commit
a850fe1
·
verified ·
1 Parent(s): e049b24

stackoverflow_tag_classification/initial_run/roberta-base/indecisive-jay-739

Browse files
Files changed (4) hide show
  1. README.md +70 -0
  2. config.json +52 -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: indecisive-jay-739
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
+ # indecisive-jay-739
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.3385
20
+ - Hamming Loss: 0.1123
21
+ - Zero One Loss: 1.0
22
+ - Jaccard Score: 1.0
23
+ - Hamming Loss Optimised: 0.1123
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.3468 | 0.1123 | 1.0 | 1.0 | 0.1123 | 0.9000 | 1.0 | 0.9000 | 1.0 | 0.9000 |
60
+ | No log | 2.0 | 320 | 0.3445 | 0.1123 | 1.0 | 1.0 | 0.1123 | 0.9000 | 1.0 | 0.9000 | 1.0 | 0.9000 |
61
+ | No log | 3.0 | 480 | 0.3404 | 0.1123 | 1.0 | 1.0 | 0.1123 | 0.9000 | 1.0 | 0.9000 | 1.0 | 0.9000 |
62
+ | 0.3474 | 4.0 | 640 | 0.3385 | 0.1123 | 1.0 | 1.0 | 0.1123 | 0.9000 | 1.0 | 0.9000 | 1.0 | 0.9000 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.46.3
68
+ - Pytorch 2.5.1+cu118
69
+ - Datasets 3.1.0
70
+ - Tokenizers 0.20.3
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "numpy",
15
+ "1": "pandas",
16
+ "2": "django",
17
+ "3": "list",
18
+ "4": "python-2.7",
19
+ "5": "string",
20
+ "6": "python-3.x",
21
+ "7": "dictionary",
22
+ "8": "matplotlib",
23
+ "9": "regex"
24
+ },
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 3072,
27
+ "label2id": {
28
+ "dictionary": 7,
29
+ "django": 2,
30
+ "list": 3,
31
+ "matplotlib": 8,
32
+ "numpy": 0,
33
+ "pandas": 1,
34
+ "python-2.7": 4,
35
+ "python-3.x": 6,
36
+ "regex": 9,
37
+ "string": 5
38
+ },
39
+ "layer_norm_eps": 1e-05,
40
+ "max_position_embeddings": 514,
41
+ "model_type": "roberta",
42
+ "num_attention_heads": 12,
43
+ "num_hidden_layers": 12,
44
+ "pad_token_id": 1,
45
+ "position_embedding_type": "absolute",
46
+ "problem_type": "multi_label_classification",
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.46.3",
49
+ "type_vocab_size": 1,
50
+ "use_cache": true,
51
+ "vocab_size": 50265
52
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fbf177254c67a4398f04e8167d4bc2641ad461bf159db1e6164bb399d5e18af
3
+ size 498637432
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5f693323052b57875f9825bc305f6d3a1e50cbcad1501f659504d35678a1258
3
+ size 5368