yehoony commited on
Commit
c0e0c70
·
verified ·
1 Parent(s): e502878

Koelectra_model

Browse files
Files changed (4) hide show
  1. README.md +70 -0
  2. config.json +34 -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
+ base_model: monologg/koelectra-small-v3-discriminator
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: koelectra
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # koelectra
17
+
18
+ This model is a fine-tuned version of [monologg/koelectra-small-v3-discriminator](https://huggingface.co/monologg/koelectra-small-v3-discriminator) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.5305
21
+ - Accuracy: 0.74
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 16
43
+ - seed: 42
44
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 10
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | No log | 1.0 | 100 | 0.6917 | 0.5825 |
54
+ | No log | 2.0 | 200 | 0.6786 | 0.575 |
55
+ | No log | 3.0 | 300 | 0.6044 | 0.7275 |
56
+ | No log | 4.0 | 400 | 0.5657 | 0.7475 |
57
+ | 0.6349 | 5.0 | 500 | 0.5500 | 0.7375 |
58
+ | 0.6349 | 6.0 | 600 | 0.5326 | 0.75 |
59
+ | 0.6349 | 7.0 | 700 | 0.5591 | 0.725 |
60
+ | 0.6349 | 8.0 | 800 | 0.5266 | 0.745 |
61
+ | 0.6349 | 9.0 | 900 | 0.5400 | 0.74 |
62
+ | 0.4565 | 10.0 | 1000 | 0.5305 | 0.74 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 5.0.0
68
+ - Pytorch 2.10.0+cu128
69
+ - Datasets 4.0.0
70
+ - Tokenizers 0.22.2
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "ElectraForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "embedding_size": 128,
11
+ "eos_token_id": null,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 256,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 1024,
17
+ "is_decoder": false,
18
+ "layer_norm_eps": 1e-12,
19
+ "max_position_embeddings": 512,
20
+ "model_type": "electra",
21
+ "num_attention_heads": 4,
22
+ "num_hidden_layers": 12,
23
+ "pad_token_id": 0,
24
+ "problem_type": "single_label_classification",
25
+ "summary_activation": "gelu",
26
+ "summary_last_dropout": 0.1,
27
+ "summary_type": "first",
28
+ "summary_use_proj": true,
29
+ "tie_word_embeddings": true,
30
+ "transformers_version": "5.0.0",
31
+ "type_vocab_size": 2,
32
+ "use_cache": false,
33
+ "vocab_size": 35000
34
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d94bfc56b1f16d2c3ea6922a0761e3e871dd96dd07ba12551888c9d75abe0fa8
3
+ size 56513912
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57aa1363571a8c4583f81faf15841d101a59c826b93b2ce54ba0e1f918887b1d
3
+ size 5201