Ubuntu commited on
Commit
4318d85
·
1 Parent(s): 9279ab5

Upload finetuned model weight

Browse files
all_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.9518348623853211,
4
+ "eval_loss": 0.19545245170593262,
5
+ "eval_runtime": 5.8156,
6
+ "eval_samples": 872,
7
+ "eval_samples_per_second": 149.943,
8
+ "train_runtime": 3417.3067,
9
+ "train_samples": 67349,
10
+ "train_samples_per_second": 1.848
11
+ }
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/electra-base-discriminator",
3
+ "architectures": [
4
+ "ElectraForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "embedding_size": 768,
8
+ "finetuning_task": "sst2",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "electra",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "summary_activation": "gelu",
22
+ "summary_last_dropout": 0.1,
23
+ "summary_type": "first",
24
+ "summary_use_proj": true,
25
+ "transformers_version": "4.6.0.dev0",
26
+ "type_vocab_size": 2,
27
+ "vocab_size": 30522
28
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.9518348623853211,
4
+ "eval_loss": 0.19545245170593262,
5
+ "eval_runtime": 5.8156,
6
+ "eval_samples": 872,
7
+ "eval_samples_per_second": 149.943
8
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d51f4d737b844c314bb6cfa7e0540b0ecc927dd757b385434e40cd425c644689
3
+ size 438023632
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "google/electra-base-discriminator"}
train_results.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "train_runtime": 3417.3067,
4
+ "train_samples": 67349,
5
+ "train_samples_per_second": 1.848
6
+ }
trainer_state.json ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "global_step": 6315,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.24,
12
+ "learning_rate": 1.8416468725257326e-05,
13
+ "loss": 0.2819,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.48,
18
+ "learning_rate": 1.6832937450514647e-05,
19
+ "loss": 0.1863,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.71,
24
+ "learning_rate": 1.5249406175771972e-05,
25
+ "loss": 0.1603,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 0.95,
30
+ "learning_rate": 1.3665874901029297e-05,
31
+ "loss": 0.1523,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 1.19,
36
+ "learning_rate": 1.208234362628662e-05,
37
+ "loss": 0.1108,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 1.43,
42
+ "learning_rate": 1.0498812351543943e-05,
43
+ "loss": 0.1091,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 1.66,
48
+ "learning_rate": 8.915281076801267e-06,
49
+ "loss": 0.1132,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 1.9,
54
+ "learning_rate": 7.331749802058591e-06,
55
+ "loss": 0.1071,
56
+ "step": 4000
57
+ },
58
+ {
59
+ "epoch": 2.14,
60
+ "learning_rate": 5.748218527315916e-06,
61
+ "loss": 0.0904,
62
+ "step": 4500
63
+ },
64
+ {
65
+ "epoch": 2.38,
66
+ "learning_rate": 4.164687252573238e-06,
67
+ "loss": 0.0743,
68
+ "step": 5000
69
+ },
70
+ {
71
+ "epoch": 2.61,
72
+ "learning_rate": 2.581155977830562e-06,
73
+ "loss": 0.0785,
74
+ "step": 5500
75
+ },
76
+ {
77
+ "epoch": 2.85,
78
+ "learning_rate": 9.976247030878861e-07,
79
+ "loss": 0.0701,
80
+ "step": 6000
81
+ },
82
+ {
83
+ "epoch": 3.0,
84
+ "step": 6315,
85
+ "total_flos": 1.6988827310258688e+16,
86
+ "train_runtime": 3417.3067,
87
+ "train_samples_per_second": 1.848
88
+ }
89
+ ],
90
+ "max_steps": 6315,
91
+ "num_train_epochs": 3,
92
+ "total_flos": 1.6988827310258688e+16,
93
+ "trial_name": null,
94
+ "trial_params": null
95
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7debc14fb8d941ab674057a31544c986565bd75fcd17845ad744eb36e5f4241
3
+ size 2415
vocab.txt ADDED
The diff for this file is too large to render. See raw diff