jxchlee commited on
Commit
6c484e7
·
verified ·
1 Parent(s): 6865a84

jxchlee/kcelectra-base-absa

Browse files
Files changed (4) hide show
  1. README.md +70 -0
  2. config.json +41 -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
+ language:
4
+ - ko
5
+ license: mit
6
+ base_model: beomi/KcELECTRA-base-v2022
7
+ tags:
8
+ - absa
9
+ - sentiment-analysis
10
+ - aspect-based-sentiment-analysis
11
+ - generated_from_trainer
12
+ metrics:
13
+ - accuracy
14
+ - f1
15
+ model-index:
16
+ - name: kcELECTRA-absa
17
+ results: []
18
+ ---
19
+
20
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
21
+ should probably proofread and complete it, then remove this comment. -->
22
+
23
+ # kcELECTRA-absa
24
+
25
+ This model is a fine-tuned version of [beomi/KcELECTRA-base-v2022](https://huggingface.co/beomi/KcELECTRA-base-v2022) on the AI Hub Kor ABSA Dataset dataset.
26
+ It achieves the following results on the evaluation set:
27
+ - Loss: 0.1406
28
+ - Accuracy: 0.9629
29
+ - F1: 0.8299
30
+
31
+ ## Model description
32
+
33
+ More information needed
34
+
35
+ ## Intended uses & limitations
36
+
37
+ More information needed
38
+
39
+ ## Training and evaluation data
40
+
41
+ More information needed
42
+
43
+ ## Training procedure
44
+
45
+ ### Training hyperparameters
46
+
47
+ The following hyperparameters were used during training:
48
+ - learning_rate: 3e-05
49
+ - train_batch_size: 16
50
+ - eval_batch_size: 16
51
+ - seed: 42
52
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
53
+ - lr_scheduler_type: linear
54
+ - num_epochs: 3
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
59
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|
60
+ | 0.1644 | 1.0 | 12920 | 0.1546 | 0.9526 | 0.7836 |
61
+ | 0.1073 | 2.0 | 25840 | 0.1399 | 0.9618 | 0.8229 |
62
+ | 0.1156 | 3.0 | 38760 | 0.1406 | 0.9629 | 0.8299 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.57.1
68
+ - Pytorch 2.8.0+cu126
69
+ - Datasets 4.0.0
70
+ - Tokenizers 0.22.1
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ElectraForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "dtype": "float32",
8
+ "embedding_size": 768,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "LABEL_0": 0,
21
+ "LABEL_1": 1,
22
+ "LABEL_2": 2
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "max_position_embeddings": 512,
26
+ "model_type": "electra",
27
+ "num_attention_heads": 12,
28
+ "num_hidden_layers": 12,
29
+ "pad_token_id": 0,
30
+ "position_embedding_type": "absolute",
31
+ "problem_type": "single_label_classification",
32
+ "summary_activation": "gelu",
33
+ "summary_last_dropout": 0.1,
34
+ "summary_type": "first",
35
+ "summary_use_proj": true,
36
+ "tokenizer_class": "BertTokenizer",
37
+ "transformers_version": "4.57.1",
38
+ "type_vocab_size": 2,
39
+ "use_cache": true,
40
+ "vocab_size": 54343
41
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2004aa5b8935fde894c145a9052026c2030e16caa5678f96a03656a72455c627
3
+ size 511140444
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61ee80d5ac16c2d89ccc4567b5dbee8b129b227dfa5b0062963fab041b729b95
3
+ size 5841