Han00l commited on
Commit
a9fa8bf
·
verified ·
1 Parent(s): cb596e8

kobert_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.5279
21
+ - Accuracy: 0.7425
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.6898 | 0.5925 |
54
+ | No log | 2.0 | 200 | 0.6713 | 0.6425 |
55
+ | No log | 3.0 | 300 | 0.6305 | 0.69 |
56
+ | No log | 4.0 | 400 | 0.5867 | 0.715 |
57
+ | 0.6422 | 5.0 | 500 | 0.5630 | 0.7075 |
58
+ | 0.6422 | 6.0 | 600 | 0.5326 | 0.745 |
59
+ | 0.6422 | 7.0 | 700 | 0.5395 | 0.745 |
60
+ | 0.6422 | 8.0 | 800 | 0.5281 | 0.7425 |
61
+ | 0.6422 | 9.0 | 900 | 0.5445 | 0.7275 |
62
+ | 0.4493 | 10.0 | 1000 | 0.5279 | 0.7425 |
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:9ae5c343525a4d48dbcde81606bae86deb2f04bdad5ddb8074cb374c23faf401
3
+ size 56513912
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c97bd557b1a6de1d1d6f1e47ac2d6db4276870bc8d78a79080f58424c325bee1
3
+ size 5201