utyug1 commited on
Commit
330a50e
·
verified ·
1 Parent(s): a7a2f5c

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ProsusAI/finbert",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "positive",
14
+ "1": "negative",
15
+ "2": "neutral"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "negative": 1,
21
+ "neutral": 2,
22
+ "positive": 0
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "max_position_embeddings": 512,
26
+ "model_type": "bert",
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
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.46.3",
34
+ "type_vocab_size": 2,
35
+ "use_cache": true,
36
+ "vocab_size": 30522
37
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0f1372a98474a8a5bdfcfce093c3cf5c7d00aabb5d8c7f3e82a657cd5512668
3
+ size 437961724
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ff96db94351077a537e63bd3c214322ab89ba172307f5fb2488705a6df09fca
3
+ size 876044037
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98c08f29176f25af8f22d8f16a7b397da2f95e7d4aa320076049fad0bbeb4ce4
3
+ size 14639
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70fabc5269785aa082a908e8622f55b8bbc0a78e118746cddd1b0062ad9ab4d2
3
+ size 627
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,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
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": true,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "never_split": null,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "BertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
trainer_state.json ADDED
@@ -0,0 +1,190 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.6687281727790833,
3
+ "best_model_checkpoint": "/home/boris.ustyugov/exness/deepschool_deploy/hw3-hf-transformers/finetuned_model/checkpoint-1000",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1000,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.05,
13
+ "grad_norm": 22.86173439025879,
14
+ "learning_rate": 1.9666666666666666e-05,
15
+ "loss": 0.869,
16
+ "step": 50
17
+ },
18
+ {
19
+ "epoch": 0.1,
20
+ "grad_norm": 57.24214172363281,
21
+ "learning_rate": 1.9333333333333333e-05,
22
+ "loss": 0.7937,
23
+ "step": 100
24
+ },
25
+ {
26
+ "epoch": 0.15,
27
+ "grad_norm": 10.02920913696289,
28
+ "learning_rate": 1.9e-05,
29
+ "loss": 0.9386,
30
+ "step": 150
31
+ },
32
+ {
33
+ "epoch": 0.2,
34
+ "grad_norm": 0.9098700881004333,
35
+ "learning_rate": 1.866666666666667e-05,
36
+ "loss": 0.8032,
37
+ "step": 200
38
+ },
39
+ {
40
+ "epoch": 0.25,
41
+ "grad_norm": 0.5401331782341003,
42
+ "learning_rate": 1.8333333333333333e-05,
43
+ "loss": 0.6767,
44
+ "step": 250
45
+ },
46
+ {
47
+ "epoch": 0.3,
48
+ "grad_norm": 20.837909698486328,
49
+ "learning_rate": 1.8e-05,
50
+ "loss": 0.9775,
51
+ "step": 300
52
+ },
53
+ {
54
+ "epoch": 0.35,
55
+ "grad_norm": 0.4586431086063385,
56
+ "learning_rate": 1.7666666666666668e-05,
57
+ "loss": 1.1348,
58
+ "step": 350
59
+ },
60
+ {
61
+ "epoch": 0.4,
62
+ "grad_norm": 87.78131103515625,
63
+ "learning_rate": 1.7333333333333336e-05,
64
+ "loss": 0.7649,
65
+ "step": 400
66
+ },
67
+ {
68
+ "epoch": 0.45,
69
+ "grad_norm": 0.21819159388542175,
70
+ "learning_rate": 1.7e-05,
71
+ "loss": 0.7158,
72
+ "step": 450
73
+ },
74
+ {
75
+ "epoch": 0.5,
76
+ "grad_norm": 0.24447402358055115,
77
+ "learning_rate": 1.6666666666666667e-05,
78
+ "loss": 0.6868,
79
+ "step": 500
80
+ },
81
+ {
82
+ "epoch": 0.55,
83
+ "grad_norm": 295.1979064941406,
84
+ "learning_rate": 1.6333333333333335e-05,
85
+ "loss": 0.619,
86
+ "step": 550
87
+ },
88
+ {
89
+ "epoch": 0.6,
90
+ "grad_norm": 0.19443568587303162,
91
+ "learning_rate": 1.6000000000000003e-05,
92
+ "loss": 1.1763,
93
+ "step": 600
94
+ },
95
+ {
96
+ "epoch": 0.65,
97
+ "grad_norm": 0.4207628071308136,
98
+ "learning_rate": 1.5666666666666667e-05,
99
+ "loss": 0.7286,
100
+ "step": 650
101
+ },
102
+ {
103
+ "epoch": 0.7,
104
+ "grad_norm": 0.18366234004497528,
105
+ "learning_rate": 1.5333333333333334e-05,
106
+ "loss": 0.7069,
107
+ "step": 700
108
+ },
109
+ {
110
+ "epoch": 0.75,
111
+ "grad_norm": 0.16538876295089722,
112
+ "learning_rate": 1.5000000000000002e-05,
113
+ "loss": 0.7595,
114
+ "step": 750
115
+ },
116
+ {
117
+ "epoch": 0.8,
118
+ "grad_norm": 0.14904990792274475,
119
+ "learning_rate": 1.4666666666666666e-05,
120
+ "loss": 0.6224,
121
+ "step": 800
122
+ },
123
+ {
124
+ "epoch": 0.85,
125
+ "grad_norm": 0.3615138530731201,
126
+ "learning_rate": 1.4333333333333334e-05,
127
+ "loss": 0.6529,
128
+ "step": 850
129
+ },
130
+ {
131
+ "epoch": 0.9,
132
+ "grad_norm": 0.09473315626382828,
133
+ "learning_rate": 1.4e-05,
134
+ "loss": 0.7342,
135
+ "step": 900
136
+ },
137
+ {
138
+ "epoch": 0.95,
139
+ "grad_norm": 0.5744537711143494,
140
+ "learning_rate": 1.3666666666666667e-05,
141
+ "loss": 1.0007,
142
+ "step": 950
143
+ },
144
+ {
145
+ "epoch": 1.0,
146
+ "grad_norm": 0.12679271399974823,
147
+ "learning_rate": 1.3333333333333333e-05,
148
+ "loss": 0.93,
149
+ "step": 1000
150
+ },
151
+ {
152
+ "epoch": 1.0,
153
+ "eval_loss": 0.6687281727790833,
154
+ "eval_runtime": 4.802,
155
+ "eval_samples_per_second": 104.123,
156
+ "eval_steps_per_second": 52.061,
157
+ "step": 1000
158
+ }
159
+ ],
160
+ "logging_steps": 50,
161
+ "max_steps": 3000,
162
+ "num_input_tokens_seen": 0,
163
+ "num_train_epochs": 3,
164
+ "save_steps": 500,
165
+ "stateful_callbacks": {
166
+ "EarlyStoppingCallback": {
167
+ "args": {
168
+ "early_stopping_patience": 3,
169
+ "early_stopping_threshold": 0.01
170
+ },
171
+ "attributes": {
172
+ "early_stopping_patience_counter": 0
173
+ }
174
+ },
175
+ "TrainerControl": {
176
+ "args": {
177
+ "should_epoch_stop": false,
178
+ "should_evaluate": false,
179
+ "should_log": false,
180
+ "should_save": true,
181
+ "should_training_stop": false
182
+ },
183
+ "attributes": {}
184
+ }
185
+ },
186
+ "total_flos": 526226835456000.0,
187
+ "train_batch_size": 2,
188
+ "trial_name": null,
189
+ "trial_params": null
190
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:541e6f7f57f67a3a1c9907085521ba701b57db0f57f225a02ca245b98ef6d506
3
+ size 4923
vocab.txt ADDED
The diff for this file is too large to render. See raw diff