Training in progress, step 4000, checkpoint
Browse files- last-checkpoint/README.md +206 -0
- last-checkpoint/adapter_config.json +44 -0
- last-checkpoint/adapter_model.safetensors +3 -0
- last-checkpoint/merges.txt +0 -0
- last-checkpoint/optimizer.pt +3 -0
- last-checkpoint/rng_state.pth +3 -0
- last-checkpoint/scaler.pt +3 -0
- last-checkpoint/scheduler.pt +3 -0
- last-checkpoint/special_tokens_map.json +51 -0
- last-checkpoint/tokenizer.json +0 -0
- last-checkpoint/tokenizer_config.json +58 -0
- last-checkpoint/trainer_state.json +335 -0
- last-checkpoint/training_args.bin +3 -0
- last-checkpoint/vocab.json +0 -0
last-checkpoint/README.md
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: microsoft/codebert-base
|
| 3 |
+
library_name: peft
|
| 4 |
+
tags:
|
| 5 |
+
- base_model:adapter:microsoft/codebert-base
|
| 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.18.0
|
last-checkpoint/adapter_config.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "microsoft/codebert-base",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 16,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": [
|
| 25 |
+
"classifier",
|
| 26 |
+
"score"
|
| 27 |
+
],
|
| 28 |
+
"peft_type": "LORA",
|
| 29 |
+
"peft_version": "0.18.0",
|
| 30 |
+
"qalora_group_size": 16,
|
| 31 |
+
"r": 8,
|
| 32 |
+
"rank_pattern": {},
|
| 33 |
+
"revision": null,
|
| 34 |
+
"target_modules": [
|
| 35 |
+
"query",
|
| 36 |
+
"value"
|
| 37 |
+
],
|
| 38 |
+
"target_parameters": null,
|
| 39 |
+
"task_type": "SEQ_CLS",
|
| 40 |
+
"trainable_token_indices": null,
|
| 41 |
+
"use_dora": false,
|
| 42 |
+
"use_qalora": false,
|
| 43 |
+
"use_rslora": false
|
| 44 |
+
}
|
last-checkpoint/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:287ec11c7aa9785f19f3325e8990b5f18d5c57ec38761318955258821030fe27
|
| 3 |
+
size 3555504
|
last-checkpoint/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
last-checkpoint/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c31a150124a7ea427f43bc4ac445d44ad12e21e99ecd6c98da84ba3d565dd351
|
| 3 |
+
size 7141515
|
last-checkpoint/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:74d09515db2365d54ed4fb3e4ed5de4469a5250824cf3ae5896f1be16012963a
|
| 3 |
+
size 14645
|
last-checkpoint/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a673142a4765448623d7954beb82b8e41b9b2064038630b1fde69d4143bc2a13
|
| 3 |
+
size 1383
|
last-checkpoint/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d62c438edc2d4a191166e0bbea3d27e3a449ada773ef41a1c9aec359a7c4c829
|
| 3 |
+
size 1465
|
last-checkpoint/special_tokens_map.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": true,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"cls_token": {
|
| 10 |
+
"content": "<s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": true,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"eos_token": {
|
| 17 |
+
"content": "</s>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": true,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"mask_token": {
|
| 24 |
+
"content": "<mask>",
|
| 25 |
+
"lstrip": true,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
},
|
| 30 |
+
"pad_token": {
|
| 31 |
+
"content": "<pad>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": true,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false
|
| 36 |
+
},
|
| 37 |
+
"sep_token": {
|
| 38 |
+
"content": "</s>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": true,
|
| 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 |
+
}
|
last-checkpoint/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
last-checkpoint/tokenizer_config.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"0": {
|
| 5 |
+
"content": "<s>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": true,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"1": {
|
| 13 |
+
"content": "<pad>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": true,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"2": {
|
| 21 |
+
"content": "</s>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": true,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"3": {
|
| 29 |
+
"content": "<unk>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": true,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"50264": {
|
| 37 |
+
"content": "<mask>",
|
| 38 |
+
"lstrip": true,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
"bos_token": "<s>",
|
| 46 |
+
"clean_up_tokenization_spaces": false,
|
| 47 |
+
"cls_token": "<s>",
|
| 48 |
+
"eos_token": "</s>",
|
| 49 |
+
"errors": "replace",
|
| 50 |
+
"extra_special_tokens": {},
|
| 51 |
+
"mask_token": "<mask>",
|
| 52 |
+
"model_max_length": 512,
|
| 53 |
+
"pad_token": "<pad>",
|
| 54 |
+
"sep_token": "</s>",
|
| 55 |
+
"tokenizer_class": "RobertaT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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": 4000,
|
| 3 |
+
"best_metric": 0.9586218246722099,
|
| 4 |
+
"best_model_checkpoint": "CodeGenDetect-CodeBert_Lora/checkpoint-4000",
|
| 5 |
+
"epoch": 0.128,
|
| 6 |
+
"eval_steps": 4000,
|
| 7 |
+
"global_step": 4000,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.0032,
|
| 14 |
+
"grad_norm": 1.3923053741455078,
|
| 15 |
+
"learning_rate": 3.96e-06,
|
| 16 |
+
"loss": 0.685,
|
| 17 |
+
"step": 100
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.0064,
|
| 21 |
+
"grad_norm": 1.665050983428955,
|
| 22 |
+
"learning_rate": 7.960000000000002e-06,
|
| 23 |
+
"loss": 0.6654,
|
| 24 |
+
"step": 200
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.0096,
|
| 28 |
+
"grad_norm": 3.1655123233795166,
|
| 29 |
+
"learning_rate": 1.196e-05,
|
| 30 |
+
"loss": 0.6169,
|
| 31 |
+
"step": 300
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.0128,
|
| 35 |
+
"grad_norm": 3.3807435035705566,
|
| 36 |
+
"learning_rate": 1.5960000000000003e-05,
|
| 37 |
+
"loss": 0.4635,
|
| 38 |
+
"step": 400
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.016,
|
| 42 |
+
"grad_norm": 0.7963143587112427,
|
| 43 |
+
"learning_rate": 1.9960000000000002e-05,
|
| 44 |
+
"loss": 0.2886,
|
| 45 |
+
"step": 500
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.0192,
|
| 49 |
+
"grad_norm": 1.5362155437469482,
|
| 50 |
+
"learning_rate": 1.9987287319422154e-05,
|
| 51 |
+
"loss": 0.2605,
|
| 52 |
+
"step": 600
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.0224,
|
| 56 |
+
"grad_norm": 3.649484395980835,
|
| 57 |
+
"learning_rate": 1.9974446227929375e-05,
|
| 58 |
+
"loss": 0.2194,
|
| 59 |
+
"step": 700
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.0256,
|
| 63 |
+
"grad_norm": 1.402876377105713,
|
| 64 |
+
"learning_rate": 1.99616051364366e-05,
|
| 65 |
+
"loss": 0.2367,
|
| 66 |
+
"step": 800
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.0288,
|
| 70 |
+
"grad_norm": 2.708932399749756,
|
| 71 |
+
"learning_rate": 1.994876404494382e-05,
|
| 72 |
+
"loss": 0.2061,
|
| 73 |
+
"step": 900
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.032,
|
| 77 |
+
"grad_norm": 2.4827463626861572,
|
| 78 |
+
"learning_rate": 1.9935922953451046e-05,
|
| 79 |
+
"loss": 0.1892,
|
| 80 |
+
"step": 1000
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.0352,
|
| 84 |
+
"grad_norm": 0.9402571320533752,
|
| 85 |
+
"learning_rate": 1.9923081861958268e-05,
|
| 86 |
+
"loss": 0.1819,
|
| 87 |
+
"step": 1100
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.0384,
|
| 91 |
+
"grad_norm": 0.8088085055351257,
|
| 92 |
+
"learning_rate": 1.9910240770465493e-05,
|
| 93 |
+
"loss": 0.1894,
|
| 94 |
+
"step": 1200
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.0416,
|
| 98 |
+
"grad_norm": 2.8913955688476562,
|
| 99 |
+
"learning_rate": 1.9897399678972714e-05,
|
| 100 |
+
"loss": 0.1733,
|
| 101 |
+
"step": 1300
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.0448,
|
| 105 |
+
"grad_norm": 1.9755029678344727,
|
| 106 |
+
"learning_rate": 1.988455858747994e-05,
|
| 107 |
+
"loss": 0.1748,
|
| 108 |
+
"step": 1400
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 0.048,
|
| 112 |
+
"grad_norm": 2.659393310546875,
|
| 113 |
+
"learning_rate": 1.987171749598716e-05,
|
| 114 |
+
"loss": 0.1557,
|
| 115 |
+
"step": 1500
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 0.0512,
|
| 119 |
+
"grad_norm": 10.118029594421387,
|
| 120 |
+
"learning_rate": 1.9858876404494382e-05,
|
| 121 |
+
"loss": 0.1702,
|
| 122 |
+
"step": 1600
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.0544,
|
| 126 |
+
"grad_norm": 3.736616373062134,
|
| 127 |
+
"learning_rate": 1.9846035313001607e-05,
|
| 128 |
+
"loss": 0.1694,
|
| 129 |
+
"step": 1700
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 0.0576,
|
| 133 |
+
"grad_norm": 4.140033721923828,
|
| 134 |
+
"learning_rate": 1.9833194221508828e-05,
|
| 135 |
+
"loss": 0.1615,
|
| 136 |
+
"step": 1800
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 0.0608,
|
| 140 |
+
"grad_norm": 4.504345893859863,
|
| 141 |
+
"learning_rate": 1.9820353130016053e-05,
|
| 142 |
+
"loss": 0.1425,
|
| 143 |
+
"step": 1900
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"epoch": 0.064,
|
| 147 |
+
"grad_norm": 5.786899089813232,
|
| 148 |
+
"learning_rate": 1.9807512038523274e-05,
|
| 149 |
+
"loss": 0.1588,
|
| 150 |
+
"step": 2000
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 0.0672,
|
| 154 |
+
"grad_norm": 9.956130027770996,
|
| 155 |
+
"learning_rate": 1.97946709470305e-05,
|
| 156 |
+
"loss": 0.1399,
|
| 157 |
+
"step": 2100
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"epoch": 0.0704,
|
| 161 |
+
"grad_norm": 11.86201286315918,
|
| 162 |
+
"learning_rate": 1.978182985553772e-05,
|
| 163 |
+
"loss": 0.173,
|
| 164 |
+
"step": 2200
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 0.0736,
|
| 168 |
+
"grad_norm": 0.6308254599571228,
|
| 169 |
+
"learning_rate": 1.9768988764044946e-05,
|
| 170 |
+
"loss": 0.1428,
|
| 171 |
+
"step": 2300
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"epoch": 0.0768,
|
| 175 |
+
"grad_norm": 3.123718023300171,
|
| 176 |
+
"learning_rate": 1.9756147672552167e-05,
|
| 177 |
+
"loss": 0.1365,
|
| 178 |
+
"step": 2400
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 0.08,
|
| 182 |
+
"grad_norm": 3.8000500202178955,
|
| 183 |
+
"learning_rate": 1.9743306581059392e-05,
|
| 184 |
+
"loss": 0.1528,
|
| 185 |
+
"step": 2500
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 0.0832,
|
| 189 |
+
"grad_norm": 2.9149184226989746,
|
| 190 |
+
"learning_rate": 1.9730465489566613e-05,
|
| 191 |
+
"loss": 0.1568,
|
| 192 |
+
"step": 2600
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"epoch": 0.0864,
|
| 196 |
+
"grad_norm": 8.345555305480957,
|
| 197 |
+
"learning_rate": 1.9717624398073838e-05,
|
| 198 |
+
"loss": 0.139,
|
| 199 |
+
"step": 2700
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"epoch": 0.0896,
|
| 203 |
+
"grad_norm": 1.785736322402954,
|
| 204 |
+
"learning_rate": 1.970478330658106e-05,
|
| 205 |
+
"loss": 0.1509,
|
| 206 |
+
"step": 2800
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 0.0928,
|
| 210 |
+
"grad_norm": 5.256857872009277,
|
| 211 |
+
"learning_rate": 1.9691942215088284e-05,
|
| 212 |
+
"loss": 0.1284,
|
| 213 |
+
"step": 2900
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"epoch": 0.096,
|
| 217 |
+
"grad_norm": 2.305225133895874,
|
| 218 |
+
"learning_rate": 1.967910112359551e-05,
|
| 219 |
+
"loss": 0.1249,
|
| 220 |
+
"step": 3000
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 0.0992,
|
| 224 |
+
"grad_norm": 1.1149404048919678,
|
| 225 |
+
"learning_rate": 1.966626003210273e-05,
|
| 226 |
+
"loss": 0.1223,
|
| 227 |
+
"step": 3100
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"epoch": 0.1024,
|
| 231 |
+
"grad_norm": 0.24498392641544342,
|
| 232 |
+
"learning_rate": 1.9653418940609955e-05,
|
| 233 |
+
"loss": 0.1415,
|
| 234 |
+
"step": 3200
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 0.1056,
|
| 238 |
+
"grad_norm": 3.027209520339966,
|
| 239 |
+
"learning_rate": 1.9640577849117177e-05,
|
| 240 |
+
"loss": 0.133,
|
| 241 |
+
"step": 3300
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 0.1088,
|
| 245 |
+
"grad_norm": 10.783885955810547,
|
| 246 |
+
"learning_rate": 1.9627736757624402e-05,
|
| 247 |
+
"loss": 0.1309,
|
| 248 |
+
"step": 3400
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"epoch": 0.112,
|
| 252 |
+
"grad_norm": 7.116244316101074,
|
| 253 |
+
"learning_rate": 1.9614895666131623e-05,
|
| 254 |
+
"loss": 0.1056,
|
| 255 |
+
"step": 3500
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"epoch": 0.1152,
|
| 259 |
+
"grad_norm": 8.193492889404297,
|
| 260 |
+
"learning_rate": 1.9602054574638848e-05,
|
| 261 |
+
"loss": 0.1201,
|
| 262 |
+
"step": 3600
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"epoch": 0.1184,
|
| 266 |
+
"grad_norm": 0.9174596071243286,
|
| 267 |
+
"learning_rate": 1.958921348314607e-05,
|
| 268 |
+
"loss": 0.12,
|
| 269 |
+
"step": 3700
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"epoch": 0.1216,
|
| 273 |
+
"grad_norm": 3.436502695083618,
|
| 274 |
+
"learning_rate": 1.957637239165329e-05,
|
| 275 |
+
"loss": 0.1257,
|
| 276 |
+
"step": 3800
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"epoch": 0.1248,
|
| 280 |
+
"grad_norm": 9.131117820739746,
|
| 281 |
+
"learning_rate": 1.9563531300160516e-05,
|
| 282 |
+
"loss": 0.1139,
|
| 283 |
+
"step": 3900
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"epoch": 0.128,
|
| 287 |
+
"grad_norm": 0.3150777518749237,
|
| 288 |
+
"learning_rate": 1.9550690208667737e-05,
|
| 289 |
+
"loss": 0.1381,
|
| 290 |
+
"step": 4000
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"epoch": 0.128,
|
| 294 |
+
"eval_accuracy": 0.9586,
|
| 295 |
+
"eval_f1": 0.9586218246722099,
|
| 296 |
+
"eval_loss": 0.1626722663640976,
|
| 297 |
+
"eval_precision": 0.9598553600795934,
|
| 298 |
+
"eval_recall": 0.9586,
|
| 299 |
+
"eval_runtime": 815.7025,
|
| 300 |
+
"eval_samples_per_second": 122.594,
|
| 301 |
+
"eval_steps_per_second": 7.662,
|
| 302 |
+
"step": 4000
|
| 303 |
+
}
|
| 304 |
+
],
|
| 305 |
+
"logging_steps": 100,
|
| 306 |
+
"max_steps": 156250,
|
| 307 |
+
"num_input_tokens_seen": 0,
|
| 308 |
+
"num_train_epochs": 5,
|
| 309 |
+
"save_steps": 4000,
|
| 310 |
+
"stateful_callbacks": {
|
| 311 |
+
"EarlyStoppingCallback": {
|
| 312 |
+
"args": {
|
| 313 |
+
"early_stopping_patience": 3,
|
| 314 |
+
"early_stopping_threshold": 0.0
|
| 315 |
+
},
|
| 316 |
+
"attributes": {
|
| 317 |
+
"early_stopping_patience_counter": 0
|
| 318 |
+
}
|
| 319 |
+
},
|
| 320 |
+
"TrainerControl": {
|
| 321 |
+
"args": {
|
| 322 |
+
"should_epoch_stop": false,
|
| 323 |
+
"should_evaluate": false,
|
| 324 |
+
"should_log": false,
|
| 325 |
+
"should_save": true,
|
| 326 |
+
"should_training_stop": false
|
| 327 |
+
},
|
| 328 |
+
"attributes": {}
|
| 329 |
+
}
|
| 330 |
+
},
|
| 331 |
+
"total_flos": 1.6992838343814144e+16,
|
| 332 |
+
"train_batch_size": 16,
|
| 333 |
+
"trial_name": null,
|
| 334 |
+
"trial_params": null
|
| 335 |
+
}
|
last-checkpoint/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2431b318f5d57feb8902ee5487c8e4d2af146f7f76640e2a0d86b54b6c2eb6a3
|
| 3 |
+
size 5777
|
last-checkpoint/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|