agentlans commited on
Commit
c861078
1 Parent(s): cf21fa4

Upload 13 files

Browse files
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: agentlans/deberta-v3-xsmall-zyda-2
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: deberta-v3-xsmall-zyda-2-sentiment
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # deberta-v3-xsmall-zyda-2-sentiment
16
+
17
+ This model is a fine-tuned version of [agentlans/deberta-v3-xsmall-zyda-2](https://huggingface.co/agentlans/deberta-v3-xsmall-zyda-2) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.0493
20
+ - Mse: 0.0493
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 5e-05
40
+ - train_batch_size: 64
41
+ - eval_batch_size: 8
42
+ - seed: 42
43
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
44
+ - lr_scheduler_type: linear
45
+ - num_epochs: 3.0
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss | Mse |
50
+ |:-------------:|:-----:|:----:|:---------------:|:------:|
51
+ | 0.0627 | 1.0 | 3143 | 0.0665 | 0.0665 |
52
+ | 0.0411 | 2.0 | 6286 | 0.0493 | 0.0493 |
53
+ | 0.0321 | 3.0 | 9429 | 0.0524 | 0.0524 |
54
+
55
+
56
+ ### Framework versions
57
+
58
+ - Transformers 4.46.3
59
+ - Pytorch 2.5.1+cu124
60
+ - Datasets 3.1.0
61
+ - Tokenizers 0.20.3
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[MASK]": 128000
3
+ }
all_results.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_loss": 0.04927213117480278,
4
+ "eval_mse": 0.049272132016595305,
5
+ "eval_runtime": 10.4326,
6
+ "eval_samples": 10000,
7
+ "eval_samples_per_second": 958.536,
8
+ "eval_steps_per_second": 119.817,
9
+ "total_flos": 9935679003367680.0,
10
+ "train_loss": 0.05866297316179509,
11
+ "train_runtime": 1207.603,
12
+ "train_samples": 201105,
13
+ "train_samples_per_second": 499.597,
14
+ "train_steps_per_second": 7.808
15
+ }
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "agentlans/deberta-v3-xsmall-zyda-2",
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": 384,
11
+ "id2label": {
12
+ "0": "LABEL_0"
13
+ },
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 1536,
16
+ "label2id": {
17
+ "LABEL_0": 0
18
+ },
19
+ "layer_norm_eps": 1e-07,
20
+ "max_position_embeddings": 512,
21
+ "max_relative_positions": -1,
22
+ "model_type": "deberta-v2",
23
+ "norm_rel_ebd": "layer_norm",
24
+ "num_attention_heads": 6,
25
+ "num_hidden_layers": 12,
26
+ "pad_token_id": 0,
27
+ "pooler_dropout": 0,
28
+ "pooler_hidden_act": "gelu",
29
+ "pooler_hidden_size": 384,
30
+ "pos_att_type": [
31
+ "p2c",
32
+ "c2p"
33
+ ],
34
+ "position_biased_input": false,
35
+ "position_buckets": 256,
36
+ "problem_type": "regression",
37
+ "relative_attention": true,
38
+ "share_att_key": true,
39
+ "torch_dtype": "float32",
40
+ "transformers_version": "4.46.3",
41
+ "type_vocab_size": 0,
42
+ "vocab_size": 128100
43
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_loss": 0.04927213117480278,
4
+ "eval_mse": 0.049272132016595305,
5
+ "eval_runtime": 10.4326,
6
+ "eval_samples": 10000,
7
+ "eval_samples_per_second": 958.536,
8
+ "eval_steps_per_second": 119.817
9
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64bb0296f7b370ce35b0666cd7f26fb0bb06c64245a16e871885925e52a90f49
3
+ size 283345892
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "[CLS]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "[SEP]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "[MASK]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "[PAD]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "[SEP]",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "[UNK]",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
3
+ size 2464616
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "1": {
12
+ "content": "[CLS]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[SEP]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[UNK]",
29
+ "lstrip": false,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "128000": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "[CLS]",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "[CLS]",
47
+ "do_lower_case": false,
48
+ "eos_token": "[SEP]",
49
+ "mask_token": "[MASK]",
50
+ "max_length": 1024,
51
+ "model_max_length": 1000000000000000019884624838656,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "sp_model_kwargs": {},
55
+ "split_by_punct": false,
56
+ "stride": 0,
57
+ "tokenizer_class": "DebertaV2Tokenizer",
58
+ "truncation_side": "right",
59
+ "truncation_strategy": "longest_first",
60
+ "unk_token": "[UNK]",
61
+ "vocab_type": "spm"
62
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "total_flos": 9935679003367680.0,
4
+ "train_loss": 0.05866297316179509,
5
+ "train_runtime": 1207.603,
6
+ "train_samples": 201105,
7
+ "train_samples_per_second": 499.597,
8
+ "train_steps_per_second": 7.808
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.04927213117480278,
3
+ "best_model_checkpoint": "deberta-v3-xsmall-zyda-2-sentiment/checkpoint-6286",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 9429,
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.1590836780146357,
13
+ "grad_norm": 1.8468247652053833,
14
+ "learning_rate": 4.7348605366422736e-05,
15
+ "loss": 0.2115,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.3181673560292714,
20
+ "grad_norm": 1.7370903491973877,
21
+ "learning_rate": 4.4697210732845476e-05,
22
+ "loss": 0.101,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.4772510340439071,
27
+ "grad_norm": 1.7206146717071533,
28
+ "learning_rate": 4.2045816099268216e-05,
29
+ "loss": 0.0846,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 0.6363347120585428,
34
+ "grad_norm": 1.1373802423477173,
35
+ "learning_rate": 3.9394421465690956e-05,
36
+ "loss": 0.0748,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 0.7954183900731785,
41
+ "grad_norm": 0.9603880047798157,
42
+ "learning_rate": 3.674302683211369e-05,
43
+ "loss": 0.0691,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 0.9545020680878142,
48
+ "grad_norm": 1.0165342092514038,
49
+ "learning_rate": 3.409163219853643e-05,
50
+ "loss": 0.0627,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 1.0,
55
+ "eval_loss": 0.06652908027172089,
56
+ "eval_mse": 0.06652908171153529,
57
+ "eval_runtime": 10.5244,
58
+ "eval_samples_per_second": 950.17,
59
+ "eval_steps_per_second": 118.771,
60
+ "step": 3143
61
+ },
62
+ {
63
+ "epoch": 1.1135857461024499,
64
+ "grad_norm": 0.9926055073738098,
65
+ "learning_rate": 3.144023756495917e-05,
66
+ "loss": 0.0522,
67
+ "step": 3500
68
+ },
69
+ {
70
+ "epoch": 1.2726694241170855,
71
+ "grad_norm": 1.247205376625061,
72
+ "learning_rate": 2.878884293138191e-05,
73
+ "loss": 0.0485,
74
+ "step": 4000
75
+ },
76
+ {
77
+ "epoch": 1.4317531021317214,
78
+ "grad_norm": 1.7589031457901,
79
+ "learning_rate": 2.6137448297804644e-05,
80
+ "loss": 0.0463,
81
+ "step": 4500
82
+ },
83
+ {
84
+ "epoch": 1.590836780146357,
85
+ "grad_norm": 0.7484694719314575,
86
+ "learning_rate": 2.3486053664227384e-05,
87
+ "loss": 0.0443,
88
+ "step": 5000
89
+ },
90
+ {
91
+ "epoch": 1.7499204581609926,
92
+ "grad_norm": 1.5068027973175049,
93
+ "learning_rate": 2.083465903065012e-05,
94
+ "loss": 0.0421,
95
+ "step": 5500
96
+ },
97
+ {
98
+ "epoch": 1.9090041361756285,
99
+ "grad_norm": 0.832625150680542,
100
+ "learning_rate": 1.818326439707286e-05,
101
+ "loss": 0.0411,
102
+ "step": 6000
103
+ },
104
+ {
105
+ "epoch": 2.0,
106
+ "eval_loss": 0.04927213117480278,
107
+ "eval_mse": 0.049272132016595305,
108
+ "eval_runtime": 11.3101,
109
+ "eval_samples_per_second": 884.162,
110
+ "eval_steps_per_second": 110.52,
111
+ "step": 6286
112
+ },
113
+ {
114
+ "epoch": 2.068087814190264,
115
+ "grad_norm": 0.6708300709724426,
116
+ "learning_rate": 1.5531869763495598e-05,
117
+ "loss": 0.0387,
118
+ "step": 6500
119
+ },
120
+ {
121
+ "epoch": 2.2271714922048997,
122
+ "grad_norm": 0.6490187644958496,
123
+ "learning_rate": 1.2880475129918337e-05,
124
+ "loss": 0.0337,
125
+ "step": 7000
126
+ },
127
+ {
128
+ "epoch": 2.3862551702195356,
129
+ "grad_norm": 0.7127770185470581,
130
+ "learning_rate": 1.0229080496341075e-05,
131
+ "loss": 0.0324,
132
+ "step": 7500
133
+ },
134
+ {
135
+ "epoch": 2.545338848234171,
136
+ "grad_norm": 0.6604452133178711,
137
+ "learning_rate": 7.5776858627638146e-06,
138
+ "loss": 0.0326,
139
+ "step": 8000
140
+ },
141
+ {
142
+ "epoch": 2.704422526248807,
143
+ "grad_norm": 0.5042712092399597,
144
+ "learning_rate": 4.926291229186552e-06,
145
+ "loss": 0.0323,
146
+ "step": 8500
147
+ },
148
+ {
149
+ "epoch": 2.8635062042634427,
150
+ "grad_norm": 0.573316752910614,
151
+ "learning_rate": 2.2748965956092908e-06,
152
+ "loss": 0.0321,
153
+ "step": 9000
154
+ },
155
+ {
156
+ "epoch": 3.0,
157
+ "eval_loss": 0.05235280096530914,
158
+ "eval_mse": 0.05235280389813637,
159
+ "eval_runtime": 10.3984,
160
+ "eval_samples_per_second": 961.689,
161
+ "eval_steps_per_second": 120.211,
162
+ "step": 9429
163
+ },
164
+ {
165
+ "epoch": 3.0,
166
+ "step": 9429,
167
+ "total_flos": 9935679003367680.0,
168
+ "train_loss": 0.05866297316179509,
169
+ "train_runtime": 1207.603,
170
+ "train_samples_per_second": 499.597,
171
+ "train_steps_per_second": 7.808
172
+ }
173
+ ],
174
+ "logging_steps": 500,
175
+ "max_steps": 9429,
176
+ "num_input_tokens_seen": 0,
177
+ "num_train_epochs": 3,
178
+ "save_steps": 500,
179
+ "stateful_callbacks": {
180
+ "TrainerControl": {
181
+ "args": {
182
+ "should_epoch_stop": false,
183
+ "should_evaluate": false,
184
+ "should_log": false,
185
+ "should_save": true,
186
+ "should_training_stop": true
187
+ },
188
+ "attributes": {}
189
+ }
190
+ },
191
+ "total_flos": 9935679003367680.0,
192
+ "train_batch_size": 64,
193
+ "trial_name": null,
194
+ "trial_params": null
195
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a3b335a637ee1abd3e5da0d4f9e8ac74f5cd424a9c44c9efbe15e454133d934
3
+ size 5368