Upload folder using huggingface_hub
Browse files- README.md +206 -3
- adapter_config.json +41 -0
- adapter_model.safetensors +3 -0
- checkpoint-1000/adapter_config.json +2 -2
- checkpoint-1000/adapter_model.safetensors +1 -1
- checkpoint-1000/optimizer.pt +1 -1
- checkpoint-1000/tokenizer.json +2 -16
- checkpoint-1000/trainer_state.json +45 -45
- checkpoint-1000/training_args.bin +1 -1
- checkpoint-2000/adapter_config.json +2 -2
- checkpoint-2000/adapter_model.safetensors +1 -1
- checkpoint-2000/optimizer.pt +1 -1
- checkpoint-2000/tokenizer.json +2 -16
- checkpoint-2000/trainer_state.json +88 -88
- checkpoint-2000/training_args.bin +1 -1
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +56 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
CHANGED
|
@@ -1,3 +1,206 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 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:
|
| 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:
|
| 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 |
-
|
| 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.
|
| 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.
|
| 15 |
"learning_rate": 0.0001225,
|
| 16 |
-
"loss": 0.
|
| 17 |
"step": 50
|
| 18 |
},
|
| 19 |
{
|
| 20 |
"epoch": 0.1,
|
| 21 |
-
"grad_norm": 1.
|
| 22 |
"learning_rate": 0.0002475,
|
| 23 |
"loss": 0.6735,
|
| 24 |
"step": 100
|
| 25 |
},
|
| 26 |
{
|
| 27 |
"epoch": 0.15,
|
| 28 |
-
"grad_norm":
|
| 29 |
"learning_rate": 0.0003725,
|
| 30 |
-
"loss": 0.
|
| 31 |
"step": 150
|
| 32 |
},
|
| 33 |
{
|
| 34 |
"epoch": 0.2,
|
| 35 |
-
"grad_norm":
|
| 36 |
"learning_rate": 0.0004975,
|
| 37 |
-
"loss": 0.
|
| 38 |
"step": 200
|
| 39 |
},
|
| 40 |
{
|
| 41 |
"epoch": 0.25,
|
| 42 |
-
"grad_norm":
|
| 43 |
"learning_rate": 0.0004990863240477266,
|
| 44 |
-
"loss": 0.
|
| 45 |
"step": 250
|
| 46 |
},
|
| 47 |
{
|
| 48 |
"epoch": 0.3,
|
| 49 |
-
"grad_norm":
|
| 50 |
"learning_rate": 0.0004962773315386935,
|
| 51 |
-
"loss": 0.
|
| 52 |
"step": 300
|
| 53 |
},
|
| 54 |
{
|
| 55 |
"epoch": 0.35,
|
| 56 |
-
"grad_norm": 2.
|
| 57 |
"learning_rate": 0.0004915940198303324,
|
| 58 |
-
"loss": 0.
|
| 59 |
"step": 350
|
| 60 |
},
|
| 61 |
{
|
| 62 |
"epoch": 0.4,
|
| 63 |
-
"grad_norm": 0.
|
| 64 |
"learning_rate": 0.00048507203175260474,
|
| 65 |
-
"loss": 0.
|
| 66 |
"step": 400
|
| 67 |
},
|
| 68 |
{
|
| 69 |
"epoch": 0.45,
|
| 70 |
-
"grad_norm":
|
| 71 |
"learning_rate": 0.0004767610035728662,
|
| 72 |
-
"loss": 0.
|
| 73 |
"step": 450
|
| 74 |
},
|
| 75 |
{
|
| 76 |
"epoch": 0.5,
|
| 77 |
-
"grad_norm": 0.
|
| 78 |
"learning_rate": 0.0004667241872339007,
|
| 79 |
-
"loss": 0.
|
| 80 |
"step": 500
|
| 81 |
},
|
| 82 |
{
|
| 83 |
"epoch": 0.55,
|
| 84 |
-
"grad_norm": 0.
|
| 85 |
"learning_rate": 0.00045503796896844307,
|
| 86 |
-
"loss": 0.
|
| 87 |
"step": 550
|
| 88 |
},
|
| 89 |
{
|
| 90 |
"epoch": 0.6,
|
| 91 |
-
"grad_norm":
|
| 92 |
"learning_rate": 0.00044179128795382493,
|
| 93 |
-
"loss": 0.
|
| 94 |
"step": 600
|
| 95 |
},
|
| 96 |
{
|
| 97 |
"epoch": 0.65,
|
| 98 |
-
"grad_norm":
|
| 99 |
"learning_rate": 0.00042708495943113224,
|
| 100 |
-
"loss": 0.
|
| 101 |
"step": 650
|
| 102 |
},
|
| 103 |
{
|
| 104 |
"epoch": 0.7,
|
| 105 |
-
"grad_norm":
|
| 106 |
"learning_rate": 0.00041103090744034666,
|
| 107 |
-
"loss": 0.
|
| 108 |
"step": 700
|
| 109 |
},
|
| 110 |
{
|
| 111 |
"epoch": 0.75,
|
| 112 |
-
"grad_norm": 0.
|
| 113 |
"learning_rate": 0.0003937513130108197,
|
| 114 |
-
"loss": 0.
|
| 115 |
"step": 750
|
| 116 |
},
|
| 117 |
{
|
| 118 |
"epoch": 0.8,
|
| 119 |
-
"grad_norm":
|
| 120 |
"learning_rate": 0.00037537768428986434,
|
| 121 |
-
"loss": 0.
|
| 122 |
"step": 800
|
| 123 |
},
|
| 124 |
{
|
| 125 |
"epoch": 0.85,
|
| 126 |
-
"grad_norm": 1.
|
| 127 |
"learning_rate": 0.0003560498556863475,
|
| 128 |
-
"loss": 0.
|
| 129 |
"step": 850
|
| 130 |
},
|
| 131 |
{
|
| 132 |
"epoch": 0.9,
|
| 133 |
-
"grad_norm":
|
| 134 |
"learning_rate": 0.0003359149236464041,
|
| 135 |
-
"loss": 0.
|
| 136 |
"step": 900
|
| 137 |
},
|
| 138 |
{
|
| 139 |
"epoch": 0.95,
|
| 140 |
-
"grad_norm":
|
| 141 |
"learning_rate": 0.00031512612716066215,
|
| 142 |
-
"loss": 0.
|
| 143 |
"step": 950
|
| 144 |
},
|
| 145 |
{
|
| 146 |
"epoch": 1.0,
|
| 147 |
-
"grad_norm":
|
| 148 |
"learning_rate": 0.00029384168152299676,
|
| 149 |
-
"loss": 0.
|
| 150 |
"step": 1000
|
| 151 |
},
|
| 152 |
{
|
| 153 |
"epoch": 1.0,
|
| 154 |
-
"eval_accuracy": 0.
|
| 155 |
-
"eval_loss": 0.
|
| 156 |
-
"eval_runtime":
|
| 157 |
-
"eval_samples_per_second":
|
| 158 |
-
"eval_steps_per_second": 21.
|
| 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:
|
| 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:
|
| 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:
|
| 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 |
-
|
| 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.
|
| 15 |
"learning_rate": 0.0001225,
|
| 16 |
-
"loss": 0.
|
| 17 |
"step": 50
|
| 18 |
},
|
| 19 |
{
|
| 20 |
"epoch": 0.1,
|
| 21 |
-
"grad_norm": 1.
|
| 22 |
"learning_rate": 0.0002475,
|
| 23 |
"loss": 0.6735,
|
| 24 |
"step": 100
|
| 25 |
},
|
| 26 |
{
|
| 27 |
"epoch": 0.15,
|
| 28 |
-
"grad_norm":
|
| 29 |
"learning_rate": 0.0003725,
|
| 30 |
-
"loss": 0.
|
| 31 |
"step": 150
|
| 32 |
},
|
| 33 |
{
|
| 34 |
"epoch": 0.2,
|
| 35 |
-
"grad_norm":
|
| 36 |
"learning_rate": 0.0004975,
|
| 37 |
-
"loss": 0.
|
| 38 |
"step": 200
|
| 39 |
},
|
| 40 |
{
|
| 41 |
"epoch": 0.25,
|
| 42 |
-
"grad_norm":
|
| 43 |
"learning_rate": 0.0004990863240477266,
|
| 44 |
-
"loss": 0.
|
| 45 |
"step": 250
|
| 46 |
},
|
| 47 |
{
|
| 48 |
"epoch": 0.3,
|
| 49 |
-
"grad_norm":
|
| 50 |
"learning_rate": 0.0004962773315386935,
|
| 51 |
-
"loss": 0.
|
| 52 |
"step": 300
|
| 53 |
},
|
| 54 |
{
|
| 55 |
"epoch": 0.35,
|
| 56 |
-
"grad_norm": 2.
|
| 57 |
"learning_rate": 0.0004915940198303324,
|
| 58 |
-
"loss": 0.
|
| 59 |
"step": 350
|
| 60 |
},
|
| 61 |
{
|
| 62 |
"epoch": 0.4,
|
| 63 |
-
"grad_norm": 0.
|
| 64 |
"learning_rate": 0.00048507203175260474,
|
| 65 |
-
"loss": 0.
|
| 66 |
"step": 400
|
| 67 |
},
|
| 68 |
{
|
| 69 |
"epoch": 0.45,
|
| 70 |
-
"grad_norm":
|
| 71 |
"learning_rate": 0.0004767610035728662,
|
| 72 |
-
"loss": 0.
|
| 73 |
"step": 450
|
| 74 |
},
|
| 75 |
{
|
| 76 |
"epoch": 0.5,
|
| 77 |
-
"grad_norm": 0.
|
| 78 |
"learning_rate": 0.0004667241872339007,
|
| 79 |
-
"loss": 0.
|
| 80 |
"step": 500
|
| 81 |
},
|
| 82 |
{
|
| 83 |
"epoch": 0.55,
|
| 84 |
-
"grad_norm": 0.
|
| 85 |
"learning_rate": 0.00045503796896844307,
|
| 86 |
-
"loss": 0.
|
| 87 |
"step": 550
|
| 88 |
},
|
| 89 |
{
|
| 90 |
"epoch": 0.6,
|
| 91 |
-
"grad_norm":
|
| 92 |
"learning_rate": 0.00044179128795382493,
|
| 93 |
-
"loss": 0.
|
| 94 |
"step": 600
|
| 95 |
},
|
| 96 |
{
|
| 97 |
"epoch": 0.65,
|
| 98 |
-
"grad_norm":
|
| 99 |
"learning_rate": 0.00042708495943113224,
|
| 100 |
-
"loss": 0.
|
| 101 |
"step": 650
|
| 102 |
},
|
| 103 |
{
|
| 104 |
"epoch": 0.7,
|
| 105 |
-
"grad_norm":
|
| 106 |
"learning_rate": 0.00041103090744034666,
|
| 107 |
-
"loss": 0.
|
| 108 |
"step": 700
|
| 109 |
},
|
| 110 |
{
|
| 111 |
"epoch": 0.75,
|
| 112 |
-
"grad_norm": 0.
|
| 113 |
"learning_rate": 0.0003937513130108197,
|
| 114 |
-
"loss": 0.
|
| 115 |
"step": 750
|
| 116 |
},
|
| 117 |
{
|
| 118 |
"epoch": 0.8,
|
| 119 |
-
"grad_norm":
|
| 120 |
"learning_rate": 0.00037537768428986434,
|
| 121 |
-
"loss": 0.
|
| 122 |
"step": 800
|
| 123 |
},
|
| 124 |
{
|
| 125 |
"epoch": 0.85,
|
| 126 |
-
"grad_norm": 1.
|
| 127 |
"learning_rate": 0.0003560498556863475,
|
| 128 |
-
"loss": 0.
|
| 129 |
"step": 850
|
| 130 |
},
|
| 131 |
{
|
| 132 |
"epoch": 0.9,
|
| 133 |
-
"grad_norm":
|
| 134 |
"learning_rate": 0.0003359149236464041,
|
| 135 |
-
"loss": 0.
|
| 136 |
"step": 900
|
| 137 |
},
|
| 138 |
{
|
| 139 |
"epoch": 0.95,
|
| 140 |
-
"grad_norm":
|
| 141 |
"learning_rate": 0.00031512612716066215,
|
| 142 |
-
"loss": 0.
|
| 143 |
"step": 950
|
| 144 |
},
|
| 145 |
{
|
| 146 |
"epoch": 1.0,
|
| 147 |
-
"grad_norm":
|
| 148 |
"learning_rate": 0.00029384168152299676,
|
| 149 |
-
"loss": 0.
|
| 150 |
"step": 1000
|
| 151 |
},
|
| 152 |
{
|
| 153 |
"epoch": 1.0,
|
| 154 |
-
"eval_accuracy": 0.
|
| 155 |
-
"eval_loss": 0.
|
| 156 |
-
"eval_runtime":
|
| 157 |
-
"eval_samples_per_second":
|
| 158 |
-
"eval_steps_per_second": 21.
|
| 159 |
"step": 1000
|
| 160 |
},
|
| 161 |
{
|
| 162 |
"epoch": 1.05,
|
| 163 |
-
"grad_norm":
|
| 164 |
"learning_rate": 0.00027222357421661044,
|
| 165 |
-
"loss": 0.
|
| 166 |
"step": 1050
|
| 167 |
},
|
| 168 |
{
|
| 169 |
"epoch": 1.1,
|
| 170 |
-
"grad_norm":
|
| 171 |
"learning_rate": 0.0002504363320914746,
|
| 172 |
-
"loss": 0.
|
| 173 |
"step": 1100
|
| 174 |
},
|
| 175 |
{
|
| 176 |
"epoch": 1.15,
|
| 177 |
-
"grad_norm": 0.
|
| 178 |
"learning_rate": 0.00022864576921565816,
|
| 179 |
-
"loss": 0.
|
| 180 |
"step": 1150
|
| 181 |
},
|
| 182 |
{
|
| 183 |
"epoch": 1.2,
|
| 184 |
-
"grad_norm": 0.
|
| 185 |
"learning_rate": 0.00020701772493014758,
|
| 186 |
-
"loss": 0.
|
| 187 |
"step": 1200
|
| 188 |
},
|
| 189 |
{
|
| 190 |
"epoch": 1.25,
|
| 191 |
-
"grad_norm": 4.
|
| 192 |
"learning_rate": 0.000185716801711326,
|
| 193 |
-
"loss": 0.
|
| 194 |
"step": 1250
|
| 195 |
},
|
| 196 |
{
|
| 197 |
"epoch": 1.3,
|
| 198 |
-
"grad_norm": 1.
|
| 199 |
"learning_rate": 0.00016490511244673752,
|
| 200 |
-
"loss": 0.
|
| 201 |
"step": 1300
|
| 202 |
},
|
| 203 |
{
|
| 204 |
"epoch": 1.35,
|
| 205 |
-
"grad_norm": 0.
|
| 206 |
"learning_rate": 0.00014474104665812727,
|
| 207 |
-
"loss": 0.
|
| 208 |
"step": 1350
|
| 209 |
},
|
| 210 |
{
|
| 211 |
"epoch": 1.4,
|
| 212 |
-
"grad_norm": 0.
|
| 213 |
"learning_rate": 0.00012537806506154246,
|
| 214 |
-
"loss": 0.
|
| 215 |
"step": 1400
|
| 216 |
},
|
| 217 |
{
|
| 218 |
"epoch": 1.45,
|
| 219 |
-
"grad_norm":
|
| 220 |
"learning_rate": 0.000106963531638621,
|
| 221 |
-
"loss": 0.
|
| 222 |
"step": 1450
|
| 223 |
},
|
| 224 |
{
|
| 225 |
"epoch": 1.5,
|
| 226 |
-
"grad_norm":
|
| 227 |
"learning_rate": 8.963759210771053e-05,
|
| 228 |
-
"loss": 0.
|
| 229 |
"step": 1500
|
| 230 |
},
|
| 231 |
{
|
| 232 |
"epoch": 1.55,
|
| 233 |
-
"grad_norm":
|
| 234 |
"learning_rate": 7.353210733032975e-05,
|
| 235 |
-
"loss": 0.
|
| 236 |
"step": 1550
|
| 237 |
},
|
| 238 |
{
|
| 239 |
"epoch": 1.6,
|
| 240 |
-
"grad_norm":
|
| 241 |
"learning_rate": 5.8769649770392066e-05,
|
| 242 |
-
"loss": 0.
|
| 243 |
"step": 1600
|
| 244 |
},
|
| 245 |
{
|
| 246 |
"epoch": 1.65,
|
| 247 |
-
"grad_norm":
|
| 248 |
"learning_rate": 4.54625706437441e-05,
|
| 249 |
-
"loss": 0.
|
| 250 |
"step": 1650
|
| 251 |
},
|
| 252 |
{
|
| 253 |
"epoch": 1.7,
|
| 254 |
-
"grad_norm": 0.
|
| 255 |
"learning_rate": 3.3712144857573926e-05,
|
| 256 |
-
"loss": 0.
|
| 257 |
"step": 1700
|
| 258 |
},
|
| 259 |
{
|
| 260 |
"epoch": 1.75,
|
| 261 |
-
"grad_norm":
|
| 262 |
"learning_rate": 2.360780024721515e-05,
|
| 263 |
-
"loss": 0.
|
| 264 |
"step": 1750
|
| 265 |
},
|
| 266 |
{
|
| 267 |
"epoch": 1.8,
|
| 268 |
-
"grad_norm": 0.
|
| 269 |
"learning_rate": 1.5226436976322727e-05,
|
| 270 |
-
"loss": 0.
|
| 271 |
"step": 1800
|
| 272 |
},
|
| 273 |
{
|
| 274 |
"epoch": 1.85,
|
| 275 |
-
"grad_norm": 0.
|
| 276 |
"learning_rate": 8.631842280193758e-06,
|
| 277 |
-
"loss": 0.
|
| 278 |
"step": 1850
|
| 279 |
},
|
| 280 |
{
|
| 281 |
"epoch": 1.9,
|
| 282 |
-
"grad_norm": 0.
|
| 283 |
"learning_rate": 3.874205006390852e-06,
|
| 284 |
-
"loss": 0.
|
| 285 |
"step": 1900
|
| 286 |
},
|
| 287 |
{
|
| 288 |
"epoch": 1.95,
|
| 289 |
-
"grad_norm":
|
| 290 |
"learning_rate": 9.897336473076167e-07,
|
| 291 |
-
"loss": 0.
|
| 292 |
"step": 1950
|
| 293 |
},
|
| 294 |
{
|
| 295 |
"epoch": 2.0,
|
| 296 |
-
"grad_norm":
|
| 297 |
"learning_rate": 3.807716780768189e-10,
|
| 298 |
-
"loss": 0.
|
| 299 |
"step": 2000
|
| 300 |
},
|
| 301 |
{
|
| 302 |
"epoch": 2.0,
|
| 303 |
"eval_accuracy": 0.924,
|
| 304 |
-
"eval_loss": 0.
|
| 305 |
-
"eval_runtime":
|
| 306 |
-
"eval_samples_per_second":
|
| 307 |
-
"eval_steps_per_second": 21.
|
| 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:
|
| 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
|
|
|