jialicheng commited on
Commit
0aeec01
1 Parent(s): 9404e0c

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: microsoft/deberta-v3-base
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 [microsoft/deberta-v3-base](https://huggingface.co/microsoft/deberta-v3-base) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - eval_loss: 0.0095
19
+ - eval_accuracy: 0.9987
20
+ - eval_runtime: 48.9862
21
+ - eval_samples_per_second: 510.348
22
+ - eval_steps_per_second: 2.001
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
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[MASK]": 128000
3
+ }
all_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "eval_accuracy": 0.99872,
4
+ "eval_loss": 0.009523958899080753,
5
+ "eval_runtime": 48.9862,
6
+ "eval_samples": 25000,
7
+ "eval_samples_per_second": 510.348,
8
+ "eval_steps_per_second": 2.001,
9
+ "train_loss": 0.07955141689466394,
10
+ "train_runtime": 1147.935,
11
+ "train_samples": 25000,
12
+ "train_samples_per_second": 217.782,
13
+ "train_steps_per_second": 6.812
14
+ }
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/deberta-v3-base",
3
+ "architectures": [
4
+ "DebertaV2ForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "finetuning_task": "text-classification",
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "0",
13
+ "1": "1"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "label2id": {
18
+ "0": 0,
19
+ "1": 1
20
+ },
21
+ "layer_norm_eps": 1e-07,
22
+ "max_position_embeddings": 512,
23
+ "max_relative_positions": -1,
24
+ "model_type": "deberta-v2",
25
+ "norm_rel_ebd": "layer_norm",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
+ "pad_token_id": 0,
29
+ "pooler_dropout": 0,
30
+ "pooler_hidden_act": "gelu",
31
+ "pooler_hidden_size": 768,
32
+ "pos_att_type": [
33
+ "p2c",
34
+ "c2p"
35
+ ],
36
+ "position_biased_input": false,
37
+ "position_buckets": 256,
38
+ "problem_type": "single_label_classification",
39
+ "relative_attention": true,
40
+ "share_att_key": true,
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.28.0",
43
+ "type_vocab_size": 0,
44
+ "vocab_size": 128100
45
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_accuracy": 0.9136,
3
+ "eval_loss": 0.5574674010276794,
4
+ "eval_runtime": 52.5651,
5
+ "eval_samples": 25000,
6
+ "eval_samples_per_second": 475.601,
7
+ "eval_steps_per_second": 1.864
8
+ }
pred_logit_eval.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e920968a87e67adc67049321999648e769ebf0914f219dc8461b8719228512a
3
+ size 200128
pred_logit_test.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e920968a87e67adc67049321999648e769ebf0914f219dc8461b8719228512a
3
+ size 200128
pred_logit_train.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7694a0547d2a89c7dabee974e24cf839c71185f137f4d4135ca41d04e4c9e935
3
+ size 200128
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39f4a781653f5d302ad4678666b0172ccf7aefd4083e277c7a5704019f89d71a
3
+ size 737766955
runs/Apr17_12-36-31_clu/events.out.tfevents.1713357481.clu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81bc94dcc447e5d9605e8c1101549239153f8e60915b4689bbc654d8665af826
3
+ size 298
runs/Apr21_17-15-24_clu/events.out.tfevents.1713719787.clu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:656fc93c666503d8c418237ff88fcad26b780f6fcb302527523df8b64e53b579
3
+ size 814
runs/Mar18_14-37-33_clu/1710772688.37095/events.out.tfevents.1710772688.clu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b24b23853cb1521ae8f74ce0c17feb16fdd15d843b6898875f5c779138aa691e
3
+ size 5631
runs/Mar18_14-37-33_clu/events.out.tfevents.1710772688.clu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3724a9aaa1b3fba795d1b81aba935f73705619908dc0c2df0b2e90bca0e649ba
3
+ size 9023
runs/Mar18_14-37-33_clu/events.out.tfevents.1710773859.clu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5add8644d5e4da2c1fdcd936f1bfd6a30439d46a02e6b6979aea4b3b7605a58f
3
+ size 363
special_tokens_map.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[CLS]",
3
+ "cls_token": "[CLS]",
4
+ "eos_token": "[SEP]",
5
+ "mask_token": "[MASK]",
6
+ "pad_token": "[PAD]",
7
+ "sep_token": "[SEP]",
8
+ "unk_token": "[UNK]"
9
+ }
spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
3
+ size 2464616
test_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_accuracy": 0.9136,
3
+ "eval_loss": 0.5574674010276794,
4
+ "eval_runtime": 49.0027,
5
+ "eval_samples": 25000,
6
+ "eval_samples_per_second": 510.175,
7
+ "eval_steps_per_second": 2.0
8
+ }
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
+ "bos_token": "[CLS]",
3
+ "clean_up_tokenization_spaces": true,
4
+ "cls_token": "[CLS]",
5
+ "do_lower_case": false,
6
+ "eos_token": "[SEP]",
7
+ "mask_token": "[MASK]",
8
+ "model_max_length": 1000000000000000019884624838656,
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "sp_model_kwargs": {},
12
+ "split_by_punct": false,
13
+ "tokenizer_class": "DebertaV2Tokenizer",
14
+ "unk_token": "[UNK]",
15
+ "vocab_type": "spm"
16
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_accuracy": 0.99872,
3
+ "eval_loss": 0.009523958899080753,
4
+ "eval_runtime": 48.9862,
5
+ "eval_samples": 25000,
6
+ "eval_samples_per_second": 510.348,
7
+ "eval_steps_per_second": 2.001
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9136,
3
+ "best_model_checkpoint": "checkpoint/deberta-base/imdb_42/checkpoint-6256",
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.91168,
13
+ "eval_loss": 0.22001588344573975,
14
+ "eval_runtime": 22.3141,
15
+ "eval_samples_per_second": 1120.369,
16
+ "eval_steps_per_second": 4.392,
17
+ "step": 782
18
+ },
19
+ {
20
+ "epoch": 1.28,
21
+ "learning_rate": 4.360613810741688e-05,
22
+ "loss": 0.2741,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 2.0,
27
+ "eval_accuracy": 0.90984,
28
+ "eval_loss": 0.23234927654266357,
29
+ "eval_runtime": 22.2845,
30
+ "eval_samples_per_second": 1121.854,
31
+ "eval_steps_per_second": 4.398,
32
+ "step": 1564
33
+ },
34
+ {
35
+ "epoch": 2.56,
36
+ "learning_rate": 3.721227621483376e-05,
37
+ "loss": 0.1524,
38
+ "step": 2000
39
+ },
40
+ {
41
+ "epoch": 3.0,
42
+ "eval_accuracy": 0.91116,
43
+ "eval_loss": 0.31343552470207214,
44
+ "eval_runtime": 22.2601,
45
+ "eval_samples_per_second": 1123.083,
46
+ "eval_steps_per_second": 4.402,
47
+ "step": 2346
48
+ },
49
+ {
50
+ "epoch": 3.84,
51
+ "learning_rate": 3.081841432225064e-05,
52
+ "loss": 0.0863,
53
+ "step": 3000
54
+ },
55
+ {
56
+ "epoch": 4.0,
57
+ "eval_accuracy": 0.91352,
58
+ "eval_loss": 0.36432042717933655,
59
+ "eval_runtime": 22.1164,
60
+ "eval_samples_per_second": 1130.384,
61
+ "eval_steps_per_second": 4.431,
62
+ "step": 3128
63
+ },
64
+ {
65
+ "epoch": 5.0,
66
+ "eval_accuracy": 0.90884,
67
+ "eval_loss": 0.3902149498462677,
68
+ "eval_runtime": 22.2414,
69
+ "eval_samples_per_second": 1124.03,
70
+ "eval_steps_per_second": 4.406,
71
+ "step": 3910
72
+ },
73
+ {
74
+ "epoch": 5.12,
75
+ "learning_rate": 2.442455242966752e-05,
76
+ "loss": 0.046,
77
+ "step": 4000
78
+ },
79
+ {
80
+ "epoch": 6.0,
81
+ "eval_accuracy": 0.9102,
82
+ "eval_loss": 0.45257332921028137,
83
+ "eval_runtime": 22.1568,
84
+ "eval_samples_per_second": 1128.324,
85
+ "eval_steps_per_second": 4.423,
86
+ "step": 4692
87
+ },
88
+ {
89
+ "epoch": 6.39,
90
+ "learning_rate": 1.80306905370844e-05,
91
+ "loss": 0.0244,
92
+ "step": 5000
93
+ },
94
+ {
95
+ "epoch": 7.0,
96
+ "eval_accuracy": 0.91224,
97
+ "eval_loss": 0.5029028058052063,
98
+ "eval_runtime": 22.1112,
99
+ "eval_samples_per_second": 1130.65,
100
+ "eval_steps_per_second": 4.432,
101
+ "step": 5474
102
+ },
103
+ {
104
+ "epoch": 7.67,
105
+ "learning_rate": 1.163682864450128e-05,
106
+ "loss": 0.019,
107
+ "step": 6000
108
+ },
109
+ {
110
+ "epoch": 8.0,
111
+ "eval_accuracy": 0.9136,
112
+ "eval_loss": 0.5574696063995361,
113
+ "eval_runtime": 22.1411,
114
+ "eval_samples_per_second": 1129.122,
115
+ "eval_steps_per_second": 4.426,
116
+ "step": 6256
117
+ },
118
+ {
119
+ "epoch": 8.95,
120
+ "learning_rate": 5.242966751918159e-06,
121
+ "loss": 0.0114,
122
+ "step": 7000
123
+ },
124
+ {
125
+ "epoch": 9.0,
126
+ "eval_accuracy": 0.91356,
127
+ "eval_loss": 0.5506225228309631,
128
+ "eval_runtime": 22.2458,
129
+ "eval_samples_per_second": 1123.808,
130
+ "eval_steps_per_second": 4.405,
131
+ "step": 7038
132
+ },
133
+ {
134
+ "epoch": 10.0,
135
+ "eval_accuracy": 0.91312,
136
+ "eval_loss": 0.559421956539154,
137
+ "eval_runtime": 22.097,
138
+ "eval_samples_per_second": 1131.374,
139
+ "eval_steps_per_second": 4.435,
140
+ "step": 7820
141
+ },
142
+ {
143
+ "epoch": 10.0,
144
+ "step": 7820,
145
+ "total_flos": 1.6444735872e+16,
146
+ "train_loss": 0.07955141689466394,
147
+ "train_runtime": 1147.935,
148
+ "train_samples_per_second": 217.782,
149
+ "train_steps_per_second": 6.812
150
+ }
151
+ ],
152
+ "max_steps": 7820,
153
+ "num_train_epochs": 10,
154
+ "total_flos": 1.6444735872e+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:0281b25f752f418d3ef28b56395ea4c47f253624c2921ce32e22c95ed1a7acf4
3
+ size 3631