Rogarcia18 commited on
Commit
681d9bd
·
verified ·
1 Parent(s): 9917eae

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,3 +1,206 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google-bert/bert-base-uncased
3
+ library_name: peft
4
+ tags:
5
+ - base_model:adapter:google-bert/bert-base-uncased
6
+ - lora
7
+ - transformers
8
+ ---
9
+
10
+ # Model Card for Model ID
11
+
12
+ <!-- Provide a quick summary of what the model is/does. -->
13
+
14
+
15
+
16
+ ## Model Details
17
+
18
+ ### Model Description
19
+
20
+ <!-- Provide a longer summary of what this model is. -->
21
+
22
+
23
+
24
+ - **Developed by:** [More Information Needed]
25
+ - **Funded by [optional]:** [More Information Needed]
26
+ - **Shared by [optional]:** [More Information Needed]
27
+ - **Model type:** [More Information Needed]
28
+ - **Language(s) (NLP):** [More Information Needed]
29
+ - **License:** [More Information Needed]
30
+ - **Finetuned from model [optional]:** [More Information Needed]
31
+
32
+ ### Model Sources [optional]
33
+
34
+ <!-- Provide the basic links for the model. -->
35
+
36
+ - **Repository:** [More Information Needed]
37
+ - **Paper [optional]:** [More Information Needed]
38
+ - **Demo [optional]:** [More Information Needed]
39
+
40
+ ## Uses
41
+
42
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
43
+
44
+ ### Direct Use
45
+
46
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
47
+
48
+ [More Information Needed]
49
+
50
+ ### Downstream Use [optional]
51
+
52
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
53
+
54
+ [More Information Needed]
55
+
56
+ ### Out-of-Scope Use
57
+
58
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
59
+
60
+ [More Information Needed]
61
+
62
+ ## Bias, Risks, and Limitations
63
+
64
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
65
+
66
+ [More Information Needed]
67
+
68
+ ### Recommendations
69
+
70
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
71
+
72
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
73
+
74
+ ## How to Get Started with the Model
75
+
76
+ Use the code below to get started with the model.
77
+
78
+ [More Information Needed]
79
+
80
+ ## Training Details
81
+
82
+ ### Training Data
83
+
84
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
85
+
86
+ [More Information Needed]
87
+
88
+ ### Training Procedure
89
+
90
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
91
+
92
+ #### Preprocessing [optional]
93
+
94
+ [More Information Needed]
95
+
96
+
97
+ #### Training Hyperparameters
98
+
99
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
100
+
101
+ #### Speeds, Sizes, Times [optional]
102
+
103
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
104
+
105
+ [More Information Needed]
106
+
107
+ ## Evaluation
108
+
109
+ <!-- This section describes the evaluation protocols and provides the results. -->
110
+
111
+ ### Testing Data, Factors & Metrics
112
+
113
+ #### Testing Data
114
+
115
+ <!-- This should link to a Dataset Card if possible. -->
116
+
117
+ [More Information Needed]
118
+
119
+ #### Factors
120
+
121
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
122
+
123
+ [More Information Needed]
124
+
125
+ #### Metrics
126
+
127
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
128
+
129
+ [More Information Needed]
130
+
131
+ ### Results
132
+
133
+ [More Information Needed]
134
+
135
+ #### Summary
136
+
137
+
138
+
139
+ ## Model Examination [optional]
140
+
141
+ <!-- Relevant interpretability work for the model goes here -->
142
+
143
+ [More Information Needed]
144
+
145
+ ## Environmental Impact
146
+
147
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
148
+
149
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
150
+
151
+ - **Hardware Type:** [More Information Needed]
152
+ - **Hours used:** [More Information Needed]
153
+ - **Cloud Provider:** [More Information Needed]
154
+ - **Compute Region:** [More Information Needed]
155
+ - **Carbon Emitted:** [More Information Needed]
156
+
157
+ ## Technical Specifications [optional]
158
+
159
+ ### Model Architecture and Objective
160
+
161
+ [More Information Needed]
162
+
163
+ ### Compute Infrastructure
164
+
165
+ [More Information Needed]
166
+
167
+ #### Hardware
168
+
169
+ [More Information Needed]
170
+
171
+ #### Software
172
+
173
+ [More Information Needed]
174
+
175
+ ## Citation [optional]
176
+
177
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
178
+
179
+ **BibTeX:**
180
+
181
+ [More Information Needed]
182
+
183
+ **APA:**
184
+
185
+ [More Information Needed]
186
+
187
+ ## Glossary [optional]
188
+
189
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
190
+
191
+ [More Information Needed]
192
+
193
+ ## More Information [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Authors [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Contact
202
+
203
+ [More Information Needed]
204
+ ### Framework versions
205
+
206
+ - PEFT 0.17.1
adapter_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "google-bert/bert-base-uncased",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.1,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": [
22
+ "classifier",
23
+ "score"
24
+ ],
25
+ "peft_type": "LORA",
26
+ "qalora_group_size": 16,
27
+ "r": 8,
28
+ "rank_pattern": {},
29
+ "revision": null,
30
+ "target_modules": [
31
+ "key",
32
+ "query",
33
+ "value"
34
+ ],
35
+ "target_parameters": null,
36
+ "task_type": "SEQ_CLS",
37
+ "trainable_token_indices": null,
38
+ "use_dora": false,
39
+ "use_qalora": false,
40
+ "use_rslora": false
41
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3420eb91cd506395e5db48295c98cdf14e3584bf026b9fb8e5db15767d94057c
3
+ size 1782740
checkpoint-1000/adapter_config.json CHANGED
@@ -28,9 +28,9 @@
28
  "rank_pattern": {},
