Ubin2 commited on
Commit
733d747
·
verified ·
1 Parent(s): b4fe6d1

Ubin2/language_inteligence_4th

Browse files
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ language:
4
+ - ko
5
+ base_model: lang-brain-4
6
+ tags:
7
+ - ynat-classification
8
+ - korean_NLP
9
+ - koELECTRA
10
+ - generated_from_trainer
11
+ metrics:
12
+ - accuracy
13
+ model-index:
14
+ - name: ynat_model
15
+ results: []
16
+ ---
17
+
18
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
19
+ should probably proofread and complete it, then remove this comment. -->
20
+
21
+ # ynat_model
22
+
23
+ This model is a fine-tuned version of [lang-brain-4](https://huggingface.co/lang-brain-4) on the klue-ynat dataset.
24
+ It achieves the following results on the evaluation set:
25
+ - Loss: 0.5163
26
+ - Accuracy: 0.8589
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 5e-05
46
+ - train_batch_size: 64
47
+ - eval_batch_size: 64
48
+ - seed: 42
49
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 5
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
56
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
57
+ | 0.3899 | 1.0 | 714 | 0.4416 | 0.8499 |
58
+ | 0.3074 | 2.0 | 1428 | 0.4062 | 0.8553 |
59
+ | 0.2401 | 3.0 | 2142 | 0.4479 | 0.8547 |
60
+ | 0.1839 | 4.0 | 2856 | 0.4771 | 0.8591 |
61
+ | 0.1231 | 5.0 | 3570 | 0.5163 | 0.8589 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.56.1
67
+ - Pytorch 2.8.0+cu126
68
+ - Datasets 4.0.0
69
+ - Tokenizers 0.22.0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "IT/\uacfc\ud559",
14
+ "1": "\uacbd\uc81c",
15
+ "2": "\uc0ac\ud68c",
16
+ "3": "\uc0dd\ud65c\ubb38\ud654",
17
+ "4": "\uc138\uacc4",
18
+ "5": "\uc2a4\ud3ec\uce20",
19
+ "6": "\uc815\uce58"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "IT/\uacfc\ud559": 0,
25
+ "\uacbd\uc81c": 1,
26
+ "\uc0ac\ud68c": 2,
27
+ "\uc0dd\ud65c\ubb38\ud654": 3,
28
+ "\uc138\uacc4": 4,
29
+ "\uc2a4\ud3ec\uce20": 5,
30
+ "\uc815\uce58": 6
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "max_position_embeddings": 512,
34
+ "model_type": "electra",
35
+ "num_attention_heads": 12,
36
+ "num_hidden_layers": 12,
37
+ "pad_token_id": 0,
38
+ "position_embedding_type": "absolute",
39
+ "problem_type": "single_label_classification",
40
+ "summary_activation": "gelu",
41
+ "summary_last_dropout": 0.1,
42
+ "summary_type": "first",
43
+ "summary_use_proj": true,
44
+ "transformers_version": "4.56.1",
45
+ "type_vocab_size": 2,
46
+ "use_cache": true,
47
+ "vocab_size": 35000
48
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8a6cb57aa27fe2ba265dfbf3132b8295b0c82df53026cd1c5b2ee14a0c87a69
3
+ size 451731052
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,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "ElectraTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f42fe14c82c61bf9529e1232de1d9112b5f2ad2855fa480cacbd502f6e1e8171
3
+ size 5777
vocab.txt ADDED
The diff for this file is too large to render. See raw diff