jialicheng commited on
Commit
d40925f
1 Parent(s): 77b3021

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: imdb_42
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # imdb_42
15
+
16
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - eval_loss: 0.0003
19
+ - eval_accuracy: 1.0000
20
+ - eval_runtime: 75.737
21
+ - eval_samples_per_second: 330.09
22
+ - eval_steps_per_second: 1.294
23
+ - step: 0
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 5e-05
43
+ - train_batch_size: 32
44
+ - eval_batch_size: 256
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 10
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.39.3
53
+ - Pytorch 2.2.2+cu118
54
+ - Datasets 2.18.0
55
+ - Tokenizers 0.15.2
all_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "eval_accuracy": 0.99996,
4
+ "eval_loss": 0.00027643845533020794,
5
+ "eval_runtime": 75.737,
6
+ "eval_samples": 25000,
7
+ "eval_samples_per_second": 330.09,
8
+ "eval_steps_per_second": 1.294,
9
+ "train_loss": 0.07364957506394447,
10
+ "train_runtime": 797.6475,
11
+ "train_samples": 25000,
12
+ "train_samples_per_second": 313.422,
13
+ "train_steps_per_second": 9.804
14
+ }
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "finetuning_task": "text-classification",
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "0",
15
+ "1": "1"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "0": 0,
21
+ "1": 1
22
+ },
23
+ "layer_norm_eps": 1e-12,
24
+ "max_position_embeddings": 512,
25
+ "model_type": "bert",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
+ "pad_token_id": 0,
29
+ "position_embedding_type": "absolute",
30
+ "problem_type": "single_label_classification",
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.28.0",
33
+ "type_vocab_size": 2,
34
+ "use_cache": true,
35
+ "vocab_size": 30522
36
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_accuracy": 0.88732,
3
+ "eval_loss": 0.8893803954124451,
4
+ "eval_runtime": 97.5647,
5
+ "eval_samples": 25000,
6
+ "eval_samples_per_second": 256.24,
7
+ "eval_steps_per_second": 1.004
8
+ }
pred_logit_eval.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6772e889a33ddacf9c3f2d22208c2f505f4d44d301499d6adaecc5c4a489182c
3
+ size 200128
pred_logit_test.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6772e889a33ddacf9c3f2d22208c2f505f4d44d301499d6adaecc5c4a489182c
3
+ size 200128
pred_logit_train.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed2d30ddf192e690897f9796f5554f95f32fddf421f1b531c8ee0b1599c21e98
3
+ size 200128
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41c6cf38ac6be12c428c95dc645a8468c01ba198a7f5acf735f8f31adbb83149
3
+ size 438006125
runs/Apr17_12-06-40_clu/events.out.tfevents.1713355674.clu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9535b0a2f571e1555f5fd81858ceb9e072e4b734862663bfdc2d3cd4019e10aa
3
+ size 298
runs/Apr21_13-51-18_clu/events.out.tfevents.1713707544.clu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95be4bd7aa54eaad75d49ee8b5039cc8bd720308d56bb9eabcea732dbb1ddb3c
3
+ size 298
runs/Apr21_14-55-43_clu/events.out.tfevents.1713711396.clu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:113f2c250862ff8e2f9c24b2e38b13a7f83985268399a4a6e645055d9c058349
3
+ size 298
runs/Apr21_14-59-03_clu/events.out.tfevents.1713711635.clu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:277fa271b4880c80f84fbf67594f637735c6b2cdcba3bf02d4739c81c7fc644d
3
+ size 556
runs/Apr21_15-06-38_clu/events.out.tfevents.1713712100.clu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b23e453e692ab633faa7ad645c78c2eaa61c12269b87342f0e4cbcbc2a8ad3b
3
+ size 814
runs/Apr21_15-51-39_clu/events.out.tfevents.1713714810.clu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:167c13778c9a6a0127d59b521ccd47479912feab3e124cc7450bc822df4652ba
3
+ size 814
runs/Mar18_05-43-22_clu/1710740630.8411405/events.out.tfevents.1710740630.clu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0692fcf5ee8524b6ea736d8bde02609f21de37fcbd98ab8d709b50c9dc3172d
3
+ size 5619
runs/Mar18_05-43-22_clu/events.out.tfevents.1710740630.clu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e5b9c9e1290abda12a605c6b2474b2221b26f8a8f8acf599c9fbae1b0b1d9b8
3
+ size 8862
runs/Mar18_05-43-22_clu/events.out.tfevents.1710741444.clu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f638289892453b763dfa15009b25f91433ab92aaad3c2aad3838ddc66db094a
3
+ size 363
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
+ }
test_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_accuracy": 0.88732,
3
+ "eval_loss": 0.8893803954124451,
4
+ "eval_runtime": 89.64,
5
+ "eval_samples": 25000,
6
+ "eval_samples_per_second": 278.893,
7
+ "eval_steps_per_second": 1.093
8
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "BertTokenizer",
12
+ "unk_token": "[UNK]"
13
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_accuracy": 0.99996,
3
+ "eval_loss": 0.00027643845533020794,
4
+ "eval_runtime": 75.737,
5
+ "eval_samples": 25000,
6
+ "eval_samples_per_second": 330.09,
7
+ "eval_steps_per_second": 1.294
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.88732,
3
+ "best_model_checkpoint": "checkpoint/bert-base/imdb_42/checkpoint-7820",
4
+ "epoch": 10.0,
5
+ "global_step": 7820,
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.885,
13
+ "eval_loss": 0.2771714925765991,
14
+ "eval_runtime": 15.7601,
15
+ "eval_samples_per_second": 1586.288,
16
+ "eval_steps_per_second": 6.218,
17
+ "step": 782
18
+ },
19
+ {
20
+ "epoch": 1.28,
21
+ "learning_rate": 4.360613810741688e-05,
22
+ "loss": 0.3091,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 2.0,
27
+ "eval_accuracy": 0.88332,
28
+ "eval_loss": 0.3185863494873047,
29
+ "eval_runtime": 14.8791,
30
+ "eval_samples_per_second": 1680.206,
31
+ "eval_steps_per_second": 6.586,
32
+ "step": 1564
33
+ },
34
+ {
35
+ "epoch": 2.56,
36
+ "learning_rate": 3.721227621483376e-05,
37
+ "loss": 0.1446,
38
+ "step": 2000
39
+ },
40
+ {
41
+ "epoch": 3.0,
42
+ "eval_accuracy": 0.88372,
43
+ "eval_loss": 0.4319324493408203,
44
+ "eval_runtime": 15.634,
45
+ "eval_samples_per_second": 1599.077,
46
+ "eval_steps_per_second": 6.268,
47
+ "step": 2346
48
+ },
49
+ {
50
+ "epoch": 3.84,
51
+ "learning_rate": 3.081841432225064e-05,
52
+ "loss": 0.0654,
53
+ "step": 3000
54
+ },
55
+ {
56
+ "epoch": 4.0,
57
+ "eval_accuracy": 0.88224,
58
+ "eval_loss": 0.527112603187561,
59
+ "eval_runtime": 15.5935,
60
+ "eval_samples_per_second": 1603.233,
61
+ "eval_steps_per_second": 6.285,
62
+ "step": 3128
63
+ },
64
+ {
65
+ "epoch": 5.0,
66
+ "eval_accuracy": 0.882,
67
+ "eval_loss": 0.7103033065795898,
68
+ "eval_runtime": 15.6832,
69
+ "eval_samples_per_second": 1594.061,
70
+ "eval_steps_per_second": 6.249,
71
+ "step": 3910
72
+ },
73
+ {
74
+ "epoch": 5.12,
75
+ "learning_rate": 2.442455242966752e-05,
76
+ "loss": 0.0255,
77
+ "step": 4000
78
+ },
79
+ {
80
+ "epoch": 6.0,
81
+ "eval_accuracy": 0.88156,
82
+ "eval_loss": 0.7340117692947388,
83
+ "eval_runtime": 15.5378,
84
+ "eval_samples_per_second": 1608.978,
85
+ "eval_steps_per_second": 6.307,
86
+ "step": 4692
87
+ },
88
+ {
89
+ "epoch": 6.39,
90
+ "learning_rate": 1.80306905370844e-05,
91
+ "loss": 0.0144,
92
+ "step": 5000
93
+ },
94
+ {
95
+ "epoch": 7.0,
96
+ "eval_accuracy": 0.88624,
97
+ "eval_loss": 0.8043656945228577,
98
+ "eval_runtime": 15.5601,
99
+ "eval_samples_per_second": 1606.673,
100
+ "eval_steps_per_second": 6.298,
101
+ "step": 5474
102
+ },
103
+ {
104
+ "epoch": 7.67,
105
+ "learning_rate": 1.163682864450128e-05,
106
+ "loss": 0.0106,
107
+ "step": 6000
108
+ },
109
+ {
110
+ "epoch": 8.0,
111
+ "eval_accuracy": 0.88544,
112
+ "eval_loss": 0.8684703707695007,
113
+ "eval_runtime": 15.6281,
114
+ "eval_samples_per_second": 1599.681,
115
+ "eval_steps_per_second": 6.271,
116
+ "step": 6256
117
+ },
118
+ {
119
+ "epoch": 8.95,
120
+ "learning_rate": 5.242966751918159e-06,
121
+ "loss": 0.0049,
122
+ "step": 7000
123
+ },
124
+ {
125
+ "epoch": 9.0,
126
+ "eval_accuracy": 0.88596,
127
+ "eval_loss": 0.8513516187667847,
128
+ "eval_runtime": 15.5688,
129
+ "eval_samples_per_second": 1605.772,
130
+ "eval_steps_per_second": 6.295,
131
+ "step": 7038
132
+ },
133
+ {
134
+ "epoch": 10.0,
135
+ "eval_accuracy": 0.88732,
136
+ "eval_loss": 0.8893799185752869,
137
+ "eval_runtime": 15.6721,
138
+ "eval_samples_per_second": 1595.191,
139
+ "eval_steps_per_second": 6.253,
140
+ "step": 7820
141
+ },
142
+ {
143
+ "epoch": 10.0,
144
+ "step": 7820,
145
+ "total_flos": 1.644444096e+16,
146
+ "train_loss": 0.07364957506394447,
147
+ "train_runtime": 797.6475,
148
+ "train_samples_per_second": 313.422,
149
+ "train_steps_per_second": 9.804
150
+ }
151
+ ],
152
+ "max_steps": 7820,
153
+ "num_train_epochs": 10,
154
+ "total_flos": 1.644444096e+16,
155
+ "trial_name": null,
156
+ "trial_params": null
157
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:894be00755fd41b0392e4629f82e6cf25f5f5238084fede785713bbc01311ad1
3
+ size 3631
vocab.txt ADDED
The diff for this file is too large to render. See raw diff