be2be2 commited on
Commit
15c22e4
·
verified ·
1 Parent(s): 029e389

be2be2/koelectra_emotion_v3

Browse files
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: monologg/koelectra-small-finetuned-sentiment
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ model-index:
10
+ - name: koelectra_emotion_v3
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # koelectra_emotion_v3
18
+
19
+ This model is a fine-tuned version of [monologg/koelectra-small-finetuned-sentiment](https://huggingface.co/monologg/koelectra-small-finetuned-sentiment) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 1.3440
22
+ - Accuracy: 0.5564
23
+ - F1: 0.5546
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 5e-05
43
+ - train_batch_size: 64
44
+ - eval_batch_size: 64
45
+ - seed: 42
46
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 20
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
53
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|
54
+ | 1.727 | 1.0 | 895 | 1.6205 | 0.3526 | 0.3069 |
55
+ | 1.5434 | 2.0 | 1790 | 1.4428 | 0.4406 | 0.4066 |
56
+ | 1.4029 | 3.0 | 2685 | 1.3607 | 0.4855 | 0.4753 |
57
+ | 1.3085 | 4.0 | 3580 | 1.3156 | 0.5088 | 0.4973 |
58
+ | 1.241 | 5.0 | 4475 | 1.2789 | 0.5249 | 0.5194 |
59
+ | 1.1863 | 6.0 | 5370 | 1.2742 | 0.5385 | 0.5310 |
60
+ | 1.1408 | 7.0 | 6265 | 1.2499 | 0.5450 | 0.5388 |
61
+ | 1.1039 | 8.0 | 7160 | 1.2570 | 0.5471 | 0.5375 |
62
+ | 1.0666 | 9.0 | 8055 | 1.2541 | 0.5519 | 0.5476 |
63
+ | 1.0321 | 10.0 | 8950 | 1.2498 | 0.5495 | 0.5441 |
64
+ | 1.0015 | 11.0 | 9845 | 1.2688 | 0.5501 | 0.5483 |
65
+ | 0.9714 | 12.0 | 10740 | 1.2720 | 0.5537 | 0.5518 |
66
+ | 0.9444 | 13.0 | 11635 | 1.2770 | 0.5531 | 0.5500 |
67
+ | 0.9202 | 14.0 | 12530 | 1.2830 | 0.5549 | 0.5526 |
68
+ | 0.8979 | 15.0 | 13425 | 1.2969 | 0.5545 | 0.5505 |
69
+ | 0.8771 | 16.0 | 14320 | 1.3264 | 0.5531 | 0.5502 |
70
+ | 0.8593 | 17.0 | 15215 | 1.3280 | 0.5560 | 0.5545 |
71
+ | 0.8427 | 18.0 | 16110 | 1.3377 | 0.5588 | 0.5565 |
72
+ | 0.8322 | 19.0 | 17005 | 1.3371 | 0.5570 | 0.5545 |
73
+ | 0.8196 | 20.0 | 17900 | 1.3440 | 0.5564 | 0.5546 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - Transformers 4.56.1
79
+ - Pytorch 2.8.0+cu126
80
+ - Datasets 4.0.0
81
+ - Tokenizers 0.22.0
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_num_labels": 2,
3
+ "architectures": [
4
+ "ElectraForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "dtype": "float32",
9
+ "embedding_size": 128,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 256,
13
+ "id2label": {
14
+ "0": "\uc911\ub9bd",
15
+ "1": "\uc2ac\ud514",
16
+ "2": "\ubd84\ub178",
17
+ "3": "\ub2f9\ud669",
18
+ "4": "\ubd88\uc548",
19
+ "5": "\ud589\ubcf5",
20
+ "6": "\ud610\uc624"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 1024,
24
+ "label2id": {
25
+ "\ub2f9\ud669": 3,
26
+ "\ubd84\ub178": 2,
27
+ "\ubd88\uc548": 4,
28
+ "\uc2ac\ud514": 1,
29
+ "\uc911\ub9bd": 0,
30
+ "\ud589\ubcf5": 5,
31
+ "\ud610\uc624": 6
32
+ },
33
+ "layer_norm_eps": 1e-12,
34
+ "max_position_embeddings": 512,
35
+ "model_type": "electra",
36
+ "num_attention_heads": 4,
37
+ "num_hidden_layers": 12,
38
+ "output_past": true,
39
+ "pad_token_id": 0,
40
+ "position_embedding_type": "absolute",
41
+ "problem_type": "single_label_classification",
42
+ "summary_activation": "gelu",
43
+ "summary_last_dropout": 0.1,
44
+ "summary_type": "first",
45
+ "summary_use_proj": true,
46
+ "transformers_version": "4.56.1",
47
+ "type_vocab_size": 2,
48
+ "use_cache": true,
49
+ "vocab_size": 32200
50
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3e6d6345805cb693228e9b9d3ffdb063c98236cbbef8c37f2eac150546206ee
3
+ size 55085476
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,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_len": 512,
51
+ "model_max_length": 512,
52
+ "never_split": null,
53
+ "pad_token": "[PAD]",
54
+ "sep_token": "[SEP]",
55
+ "strip_accents": null,
56
+ "tokenize_chinese_chars": true,
57
+ "tokenizer_class": "ElectraTokenizer",
58
+ "unk_token": "[UNK]"
59
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f98701eca653a75e52a733cc3f238c39d0e6dce79e500d6a59232e9f841610ca
3
+ size 5777
vocab.txt ADDED
The diff for this file is too large to render. See raw diff