sorryhyun commited on
Commit
8f59964
·
1 Parent(s): e161a11

Upload 12 files

Browse files
added_tokens.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "&affiliation&": 42001,
3
+ "&bank-account&": 42005,
4
+ "&card-num&": 42004,
5
+ "&name&": 42000,
6
+ "&num&": 42006,
7
+ "&online-account&": 42007,
8
+ "&social-security-num&": 42002,
9
+ "&tel-num&": 42003
10
+ }
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "kykim/electra-kor-base",
3
+ "architectures": [
4
+ "ElectraForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
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
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.22.2",
38
+ "type_vocab_size": 2,
39
+ "use_cache": true,
40
+ "vocab_size": 42008
41
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94c94ac38d6f505d2e29bcb0965341bdeadeb124098277c6d27e89103284304c
3
+ size 946562845
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6b8205b62472fd72b061afdbdfa9c158b5d2b7efbf56ed63eb32aeaf26179c0
3
+ size 473294765
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2b4a996c2a610651d183d6ff5e436b45cbb8da64cd01c1cc307f204772ce7b1
3
+ size 14503
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a3414a27adeae74313dc6979a20ae00d6529edba59c64dfb132729318684d9b
3
+ size 623
special_tokens_map.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "&name&",
4
+ "&affiliation&",
5
+ "&social-security-num&",
6
+ "&tel-num&",
7
+ "&card-num&",
8
+ "&bank-account&",
9
+ "&num&",
10
+ "&online-account&"
11
+ ],
12
+ "cls_token": "[CLS]",
13
+ "mask_token": "[MASK]",
14
+ "pad_token": "[PAD]",
15
+ "sep_token": "[SEP]",
16
+ "unk_token": "[UNK]"
17
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "do_basic_tokenize": true,
4
+ "do_lower_case": true,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "name_or_path": "kykim/electra-kor-base",
8
+ "never_split": null,
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "special_tokens_map_file": null,
12
+ "strip_accents": false,
13
+ "tokenize_chinese_chars": true,
14
+ "tokenizer_class": "ElectraTokenizer",
15
+ "unk_token": "[UNK]"
16
+ }
trainer_state.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7359368938316306,
3
+ "best_model_checkpoint": "./models/baseline-LMkor_emo_model/checkpoint-952",
4
+ "epoch": 4.0,
5
+ "global_step": 952,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 1.0,
12
+ "eval_accuracy": 0.9746434231378764,
13
+ "eval_f1": 0.5608345902463551,
14
+ "eval_loss": 0.8029250502586365,
15
+ "eval_runtime": 3.237,
16
+ "eval_samples_per_second": 194.934,
17
+ "eval_steps_per_second": 3.398,
18
+ "step": 238
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.9778129952456418,
23
+ "eval_f1": 0.6028032770703781,
24
+ "eval_loss": 1.027860164642334,
25
+ "eval_runtime": 3.2318,
26
+ "eval_samples_per_second": 195.244,
27
+ "eval_steps_per_second": 3.404,
28
+ "step": 476
29
+ },
30
+ {
31
+ "epoch": 2.1,
32
+ "learning_rate": 1.3479345947435582e-05,
33
+ "loss": 0.8248,
34
+ "step": 500
35
+ },
36
+ {
37
+ "epoch": 3.0,
38
+ "eval_accuracy": 0.9730586370839936,
39
+ "eval_f1": 0.5595050367831943,
40
+ "eval_loss": 1.371740698814392,
41
+ "eval_runtime": 3.2428,
42
+ "eval_samples_per_second": 194.587,
43
+ "eval_steps_per_second": 3.392,
44
+ "step": 714
45
+ },
46
+ {
47
+ "epoch": 4.0,
48
+ "eval_accuracy": 0.9746434231378764,
49
+ "eval_f1": 0.7359368938316306,
50
+ "eval_loss": 0.8928404450416565,
51
+ "eval_runtime": 3.9611,
52
+ "eval_samples_per_second": 159.299,
53
+ "eval_steps_per_second": 2.777,
54
+ "step": 952
55
+ }
56
+ ],
57
+ "max_steps": 2380,
58
+ "num_train_epochs": 10,
59
+ "total_flos": 494489293335954.0,
60
+ "trial_name": null,
61
+ "trial_params": null
62
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fac8ed53e96e2bbb5f376ab7c30625819129bf852f4eec9bdab1bf67539a7563
3
+ size 3375
vocab.txt ADDED
The diff for this file is too large to render. See raw diff