balluk commited on
Commit
8700cf8
1 Parent(s): 3abdf3a

End of training

Browse files
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - sem_eval_2018_task_1
8
+ metrics:
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: bert-finetuned-sem_eval-english
13
+ results:
14
+ - task:
15
+ name: Text Classification
16
+ type: text-classification
17
+ dataset:
18
+ name: sem_eval_2018_task_1
19
+ type: sem_eval_2018_task_1
20
+ config: subtask5.english
21
+ split: validation
22
+ args: subtask5.english
23
+ metrics:
24
+ - name: F1
25
+ type: f1
26
+ value: 0.7075236671649229
27
+ - name: Accuracy
28
+ type: accuracy
29
+ value: 0.28555304740406323
30
+ ---
31
+
32
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
33
+ should probably proofread and complete it, then remove this comment. -->
34
+
35
+ # bert-finetuned-sem_eval-english
36
+
37
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the sem_eval_2018_task_1 dataset.
38
+ It achieves the following results on the evaluation set:
39
+ - Loss: 0.3008
40
+ - F1: 0.7075
41
+ - Roc Auc: 0.8000
42
+ - Accuracy: 0.2856
43
+
44
+ ## Model description
45
+
46
+ More information needed
47
+
48
+ ## Intended uses & limitations
49
+
50
+ More information needed
51
+
52
+ ## Training and evaluation data
53
+
54
+ More information needed
55
+
56
+ ## Training procedure
57
+
58
+ ### Training hyperparameters
59
+
60
+ The following hyperparameters were used during training:
61
+ - learning_rate: 2e-05
62
+ - train_batch_size: 8
63
+ - eval_batch_size: 8
64
+ - seed: 42
65
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
66
+ - lr_scheduler_type: linear
67
+ - num_epochs: 5
68
+
69
+ ### Training results
70
+
71
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy |
72
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|:--------:|
73
+ | 0.3964 | 1.0 | 855 | 0.3197 | 0.6852 | 0.7849 | 0.2810 |
74
+ | 0.2788 | 2.0 | 1710 | 0.3039 | 0.7049 | 0.7978 | 0.2912 |
75
+ | 0.2347 | 3.0 | 2565 | 0.3008 | 0.7075 | 0.8000 | 0.2856 |
76
+ | 0.2094 | 4.0 | 3420 | 0.3091 | 0.7041 | 0.7976 | 0.2856 |
77
+ | 0.1886 | 5.0 | 4275 | 0.3122 | 0.7068 | 0.8011 | 0.2810 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.33.3
83
+ - Pytorch 2.0.1
84
+ - Datasets 2.14.5
85
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "anger",
14
+ "1": "anticipation",
15
+ "2": "disgust",
16
+ "3": "fear",
17
+ "4": "joy",
18
+ "5": "love",
19
+ "6": "optimism",
20
+ "7": "pessimism",
21
+ "8": "sadness",
22
+ "9": "surprise",
23
+ "10": "trust"
24
+ },
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 3072,
27
+ "label2id": {
28
+ "anger": 0,
29
+ "anticipation": 1,
30
+ "disgust": 2,
31
+ "fear": 3,
32
+ "joy": 4,
33
+ "love": 5,
34
+ "optimism": 6,
35
+ "pessimism": 7,
36
+ "sadness": 8,
37
+ "surprise": 9,
38
+ "trust": 10
39
+ },
40
+ "layer_norm_eps": 1e-12,
41
+ "max_position_embeddings": 512,
42
+ "model_type": "bert",
43
+ "num_attention_heads": 12,
44
+ "num_hidden_layers": 12,
45
+ "pad_token_id": 0,
46
+ "position_embedding_type": "absolute",
47
+ "problem_type": "multi_label_classification",
48
+ "torch_dtype": "float32",
49
+ "transformers_version": "4.33.3",
50
+ "type_vocab_size": 2,
51
+ "use_cache": true,
52
+ "vocab_size": 30522
53
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4561764cf035a97247726c6a64aff1f7383d0825240abe123443f32ca85489b
3
+ size 438028337
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "BertTokenizer",
12
+ "unk_token": "[UNK]"
13
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00254676b6bbc01a0ea976c273d1ecab64e598b16705347582058e5b7662b212
3
+ size 4091
vocab.txt ADDED
The diff for this file is too large to render. See raw diff