29
  "revision": null,
30
  "target_modules": [
 
31
  "query",
32
- "value",
33
- "key"
34
  ],
35
  "target_parameters": null,
36
  "task_type": "SEQ_CLS",
 
28
  "rank_pattern": {},
29
  "revision": null,
30
  "target_modules": [
31
+ "key",
32
  "query",
33
+ "value"
 
34
  ],
35
  "target_parameters": null,
36
  "task_type": "SEQ_CLS",
checkpoint-1000/adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9585c3d281f90c262196919523d9cbbede06ea84c7d3d4be81c6f0ccc915663b
3
  size 1782740
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fe05690baeaa0efd93af9cc65dbeb9f75693777fbed9f505957672d5d1d4058
3
  size 1782740
checkpoint-1000/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b93eb5e1496eb84b8ccad7c32ba67deeddfe436731eb6d64bb83c4602c1d16fb
3
  size 3609035
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5aa7dcafe77df170c1fcc4c6b6a10753437fd4861503107d0473a2ed7dd2bb49
3
  size 3609035
checkpoint-1000/tokenizer.json CHANGED
@@ -1,21 +1,7 @@
1
  {
2
  "version": "1.0",
3
- "truncation": {
4
- "direction": "Right",
5
- "max_length": 512,
6
- "strategy": "LongestFirst",
7
- "stride": 0
8
- },
9
- "padding": {
10
- "strategy": {
11
- "Fixed": 512
12
- },
13
- "direction": "Right",
14
- "pad_to_multiple_of": null,
15
- "pad_id": 0,
16
- "pad_type_id": 0,
17
- "pad_token": "[PAD]"
18
- },
19
  "added_tokens": [
20
  {
21
  "id": 0,
 
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "added_tokens": [
6
  {
7
  "id": 0,
checkpoint-1000/trainer_state.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "best_global_step": 1000,
3
- "best_metric": 0.917,
4
  "best_model_checkpoint": "./qlora-bert-sentiment/checkpoint-1000",
5
  "epoch": 1.0,
6
  "eval_steps": 500,
@@ -11,151 +11,151 @@
11
  "log_history": [
12
  {
13
  "epoch": 0.05,
14
- "grad_norm": 2.0009355545043945,
15
  "learning_rate": 0.0001225,
16
- "loss": 0.7031,
17
  "step": 50
18
  },
19
  {
20
  "epoch": 0.1,
21
- "grad_norm": 1.6340508460998535,
22
  "learning_rate": 0.0002475,
23
  "loss": 0.6735,
24
  "step": 100
25
  },
26
  {
27
  "epoch": 0.15,
28
- "grad_norm": 2.6656155586242676,
29
  "learning_rate": 0.0003725,
30
- "loss": 0.5405,
31
  "step": 150
32
  },
33
  {
34
  "epoch": 0.2,
35
- "grad_norm": 2.38972544670105,
36
  "learning_rate": 0.0004975,
37
- "loss": 0.4699,
38
  "step": 200
39
  },
40
  {
41
  "epoch": 0.25,
42
- "grad_norm": 3.9910202026367188,
43
  "learning_rate": 0.0004990863240477266,
44
- "loss": 0.2941,
45
  "step": 250
46
  },
47
  {
48
  "epoch": 0.3,
49
- "grad_norm": 3.7537941932678223,
50
  "learning_rate": 0.0004962773315386935,
51
- "loss": 0.3418,
52
  "step": 300
53
  },
54
  {
55
  "epoch": 0.35,
56
- "grad_norm": 2.1243174076080322,
57
  "learning_rate": 0.0004915940198303324,
58
- "loss": 0.3485,
59
  "step": 350
60
  },
61
  {
62
  "epoch": 0.4,
63
- "grad_norm": 0.5060879588127136,
64
  "learning_rate": 0.00048507203175260474,
65
- "loss": 0.3074,
66
  "step": 400
67
  },
68
  {
69
  "epoch": 0.45,
70
- "grad_norm": 8.485177993774414,
71
  "learning_rate": 0.0004767610035728662,
72
- "loss": 0.3096,
73
  "step": 450
74
  },
75
  {
76
  "epoch": 0.5,
77
- "grad_norm": 0.1361026167869568,
78
  "learning_rate": 0.0004667241872339007,
79
- "loss": 0.2773,
80
  "step": 500
81
  },
82
  {
83
  "epoch": 0.55,
84
- "grad_norm": 0.33928659558296204,
85
  "learning_rate": 0.00045503796896844307,
86
- "loss": 0.366,
87
  "step": 550
88
  },
89
  {
90
  "epoch": 0.6,
91
- "grad_norm": 2.8849103450775146,
92
  "learning_rate": 0.00044179128795382493,
93
- "loss": 0.3098,
94
  "step": 600
95
  },
96
  {
97
  "epoch": 0.65,
98
- "grad_norm": 6.582022666931152,
99
  "learning_rate": 0.00042708495943113224,
100
- "loss": 0.2712,
101
  "step": 650
102
  },
103
  {
104
  "epoch": 0.7,
105
- "grad_norm": 2.0625686645507812,
106
  "learning_rate": 0.00041103090744034666,
107
- "loss": 0.3373,
108
  "step": 700
109
  },
110
  {
111
  "epoch": 0.75,
112
- "grad_norm": 0.7770431041717529,
113
  "learning_rate": 0.0003937513130108197,
114
- "loss": 0.2543,
115
  "step": 750
116
  },
117
  {
118
  "epoch": 0.8,
119
- "grad_norm": 6.09879732131958,
120
  "learning_rate": 0.00037537768428986434,
121
- "loss": 0.3036,
122
  "step": 800
123
  },
124
  {
125
  "epoch": 0.85,
126
- "grad_norm": 1.9976661205291748,
127
  "learning_rate": 0.0003560498556863475,
128
- "loss": 0.2492,
129
  "step": 850
130
  },
131
  {
132
  "epoch": 0.9,
133
- "grad_norm": 3.9929866790771484,
134
  "learning_rate": 0.0003359149236464041,
135
- "loss": 0.2716,
136
  "step": 900
137
  },
138
  {
139
  "epoch": 0.95,
140
- "grad_norm": 3.9008100032806396,
141
  "learning_rate": 0.00031512612716066215,
142
- "loss": 0.2254,
143
  "step": 950
144
  },
145
  {
146
  "epoch": 1.0,
147
- "grad_norm": 6.692354679107666,
148
  "learning_rate": 0.00029384168152299676,
149
- "loss": 0.262,
150
  "step": 1000
151
  },
152
  {
153
  "epoch": 1.0,
154
- "eval_accuracy": 0.917,
155
- "eval_loss": 0.25268298387527466,
156
- "eval_runtime": 46.317,
157
- "eval_samples_per_second": 43.181,
158
- "eval_steps_per_second": 21.59,
159
  "step": 1000
160
  }
161
  ],
 
1
  {
2
  "best_global_step": 1000,
3
+ "best_metric": 0.9185,
4
  "best_model_checkpoint": "./qlora-bert-sentiment/checkpoint-1000",
5
  "epoch": 1.0,
6
  "eval_steps": 500,
 
11
  "log_history": [
12
  {
13
  "epoch": 0.05,
14
+ "grad_norm": 2.0022401809692383,
15
  "learning_rate": 0.0001225,
16
+ "loss": 0.703,
17
  "step": 50
18
  },
19
  {
20
  "epoch": 0.1,
21
+ "grad_norm": 1.6413620710372925,
22
  "learning_rate": 0.0002475,
23
  "loss": 0.6735,
24
  "step": 100
25
  },
26
  {
27
  "epoch": 0.15,
28
+ "grad_norm": 6.632427215576172,
29
  "learning_rate": 0.0003725,
30
+ "loss": 0.5469,
31
  "step": 150
32
  },
33
  {
34
  "epoch": 0.2,
35
+ "grad_norm": 1.8693019151687622,
36
  "learning_rate": 0.0004975,
37
+ "loss": 0.6154,
38
  "step": 200
39
  },
40
  {
41
  "epoch": 0.25,
42
+ "grad_norm": 7.796047687530518,
43
  "learning_rate": 0.0004990863240477266,
44
+ "loss": 0.3135,
45
  "step": 250
46
  },
47
  {
48
  "epoch": 0.3,
49
+ "grad_norm": 0.8750956654548645,
50
  "learning_rate": 0.0004962773315386935,
51
+ "loss": 0.3788,
52
  "step": 300
53
  },
54
  {
55
  "epoch": 0.35,
56
+ "grad_norm": 2.438046455383301,
57
  "learning_rate": 0.0004915940198303324,
58
+ "loss": 0.3203,
59
  "step": 350
60
  },
61
  {
62
  "epoch": 0.4,
63
+ "grad_norm": 0.4791859984397888,
64
  "learning_rate": 0.00048507203175260474,
65
+ "loss": 0.2855,
66
  "step": 400
67
  },
68
  {
69
  "epoch": 0.45,
70
+ "grad_norm": 6.871181964874268,
71
  "learning_rate": 0.0004767610035728662,
72
+ "loss": 0.3167,
73
  "step": 450
74
  },
75
  {
76
  "epoch": 0.5,
77
+ "grad_norm": 0.08755309879779816,
78
  "learning_rate": 0.0004667241872339007,
79
+ "loss": 0.2732,
80
  "step": 500
81
  },
82
  {
83
  "epoch": 0.55,
84
+ "grad_norm": 0.43568190932273865,
85
  "learning_rate": 0.00045503796896844307,
86
+ "loss": 0.3608,
87
  "step": 550
88
  },
89
  {
90
  "epoch": 0.6,
91
+ "grad_norm": 3.768226385116577,
92
  "learning_rate": 0.00044179128795382493,
93
+ "loss": 0.2945,
94
  "step": 600
95
  },
96
  {
97
  "epoch": 0.65,
98
+ "grad_norm": 4.359898567199707,
99
  "learning_rate": 0.00042708495943113224,
100
+ "loss": 0.2697,
101
  "step": 650
102
  },
103
  {
104
  "epoch": 0.7,
105
+ "grad_norm": 1.9498214721679688,
106
  "learning_rate": 0.00041103090744034666,
107
+ "loss": 0.3245,
108
  "step": 700
109
  },
110
  {
111
  "epoch": 0.75,
112
+ "grad_norm": 0.7939767241477966,
113
  "learning_rate": 0.0003937513130108197,
114
+ "loss": 0.2775,
115
  "step": 750
116
  },
117
  {
118
  "epoch": 0.8,
119
+ "grad_norm": 7.53210973739624,
120
  "learning_rate": 0.00037537768428986434,
121
+ "loss": 0.333,
122
  "step": 800
123
  },
124
  {
125
  "epoch": 0.85,
126
+ "grad_norm": 1.3197941780090332,
127
  "learning_rate": 0.0003560498556863475,
128
+ "loss": 0.2535,
129
  "step": 850
130
  },
131
  {
132
  "epoch": 0.9,
133
+ "grad_norm": 4.376391410827637,
134
  "learning_rate": 0.0003359149236464041,
135
+ "loss": 0.2585,
136
  "step": 900
137
  },
138
  {
139
  "epoch": 0.95,
140
+ "grad_norm": 4.018824577331543,
141
  "learning_rate": 0.00031512612716066215,
142
+ "loss": 0.2368,
143
  "step": 950
144
  },
145
  {
146
  "epoch": 1.0,
147
+ "grad_norm": 1.9961744546890259,
148
  "learning_rate": 0.00029384168152299676,
149
+ "loss": 0.2533,
150
  "step": 1000
151
  },
152
  {
153
  "epoch": 1.0,
154
+ "eval_accuracy": 0.9185,
155
+ "eval_loss": 0.27835872769355774,
156
+ "eval_runtime": 47.563,
157
+ "eval_samples_per_second": 42.049,
158
+ "eval_steps_per_second": 21.025,
159
  "step": 1000
160
  }
161
  ],
checkpoint-1000/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0a54d72e19681908d27bbd04d48eecb24726b5b5d9dd48e56934d90934c85fd3
3
  size 5841
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97c5508005e4bf2b2724268b70aa647230c1231485801a65a4e181df72dbe571
3
  size 5841
checkpoint-2000/adapter_config.json CHANGED
@@ -28,9 +28,9 @@
28
  "rank_pattern": {},
29
  "revision": null,
30
  "target_modules": [
 
31
  "query",
32
- "value",
33
- "key"
34
  ],
35
  "target_parameters": null,
36
  "task_type": "SEQ_CLS",
 
28
  "rank_pattern": {},
29
  "revision": null,
30
  "target_modules": [
31
+ "key",
32
  "query",
33
+ "value"
 
34
  ],
35
  "target_parameters": null,
36
  "task_type": "SEQ_CLS",
checkpoint-2000/adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8e59df52f1268091840d59251d05dc44aa5d6a8119e32fd9720ce30378107314
3
  size 1782740
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3420eb91cd506395e5db48295c98cdf14e3584bf026b9fb8e5db15767d94057c
3
  size 1782740
checkpoint-2000/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:259889f366c5437209b3b5f79400d53321ba568522e45ace5957131c5c8eb598
3
  size 3609035
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61cb89c2a54ff3d39f53134594ac5177605c5ccefbe5e4bddbdb84ae3e273230
3
  size 3609035
checkpoint-2000/tokenizer.json CHANGED
@@ -1,21 +1,7 @@
1
  {
2
  "version": "1.0",
3
- "truncation": {
4
- "direction": "Right",
5
- "max_length": 512,
6
- "strategy": "LongestFirst",
7
- "stride": 0
8
- },
9
- "padding": {
10
- "strategy": {
11
- "Fixed": 512
12
- },
13
- "direction": "Right",
14
- "pad_to_multiple_of": null,
15
- "pad_id": 0,
16
- "pad_type_id": 0,
17
- "pad_token": "[PAD]"
18
- },
19
  "added_tokens": [
20
  {
21
  "id": 0,
 
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "added_tokens": [
6
  {
7
  "id": 0,
checkpoint-2000/trainer_state.json CHANGED
@@ -11,300 +11,300 @@
11
  "log_history": [
12
  {
13
  "epoch": 0.05,
14
- "grad_norm": 2.0009355545043945,
15
  "learning_rate": 0.0001225,
16
- "loss": 0.7031,
17
  "step": 50
18
  },
19
  {
20
  "epoch": 0.1,
21
- "grad_norm": 1.6340508460998535,
22
  "learning_rate": 0.0002475,
23
  "loss": 0.6735,
24
  "step": 100
25
  },
26
  {
27
  "epoch": 0.15,
28
- "grad_norm": 2.6656155586242676,
29
  "learning_rate": 0.0003725,
30
- "loss": 0.5405,
31
  "step": 150
32
  },
33
  {
34
  "epoch": 0.2,
35
- "grad_norm": 2.38972544670105,
36
  "learning_rate": 0.0004975,
37
- "loss": 0.4699,
38
  "step": 200
39
  },
40
  {
41
  "epoch": 0.25,
42
- "grad_norm": 3.9910202026367188,
43
  "learning_rate": 0.0004990863240477266,
44
- "loss": 0.2941,
45
  "step": 250
46
  },
47
  {
48
  "epoch": 0.3,
49
- "grad_norm": 3.7537941932678223,
50
  "learning_rate": 0.0004962773315386935,
51
- "loss": 0.3418,
52
  "step": 300
53
  },
54
  {
55
  "epoch": 0.35,
56
- "grad_norm": 2.1243174076080322,
57
  "learning_rate": 0.0004915940198303324,
58
- "loss": 0.3485,
59
  "step": 350
60
  },
61
  {
62
  "epoch": 0.4,
63
- "grad_norm": 0.5060879588127136,
64
  "learning_rate": 0.00048507203175260474,
65
- "loss": 0.3074,
66
  "step": 400
67
  },
68
  {
69
  "epoch": 0.45,
70
- "grad_norm": 8.485177993774414,
71
  "learning_rate": 0.0004767610035728662,
72
- "loss": 0.3096,
73
  "step": 450
74
  },
75
  {
76
  "epoch": 0.5,
77
- "grad_norm": 0.1361026167869568,
78
  "learning_rate": 0.0004667241872339007,
79
- "loss": 0.2773,
80
  "step": 500
81
  },
82
  {
83
  "epoch": 0.55,
84
- "grad_norm": 0.33928659558296204,
85
  "learning_rate": 0.00045503796896844307,
86
- "loss": 0.366,
87
  "step": 550
88
  },
89
  {
90
  "epoch": 0.6,
91
- "grad_norm": 2.8849103450775146,
92
  "learning_rate": 0.00044179128795382493,
93
- "loss": 0.3098,
94
  "step": 600
95
  },
96
  {
97
  "epoch": 0.65,
98
- "grad_norm": 6.582022666931152,
99
  "learning_rate": 0.00042708495943113224,
100
- "loss": 0.2712,
101
  "step": 650
102
  },
103
  {
104
  "epoch": 0.7,
105
- "grad_norm": 2.0625686645507812,
106
  "learning_rate": 0.00041103090744034666,
107
- "loss": 0.3373,
108
  "step": 700
109
  },
110
  {
111
  "epoch": 0.75,
112
- "grad_norm": 0.7770431041717529,
113
  "learning_rate": 0.0003937513130108197,
114
- "loss": 0.2543,
115
  "step": 750
116
  },
117
  {
118
  "epoch": 0.8,
119
- "grad_norm": 6.09879732131958,
120
  "learning_rate": 0.00037537768428986434,
121
- "loss": 0.3036,
122
  "step": 800
123
  },
124
  {
125
  "epoch": 0.85,
126
- "grad_norm": 1.9976661205291748,
127
  "learning_rate": 0.0003560498556863475,
128
- "loss": 0.2492,
129
  "step": 850
130
  },
131
  {
132
  "epoch": 0.9,
133
- "grad_norm": 3.9929866790771484,
134
  "learning_rate": 0.0003359149236464041,
135
- "loss": 0.2716,
136
  "step": 900
137
  },
138
  {
139
  "epoch": 0.95,
140
- "grad_norm": 3.9008100032806396,
141
  "learning_rate": 0.00031512612716066215,
142
- "loss": 0.2254,
143
  "step": 950
144
  },
145
  {
146
  "epoch": 1.0,
147
- "grad_norm": 6.692354679107666,
148
  "learning_rate": 0.00029384168152299676,
149
- "loss": 0.262,
150
  "step": 1000
151
  },
152
  {
153
  "epoch": 1.0,
154
- "eval_accuracy": 0.917,
155
- "eval_loss": 0.25268298387527466,
156
- "eval_runtime": 46.317,
157
- "eval_samples_per_second": 43.181,
158
- "eval_steps_per_second": 21.59,
159
  "step": 1000
160
  },
161
  {
162
  "epoch": 1.05,
163
- "grad_norm": 8.733003616333008,
164
  "learning_rate": 0.00027222357421661044,
165
- "loss": 0.2057,
166
  "step": 1050
167
  },
168
  {
169
  "epoch": 1.1,
170
- "grad_norm": 3.9547905921936035,
171
  "learning_rate": 0.0002504363320914746,
172
- "loss": 0.2037,
173
  "step": 1100
174
  },
175
  {
176
  "epoch": 1.15,
177
- "grad_norm": 0.05743752047419548,
178
  "learning_rate": 0.00022864576921565816,
179
- "loss": 0.1975,
180
  "step": 1150
181
  },
182
  {
183
  "epoch": 1.2,
184
- "grad_norm": 0.4154033064842224,
185
  "learning_rate": 0.00020701772493014758,
186
- "loss": 0.2287,
187
  "step": 1200
188
  },
189
  {
190
  "epoch": 1.25,
191
- "grad_norm": 4.476439952850342,
192
  "learning_rate": 0.000185716801711326,
193
- "loss": 0.1616,
194
  "step": 1250
195
  },
196
  {
197
  "epoch": 1.3,
198
- "grad_norm": 1.6992826461791992,
199
  "learning_rate": 0.00016490511244673752,
200
- "loss": 0.2148,
201
  "step": 1300
202
  },
203
  {
204
  "epoch": 1.35,
205
- "grad_norm": 0.05715026333928108,
206
  "learning_rate": 0.00014474104665812727,
207
- "loss": 0.1924,
208
  "step": 1350
209
  },
210
  {
211
  "epoch": 1.4,
212
- "grad_norm": 0.4368828237056732,
213
  "learning_rate": 0.00012537806506154246,
214
- "loss": 0.2802,
215
  "step": 1400
216
  },
217
  {
218
  "epoch": 1.45,
219
- "grad_norm": 9.841861724853516,
220
  "learning_rate": 0.000106963531638621,
221
- "loss": 0.2365,
222
  "step": 1450
223
  },
224
  {
225
  "epoch": 1.5,
226
- "grad_norm": 5.830471515655518,
227
  "learning_rate": 8.963759210771053e-05,
228
- "loss": 0.1976,
229
  "step": 1500
230
  },
231
  {
232
  "epoch": 1.55,
233
- "grad_norm": 1.8864021301269531,
234
  "learning_rate": 7.353210733032975e-05,
235
- "loss": 0.1159,
236
  "step": 1550
237
  },
238
  {
239
  "epoch": 1.6,
240
- "grad_norm": 0.935715913772583,
241
  "learning_rate": 5.8769649770392066e-05,
242
- "loss": 0.2711,
243
  "step": 1600
244
  },
245
  {
246
  "epoch": 1.65,
247
- "grad_norm": 3.448141098022461,
248
  "learning_rate": 4.54625706437441e-05,
249
- "loss": 0.1457,
250
  "step": 1650
251
  },
252
  {
253
  "epoch": 1.7,
254
- "grad_norm": 0.26408058404922485,
255
  "learning_rate": 3.3712144857573926e-05,
256
- "loss": 0.1295,
257
  "step": 1700
258
  },
259
  {
260
  "epoch": 1.75,
261
- "grad_norm": 6.582496166229248,
262
  "learning_rate": 2.360780024721515e-05,
263
- "loss": 0.2119,
264
  "step": 1750
265
  },
266
  {
267
  "epoch": 1.8,
268
- "grad_norm": 0.09614744782447815,
269
  "learning_rate": 1.5226436976322727e-05,
270
- "loss": 0.1756,
271
  "step": 1800
272
  },
273
  {
274
  "epoch": 1.85,
275
- "grad_norm": 0.44165489077568054,
276
  "learning_rate": 8.631842280193758e-06,
277
- "loss": 0.2397,
278
  "step": 1850
279
  },
280
  {
281
  "epoch": 1.9,
282
- "grad_norm": 0.24838687479496002,
283
  "learning_rate": 3.874205006390852e-06,
284
- "loss": 0.2134,
285
  "step": 1900
286
  },
287
  {
288
  "epoch": 1.95,
289
- "grad_norm": 8.217869758605957,
290
  "learning_rate": 9.897336473076167e-07,
291
- "loss": 0.2494,
292
  "step": 1950
293
  },
294
  {
295
  "epoch": 2.0,
296
- "grad_norm": 1.3854464292526245,
297
  "learning_rate": 3.807716780768189e-10,
298
- "loss": 0.1898,
299
  "step": 2000
300
  },
301
  {
302
  "epoch": 2.0,
303
  "eval_accuracy": 0.924,
304
- "eval_loss": 0.2653724253177643,
305
- "eval_runtime": 45.7618,
306
- "eval_samples_per_second": 43.705,
307
- "eval_steps_per_second": 21.852,
308
  "step": 2000
309
  }
310
  ],
 
11
  "log_history": [
12
  {
13
  "epoch": 0.05,
14
+ "grad_norm": 2.0022401809692383,
15
  "learning_rate": 0.0001225,
16
+ "loss": 0.703,
17
  "step": 50
18
  },
19
  {
20
  "epoch": 0.1,
21
+ "grad_norm": 1.6413620710372925,
22
  "learning_rate": 0.0002475,
23
  "loss": 0.6735,
24
  "step": 100
25
  },
26
  {
27
  "epoch": 0.15,
28
+ "grad_norm": 6.632427215576172,
29
  "learning_rate": 0.0003725,
30
+ "loss": 0.5469,
31
  "step": 150
32
  },
33
  {
34
  "epoch": 0.2,
35
+ "grad_norm": 1.8693019151687622,
36
  "learning_rate": 0.0004975,
37
+ "loss": 0.6154,
38
  "step": 200
39
  },
40
  {
41
  "epoch": 0.25,
42
+ "grad_norm": 7.796047687530518,
43
  "learning_rate": 0.0004990863240477266,
44
+ "loss": 0.3135,
45
  "step": 250
46
  },
47
  {
48
  "epoch": 0.3,
49
+ "grad_norm": 0.8750956654548645,
50
  "learning_rate": 0.0004962773315386935,
51
+ "loss": 0.3788,
52
  "step": 300
53
  },
54
  {
55
  "epoch": 0.35,
56
+ "grad_norm": 2.438046455383301,
57
  "learning_rate": 0.0004915940198303324,
58
+ "loss": 0.3203,
59
  "step": 350
60
  },
61
  {
62
  "epoch": 0.4,
63
+ "grad_norm": 0.4791859984397888,
64
  "learning_rate": 0.00048507203175260474,
65
+ "loss": 0.2855,
66
  "step": 400
67
  },
68
  {
69
  "epoch": 0.45,
70
+ "grad_norm": 6.871181964874268,
71
  "learning_rate": 0.0004767610035728662,
72
+ "loss": 0.3167,
73
  "step": 450
74
  },
75
  {
76
  "epoch": 0.5,
77
+ "grad_norm": 0.08755309879779816,
78
  "learning_rate": 0.0004667241872339007,
79
+ "loss": 0.2732,
80
  "step": 500
81
  },
82
  {
83
  "epoch": 0.55,
84
+ "grad_norm": 0.43568190932273865,
85
  "learning_rate": 0.00045503796896844307,
86
+ "loss": 0.3608,
87
  "step": 550
88
  },
89
  {
90
  "epoch": 0.6,
91
+ "grad_norm": 3.768226385116577,
92
  "learning_rate": 0.00044179128795382493,
93
+ "loss": 0.2945,
94
  "step": 600
95
  },
96
  {
97
  "epoch": 0.65,
98
+ "grad_norm": 4.359898567199707,
99
  "learning_rate": 0.00042708495943113224,
100
+ "loss": 0.2697,
101
  "step": 650
102
  },
103
  {
104
  "epoch": 0.7,
105
+ "grad_norm": 1.9498214721679688,
106
  "learning_rate": 0.00041103090744034666,
107
+ "loss": 0.3245,
108
  "step": 700
109
  },
110
  {
111
  "epoch": 0.75,
112
+ "grad_norm": 0.7939767241477966,
113
  "learning_rate": 0.0003937513130108197,
114
+ "loss": 0.2775,
115
  "step": 750
116
  },
117
  {
118
  "epoch": 0.8,
119
+ "grad_norm": 7.53210973739624,
120
  "learning_rate": 0.00037537768428986434,
121
+ "loss": 0.333,
122
  "step": 800
123
  },
124
  {
125
  "epoch": 0.85,
126
+ "grad_norm": 1.3197941780090332,
127
  "learning_rate": 0.0003560498556863475,
128
+ "loss": 0.2535,
129
  "step": 850
130
  },
131
  {
132
  "epoch": 0.9,
133
+ "grad_norm": 4.376391410827637,
134
  "learning_rate": 0.0003359149236464041,
135
+ "loss": 0.2585,
136
  "step": 900
137
  },
138
  {
139
  "epoch": 0.95,
140
+ "grad_norm": 4.018824577331543,
141
  "learning_rate": 0.00031512612716066215,
142
+ "loss": 0.2368,
143
  "step": 950
144
  },
145
  {
146
  "epoch": 1.0,
147
+ "grad_norm": 1.9961744546890259,
148
  "learning_rate": 0.00029384168152299676,
149
+ "loss": 0.2533,
150
  "step": 1000
151
  },
152
  {
153
  "epoch": 1.0,
154
+ "eval_accuracy": 0.9185,
155
+ "eval_loss": 0.27835872769355774,
156
+ "eval_runtime": 47.563,
157
+ "eval_samples_per_second": 42.049,
158
+ "eval_steps_per_second": 21.025,
159
  "step": 1000
160
  },
161
  {
162
  "epoch": 1.05,
163
+ "grad_norm": 3.986208915710449,
164
  "learning_rate": 0.00027222357421661044,
165
+ "loss": 0.2054,
166
  "step": 1050
167
  },
168
  {
169
  "epoch": 1.1,
170
+ "grad_norm": 4.131945610046387,
171
  "learning_rate": 0.0002504363320914746,
172
+ "loss": 0.1693,
173
  "step": 1100
174
  },
175
  {
176
  "epoch": 1.15,
177
+ "grad_norm": 0.10492417216300964,
178
  "learning_rate": 0.00022864576921565816,
179
+ "loss": 0.2037,
180
  "step": 1150
181
  },
182
  {
183
  "epoch": 1.2,
184
+ "grad_norm": 0.286766916513443,
185
  "learning_rate": 0.00020701772493014758,
186
+ "loss": 0.2305,
187
  "step": 1200
188
  },
189
  {
190
  "epoch": 1.25,
191
+ "grad_norm": 4.297652721405029,
192
  "learning_rate": 0.000185716801711326,
193
+ "loss": 0.1592,
194
  "step": 1250
195
  },
196
  {
197
  "epoch": 1.3,
198
+ "grad_norm": 1.9070364236831665,
199
  "learning_rate": 0.00016490511244673752,
200
+ "loss": 0.1998,
201
  "step": 1300
202
  },
203
  {
204
  "epoch": 1.35,
205
+ "grad_norm": 0.04250560328364372,
206
  "learning_rate": 0.00014474104665812727,
207
+ "loss": 0.1699,
208
  "step": 1350
209
  },
210
  {
211
  "epoch": 1.4,
212
+ "grad_norm": 0.16112375259399414,
213
  "learning_rate": 0.00012537806506154246,
214
+ "loss": 0.2727,
215
  "step": 1400
216
  },
217
  {
218
  "epoch": 1.45,
219
+ "grad_norm": 6.064806938171387,
220
  "learning_rate": 0.000106963531638621,
221
+ "loss": 0.2407,
222
  "step": 1450
223
  },
224
  {
225
  "epoch": 1.5,
226
+ "grad_norm": 1.4757925271987915,
227
  "learning_rate": 8.963759210771053e-05,
228
+ "loss": 0.1953,
229
  "step": 1500
230
  },
231
  {
232
  "epoch": 1.55,
233
+ "grad_norm": 0.12172006070613861,
234
  "learning_rate": 7.353210733032975e-05,
235
+ "loss": 0.1397,
236
  "step": 1550
237
  },
238
  {
239
  "epoch": 1.6,
240
+ "grad_norm": 1.6855131387710571,
241
  "learning_rate": 5.8769649770392066e-05,
242
+ "loss": 0.2656,
243
  "step": 1600
244
  },
245
  {
246
  "epoch": 1.65,
247
+ "grad_norm": 9.262821197509766,
248
  "learning_rate": 4.54625706437441e-05,
249
+ "loss": 0.1447,
250
  "step": 1650
251
  },
252
  {
253
  "epoch": 1.7,
254
+ "grad_norm": 0.10529584437608719,
255
  "learning_rate": 3.3712144857573926e-05,
256
+ "loss": 0.1424,
257
  "step": 1700
258
  },
259
  {
260
  "epoch": 1.75,
261
+ "grad_norm": 8.399650573730469,
262
  "learning_rate": 2.360780024721515e-05,
263
+ "loss": 0.2099,
264
  "step": 1750
265
  },
266
  {
267
  "epoch": 1.8,
268
+ "grad_norm": 0.10371621698141098,
269
  "learning_rate": 1.5226436976322727e-05,
270
+ "loss": 0.1819,
271
  "step": 1800
272
  },
273
  {
274
  "epoch": 1.85,
275
+ "grad_norm": 0.38396862149238586,
276
  "learning_rate": 8.631842280193758e-06,
277
+ "loss": 0.2066,
278
  "step": 1850
279
  },
280
  {
281
  "epoch": 1.9,
282
+ "grad_norm": 0.6245690584182739,
283
  "learning_rate": 3.874205006390852e-06,
284
+ "loss": 0.1865,
285
  "step": 1900
286
  },
287
  {
288
  "epoch": 1.95,
289
+ "grad_norm": 7.9351487159729,
290
  "learning_rate": 9.897336473076167e-07,
291
+ "loss": 0.2503,
292
  "step": 1950
293
  },
294
  {
295
  "epoch": 2.0,
296
+ "grad_norm": 4.218188285827637,
297
  "learning_rate": 3.807716780768189e-10,
298
+ "loss": 0.165,
299
  "step": 2000
300
  },
301
  {
302
  "epoch": 2.0,
303
  "eval_accuracy": 0.924,
304
+ "eval_loss": 0.268412709236145,
305
+ "eval_runtime": 47.5747,
306
+ "eval_samples_per_second": 42.039,
307
+ "eval_steps_per_second": 21.02,
308
  "step": 2000
309
  }
310
  ],
checkpoint-2000/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0a54d72e19681908d27bbd04d48eecb24726b5b5d9dd48e56934d90934c85fd3
3
  size 5841
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97c5508005e4bf2b2724268b70aa647230c1231485801a65a4e181df72dbe571
3
  size 5841
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,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97c5508005e4bf2b2724268b70aa647230c1231485801a65a4e181df72dbe571
3
+ size 5841
vocab.txt ADDED
The diff for this file is too large to render. See raw diff