Upload folder using huggingface_hub
Browse files- README.md +60 -3
- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
- all_results.json +8 -0
- checkpoint-348/README.md +202 -0
- checkpoint-348/adapter_config.json +34 -0
- checkpoint-348/adapter_model.safetensors +3 -0
- checkpoint-348/optimizer.pt +3 -0
- checkpoint-348/rng_state.pth +3 -0
- checkpoint-348/scheduler.pt +3 -0
- checkpoint-348/special_tokens_map.json +24 -0
- checkpoint-348/tokenizer.json +0 -0
- checkpoint-348/tokenizer.model +3 -0
- checkpoint-348/tokenizer_config.json +0 -0
- checkpoint-348/trainer_state.json +271 -0
- checkpoint-348/training_args.bin +3 -0
- llamaboard_config.yaml +66 -0
- running_log.txt +503 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +0 -0
- train_results.json +8 -0
- trainer_log.jsonl +35 -0
- trainer_state.json +280 -0
- training_args.bin +3 -0
- training_args.yaml +34 -0
- training_loss.png +0 -0
README.md
CHANGED
|
@@ -1,3 +1,60 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
license: other
|
| 4 |
+
base_model: unsloth/mistral-7b-instruct-v0.3-bnb-4bit
|
| 5 |
+
tags:
|
| 6 |
+
- llama-factory
|
| 7 |
+
- lora
|
| 8 |
+
- unsloth
|
| 9 |
+
- generated_from_trainer
|
| 10 |
+
model-index:
|
| 11 |
+
- name: mistral-finetuned
|
| 12 |
+
results: []
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 16 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 17 |
+
|
| 18 |
+
# mistral-finetuned
|
| 19 |
+
|
| 20 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.3](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3) on the treino_pt_rde dataset.
|
| 21 |
+
|
| 22 |
+
## Model description
|
| 23 |
+
|
| 24 |
+
More information needed
|
| 25 |
+
|
| 26 |
+
## Intended uses & limitations
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Training and evaluation data
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training procedure
|
| 35 |
+
|
| 36 |
+
### Training hyperparameters
|
| 37 |
+
|
| 38 |
+
The following hyperparameters were used during training:
|
| 39 |
+
- learning_rate: 3e-05
|
| 40 |
+
- train_batch_size: 8
|
| 41 |
+
- eval_batch_size: 8
|
| 42 |
+
- seed: 42
|
| 43 |
+
- gradient_accumulation_steps: 4
|
| 44 |
+
- total_train_batch_size: 32
|
| 45 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 46 |
+
- lr_scheduler_type: cosine
|
| 47 |
+
- num_epochs: 3.0
|
| 48 |
+
- mixed_precision_training: Native AMP
|
| 49 |
+
|
| 50 |
+
### Training results
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
### Framework versions
|
| 55 |
+
|
| 56 |
+
- PEFT 0.12.0
|
| 57 |
+
- Transformers 4.46.1
|
| 58 |
+
- Pytorch 2.5.1+cu121
|
| 59 |
+
- Datasets 3.1.0
|
| 60 |
+
- Tokenizers 0.20.3
|
adapter_config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "unsloth/mistral-7b-instruct-v0.3-bnb-4bit",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 16,
|
| 14 |
+
"lora_dropout": 0,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 8,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": [
|
| 23 |
+
"gate_proj",
|
| 24 |
+
"up_proj",
|
| 25 |
+
"v_proj",
|
| 26 |
+
"down_proj",
|
| 27 |
+
"o_proj",
|
| 28 |
+
"q_proj",
|
| 29 |
+
"k_proj"
|
| 30 |
+
],
|
| 31 |
+
"task_type": "CAUSAL_LM",
|
| 32 |
+
"use_dora": false,
|
| 33 |
+
"use_rslora": false
|
| 34 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:726c6d74dca50d92242de5222e2b5fc378023efa426fb5b20269d458d4c24021
|
| 3 |
+
size 83945296
|
all_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 2.9935483870967743,
|
| 3 |
+
"total_flos": 2.2441603085736346e+17,
|
| 4 |
+
"train_loss": 0.04925085334428426,
|
| 5 |
+
"train_runtime": 13305.7708,
|
| 6 |
+
"train_samples_per_second": 0.838,
|
| 7 |
+
"train_steps_per_second": 0.026
|
| 8 |
+
}
|
checkpoint-348/README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: unsloth/mistral-7b-instruct-v0.3-bnb-4bit
|
| 3 |
+
library_name: peft
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# Model Card for Model ID
|
| 7 |
+
|
| 8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
## Model Details
|
| 13 |
+
|
| 14 |
+
### Model Description
|
| 15 |
+
|
| 16 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
- **Developed by:** [More Information Needed]
|
| 21 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 22 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 23 |
+
- **Model type:** [More Information Needed]
|
| 24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
+
- **License:** [More Information Needed]
|
| 26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 27 |
+
|
| 28 |
+
### Model Sources [optional]
|
| 29 |
+
|
| 30 |
+
<!-- Provide the basic links for the model. -->
|
| 31 |
+
|
| 32 |
+
- **Repository:** [More Information Needed]
|
| 33 |
+
- **Paper [optional]:** [More Information Needed]
|
| 34 |
+
- **Demo [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
## Uses
|
| 37 |
+
|
| 38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 39 |
+
|
| 40 |
+
### Direct Use
|
| 41 |
+
|
| 42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 43 |
+
|
| 44 |
+
[More Information Needed]
|
| 45 |
+
|
| 46 |
+
### Downstream Use [optional]
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Out-of-Scope Use
|
| 53 |
+
|
| 54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
## Bias, Risks, and Limitations
|
| 59 |
+
|
| 60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
### Recommendations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 67 |
+
|
| 68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 69 |
+
|
| 70 |
+
## How to Get Started with the Model
|
| 71 |
+
|
| 72 |
+
Use the code below to get started with the model.
|
| 73 |
+
|
| 74 |
+
[More Information Needed]
|
| 75 |
+
|
| 76 |
+
## Training Details
|
| 77 |
+
|
| 78 |
+
### Training Data
|
| 79 |
+
|
| 80 |
+
<!-- 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. -->
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
### Training Procedure
|
| 85 |
+
|
| 86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 87 |
+
|
| 88 |
+
#### Preprocessing [optional]
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
#### Training Hyperparameters
|
| 94 |
+
|
| 95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 96 |
+
|
| 97 |
+
#### Speeds, Sizes, Times [optional]
|
| 98 |
+
|
| 99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 100 |
+
|
| 101 |
+
[More Information Needed]
|
| 102 |
+
|
| 103 |
+
## Evaluation
|
| 104 |
+
|
| 105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 106 |
+
|
| 107 |
+
### Testing Data, Factors & Metrics
|
| 108 |
+
|
| 109 |
+
#### Testing Data
|
| 110 |
+
|
| 111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 112 |
+
|
| 113 |
+
[More Information Needed]
|
| 114 |
+
|
| 115 |
+
#### Factors
|
| 116 |
+
|
| 117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Metrics
|
| 122 |
+
|
| 123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
### Results
|
| 128 |
+
|
| 129 |
+
[More Information Needed]
|
| 130 |
+
|
| 131 |
+
#### Summary
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
## Model Examination [optional]
|
| 136 |
+
|
| 137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 138 |
+
|
| 139 |
+
[More Information Needed]
|
| 140 |
+
|
| 141 |
+
## Environmental Impact
|
| 142 |
+
|
| 143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 144 |
+
|
| 145 |
+
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).
|
| 146 |
+
|
| 147 |
+
- **Hardware Type:** [More Information Needed]
|
| 148 |
+
- **Hours used:** [More Information Needed]
|
| 149 |
+
- **Cloud Provider:** [More Information Needed]
|
| 150 |
+
- **Compute Region:** [More Information Needed]
|
| 151 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 152 |
+
|
| 153 |
+
## Technical Specifications [optional]
|
| 154 |
+
|
| 155 |
+
### Model Architecture and Objective
|
| 156 |
+
|
| 157 |
+
[More Information Needed]
|
| 158 |
+
|
| 159 |
+
### Compute Infrastructure
|
| 160 |
+
|
| 161 |
+
[More Information Needed]
|
| 162 |
+
|
| 163 |
+
#### Hardware
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
#### Software
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
## Citation [optional]
|
| 172 |
+
|
| 173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 174 |
+
|
| 175 |
+
**BibTeX:**
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
**APA:**
|
| 180 |
+
|
| 181 |
+
[More Information Needed]
|
| 182 |
+
|
| 183 |
+
## Glossary [optional]
|
| 184 |
+
|
| 185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## More Information [optional]
|
| 190 |
+
|
| 191 |
+
[More Information Needed]
|
| 192 |
+
|
| 193 |
+
## Model Card Authors [optional]
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## Model Card Contact
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
### Framework versions
|
| 201 |
+
|
| 202 |
+
- PEFT 0.12.0
|
checkpoint-348/adapter_config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "unsloth/mistral-7b-instruct-v0.3-bnb-4bit",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 16,
|
| 14 |
+
"lora_dropout": 0,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 8,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": [
|
| 23 |
+
"gate_proj",
|
| 24 |
+
"up_proj",
|
| 25 |
+
"v_proj",
|
| 26 |
+
"down_proj",
|
| 27 |
+
"o_proj",
|
| 28 |
+
"q_proj",
|
| 29 |
+
"k_proj"
|
| 30 |
+
],
|
| 31 |
+
"task_type": "CAUSAL_LM",
|
| 32 |
+
"use_dora": false,
|
| 33 |
+
"use_rslora": false
|
| 34 |
+
}
|
checkpoint-348/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:726c6d74dca50d92242de5222e2b5fc378023efa426fb5b20269d458d4c24021
|
| 3 |
+
size 83945296
|
checkpoint-348/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3ec811984e978fd3fcf6f1d1df1c55ff9efc3d103e3f1a1453c1e260b537fcc
|
| 3 |
+
size 168149074
|
checkpoint-348/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9196a1e708bf24d6abba41cce3f8558820acc3e50f9394c5955e29eb41ffea3d
|
| 3 |
+
size 14244
|
checkpoint-348/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0282d00eed9fe2ab27061734672e5936a63ea9e59fda708608ae904fc55aa57
|
| 3 |
+
size 1064
|
checkpoint-348/special_tokens_map.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "</s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": "</s>",
|
| 17 |
+
"unk_token": {
|
| 18 |
+
"content": "<unk>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
}
|
| 24 |
+
}
|
checkpoint-348/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-348/tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
|
| 3 |
+
size 587404
|
checkpoint-348/tokenizer_config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-348/trainer_state.json
ADDED
|
@@ -0,0 +1,271 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": null,
|
| 3 |
+
"best_model_checkpoint": null,
|
| 4 |
+
"epoch": 2.9935483870967743,
|
| 5 |
+
"eval_steps": 500,
|
| 6 |
+
"global_step": 348,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 0.08602150537634409,
|
| 13 |
+
"grad_norm": 1.3349374532699585,
|
| 14 |
+
"learning_rate": 2.9938918800982563e-05,
|
| 15 |
+
"loss": 0.1805,
|
| 16 |
+
"step": 10
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.17204301075268819,
|
| 20 |
+
"grad_norm": 1.0496348142623901,
|
| 21 |
+
"learning_rate": 2.975617265898004e-05,
|
| 22 |
+
"loss": 0.0827,
|
| 23 |
+
"step": 20
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"epoch": 0.25806451612903225,
|
| 27 |
+
"grad_norm": 1.1902973651885986,
|
| 28 |
+
"learning_rate": 2.9453249887788343e-05,
|
| 29 |
+
"loss": 0.0722,
|
| 30 |
+
"step": 30
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"epoch": 0.34408602150537637,
|
| 34 |
+
"grad_norm": 0.8137356638908386,
|
| 35 |
+
"learning_rate": 2.9032617538884018e-05,
|
| 36 |
+
"loss": 0.0637,
|
| 37 |
+
"step": 40
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"epoch": 0.43010752688172044,
|
| 41 |
+
"grad_norm": 0.8646667003631592,
|
| 42 |
+
"learning_rate": 2.84977013093626e-05,
|
| 43 |
+
"loss": 0.0646,
|
| 44 |
+
"step": 50
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"epoch": 0.5161290322580645,
|
| 48 |
+
"grad_norm": 1.2397544384002686,
|
| 49 |
+
"learning_rate": 2.7852857642513838e-05,
|
| 50 |
+
"loss": 0.0619,
|
| 51 |
+
"step": 60
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"epoch": 0.6021505376344086,
|
| 55 |
+
"grad_norm": 0.8160271048545837,
|
| 56 |
+
"learning_rate": 2.7103338248251055e-05,
|
| 57 |
+
"loss": 0.0588,
|
| 58 |
+
"step": 70
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"epoch": 0.6881720430107527,
|
| 62 |
+
"grad_norm": 0.8985416293144226,
|
| 63 |
+
"learning_rate": 2.6255247332346036e-05,
|
| 64 |
+
"loss": 0.0594,
|
| 65 |
+
"step": 80
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"epoch": 0.7741935483870968,
|
| 69 |
+
"grad_norm": 0.968460738658905,
|
| 70 |
+
"learning_rate": 2.531549188280135e-05,
|
| 71 |
+
"loss": 0.059,
|
| 72 |
+
"step": 90
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"epoch": 0.8602150537634409,
|
| 76 |
+
"grad_norm": 0.7749939560890198,
|
| 77 |
+
"learning_rate": 2.4291725418235848e-05,
|
| 78 |
+
"loss": 0.0557,
|
| 79 |
+
"step": 100
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"epoch": 0.946236559139785,
|
| 83 |
+
"grad_norm": 0.6407869458198547,
|
| 84 |
+
"learning_rate": 2.3192285656405456e-05,
|
| 85 |
+
"loss": 0.0493,
|
| 86 |
+
"step": 110
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"epoch": 1.032258064516129,
|
| 90 |
+
"grad_norm": 1.2854279279708862,
|
| 91 |
+
"learning_rate": 2.2026126610496852e-05,
|
| 92 |
+
"loss": 0.0509,
|
| 93 |
+
"step": 120
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"epoch": 1.118279569892473,
|
| 97 |
+
"grad_norm": 0.60258948802948,
|
| 98 |
+
"learning_rate": 2.0802745666212592e-05,
|
| 99 |
+
"loss": 0.0419,
|
| 100 |
+
"step": 130
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"epoch": 1.2043010752688172,
|
| 104 |
+
"grad_norm": 0.9239497780799866,
|
| 105 |
+
"learning_rate": 1.953210623354359e-05,
|
| 106 |
+
"loss": 0.042,
|
| 107 |
+
"step": 140
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"epoch": 1.2903225806451613,
|
| 111 |
+
"grad_norm": 0.7352257966995239,
|
| 112 |
+
"learning_rate": 1.8224556603165363e-05,
|
| 113 |
+
"loss": 0.0432,
|
| 114 |
+
"step": 150
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"epoch": 1.3763440860215055,
|
| 118 |
+
"grad_norm": 0.8709537386894226,
|
| 119 |
+
"learning_rate": 1.689074566830434e-05,
|
| 120 |
+
"loss": 0.0475,
|
| 121 |
+
"step": 160
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"epoch": 1.4623655913978495,
|
| 125 |
+
"grad_norm": 0.7810623049736023,
|
| 126 |
+
"learning_rate": 1.5541536198449044e-05,
|
| 127 |
+
"loss": 0.0448,
|
| 128 |
+
"step": 170
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"epoch": 1.5483870967741935,
|
| 132 |
+
"grad_norm": 0.6514085531234741,
|
| 133 |
+
"learning_rate": 1.4187916371218739e-05,
|
| 134 |
+
"loss": 0.0407,
|
| 135 |
+
"step": 180
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"epoch": 1.6344086021505375,
|
| 139 |
+
"grad_norm": 0.8177109956741333,
|
| 140 |
+
"learning_rate": 1.2840910282888211e-05,
|
| 141 |
+
"loss": 0.0421,
|
| 142 |
+
"step": 190
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"epoch": 1.7204301075268817,
|
| 146 |
+
"grad_norm": 0.9916985630989075,
|
| 147 |
+
"learning_rate": 1.1511488166385349e-05,
|
| 148 |
+
"loss": 0.0401,
|
| 149 |
+
"step": 200
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"epoch": 1.8064516129032258,
|
| 153 |
+
"grad_norm": 1.0323394536972046,
|
| 154 |
+
"learning_rate": 1.0210477047960303e-05,
|
| 155 |
+
"loss": 0.0438,
|
| 156 |
+
"step": 210
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"epoch": 1.89247311827957,
|
| 160 |
+
"grad_norm": 0.920881450176239,
|
| 161 |
+
"learning_rate": 8.948472570152874e-06,
|
| 162 |
+
"loss": 0.0444,
|
| 163 |
+
"step": 220
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"epoch": 1.978494623655914,
|
| 167 |
+
"grad_norm": 1.1360812187194824,
|
| 168 |
+
"learning_rate": 7.735752699185711e-06,
|
| 169 |
+
"loss": 0.041,
|
| 170 |
+
"step": 230
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"epoch": 2.064516129032258,
|
| 174 |
+
"grad_norm": 0.8304557800292969,
|
| 175 |
+
"learning_rate": 6.582194019564266e-06,
|
| 176 |
+
"loss": 0.0317,
|
| 177 |
+
"step": 240
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"epoch": 2.150537634408602,
|
| 181 |
+
"grad_norm": 0.8478759527206421,
|
| 182 |
+
"learning_rate": 5.497191297593647e-06,
|
| 183 |
+
"loss": 0.0357,
|
| 184 |
+
"step": 250
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"epoch": 2.236559139784946,
|
| 188 |
+
"grad_norm": 1.0847315788269043,
|
| 189 |
+
"learning_rate": 4.4895809688998655e-06,
|
| 190 |
+
"loss": 0.0386,
|
| 191 |
+
"step": 260
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"epoch": 2.3225806451612905,
|
| 195 |
+
"grad_norm": 0.6213060617446899,
|
| 196 |
+
"learning_rate": 3.567569173085455e-06,
|
| 197 |
+
"loss": 0.0289,
|
| 198 |
+
"step": 270
|
| 199 |
+
},
|
| 200 |
+
{
|
| 201 |
+
"epoch": 2.4086021505376345,
|
| 202 |
+
"grad_norm": 1.0422612428665161,
|
| 203 |
+
"learning_rate": 2.7386649216166233e-06,
|
| 204 |
+
"loss": 0.0307,
|
| 205 |
+
"step": 280
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"epoch": 2.4946236559139785,
|
| 209 |
+
"grad_norm": 0.9629487991333008,
|
| 210 |
+
"learning_rate": 2.0096189432334194e-06,
|
| 211 |
+
"loss": 0.0338,
|
| 212 |
+
"step": 290
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"epoch": 2.5806451612903225,
|
| 216 |
+
"grad_norm": 0.7275118827819824,
|
| 217 |
+
"learning_rate": 1.3863687049356465e-06,
|
| 218 |
+
"loss": 0.0279,
|
| 219 |
+
"step": 300
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"epoch": 2.6666666666666665,
|
| 223 |
+
"grad_norm": 0.9140329360961914,
|
| 224 |
+
"learning_rate": 8.7399005630238e-07,
|
| 225 |
+
"loss": 0.0321,
|
| 226 |
+
"step": 310
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"epoch": 2.752688172043011,
|
| 230 |
+
"grad_norm": 1.0714858770370483,
|
| 231 |
+
"learning_rate": 4.766558909615504e-07,
|
| 232 |
+
"loss": 0.0352,
|
| 233 |
+
"step": 320
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"epoch": 2.838709677419355,
|
| 237 |
+
"grad_norm": 0.843151330947876,
|
| 238 |
+
"learning_rate": 1.9760216187710788e-07,
|
| 239 |
+
"loss": 0.0341,
|
| 240 |
+
"step": 330
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"epoch": 2.924731182795699,
|
| 244 |
+
"grad_norm": 0.6754664182662964,
|
| 245 |
+
"learning_rate": 3.910152723075322e-08,
|
| 246 |
+
"loss": 0.0315,
|
| 247 |
+
"step": 340
|
| 248 |
+
}
|
| 249 |
+
],
|
| 250 |
+
"logging_steps": 10,
|
| 251 |
+
"max_steps": 348,
|
| 252 |
+
"num_input_tokens_seen": 0,
|
| 253 |
+
"num_train_epochs": 3,
|
| 254 |
+
"save_steps": 1000,
|
| 255 |
+
"stateful_callbacks": {
|
| 256 |
+
"TrainerControl": {
|
| 257 |
+
"args": {
|
| 258 |
+
"should_epoch_stop": false,
|
| 259 |
+
"should_evaluate": false,
|
| 260 |
+
"should_log": false,
|
| 261 |
+
"should_save": true,
|
| 262 |
+
"should_training_stop": true
|
| 263 |
+
},
|
| 264 |
+
"attributes": {}
|
| 265 |
+
}
|
| 266 |
+
},
|
| 267 |
+
"total_flos": 2.2441603085736346e+17,
|
| 268 |
+
"train_batch_size": 8,
|
| 269 |
+
"trial_name": null,
|
| 270 |
+
"trial_params": null
|
| 271 |
+
}
|
checkpoint-348/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f6b5e03ab55c7eca1bec1843792810a25ab68a79d546ce327c2c6fad1fe4ce0
|
| 3 |
+
size 5432
|
llamaboard_config.yaml
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
top.booster: unsloth
|
| 2 |
+
top.checkpoint_path: []
|
| 3 |
+
top.finetuning_type: lora
|
| 4 |
+
top.model_name: Mistral-7B-Instruct-v0.3
|
| 5 |
+
top.quantization_bit: '4'
|
| 6 |
+
top.quantization_method: bitsandbytes
|
| 7 |
+
top.rope_scaling: none
|
| 8 |
+
top.template: alpaca
|
| 9 |
+
train.additional_target: ''
|
| 10 |
+
train.badam_mode: layer
|
| 11 |
+
train.badam_switch_interval: 50
|
| 12 |
+
train.badam_switch_mode: ascending
|
| 13 |
+
train.badam_update_ratio: 0.05
|
| 14 |
+
train.batch_size: 8
|
| 15 |
+
train.compute_type: fp16
|
| 16 |
+
train.create_new_adapter: false
|
| 17 |
+
train.cutoff_len: 2048
|
| 18 |
+
train.dataset:
|
| 19 |
+
- treino_pt_rde
|
| 20 |
+
train.dataset_dir: data
|
| 21 |
+
train.ds_offload: false
|
| 22 |
+
train.ds_stage: none
|
| 23 |
+
train.extra_args: '{"optim": "adamw_torch"}'
|
| 24 |
+
train.freeze_extra_modules: ''
|
| 25 |
+
train.freeze_trainable_layers: 2
|
| 26 |
+
train.freeze_trainable_modules: all
|
| 27 |
+
train.galore_rank: 16
|
| 28 |
+
train.galore_scale: 0.25
|
| 29 |
+
train.galore_target: all
|
| 30 |
+
train.galore_update_interval: 200
|
| 31 |
+
train.gradient_accumulation_steps: 4
|
| 32 |
+
train.learning_rate: 3e-5
|
| 33 |
+
train.logging_steps: 10
|
| 34 |
+
train.lora_alpha: 16
|
| 35 |
+
train.lora_dropout: 0
|
| 36 |
+
train.lora_rank: 8
|
| 37 |
+
train.lora_target: ''
|
| 38 |
+
train.loraplus_lr_ratio: 0
|
| 39 |
+
train.lr_scheduler_type: cosine
|
| 40 |
+
train.mask_history: false
|
| 41 |
+
train.max_grad_norm: '1.0'
|
| 42 |
+
train.max_samples: '3716'
|
| 43 |
+
train.neat_packing: false
|
| 44 |
+
train.neftune_alpha: 0
|
| 45 |
+
train.num_train_epochs: '3.0'
|
| 46 |
+
train.packing: false
|
| 47 |
+
train.ppo_score_norm: false
|
| 48 |
+
train.ppo_whiten_rewards: false
|
| 49 |
+
train.pref_beta: 0.1
|
| 50 |
+
train.pref_ftx: 0
|
| 51 |
+
train.pref_loss: sigmoid
|
| 52 |
+
train.report_to: false
|
| 53 |
+
train.resize_vocab: false
|
| 54 |
+
train.reward_model: null
|
| 55 |
+
train.save_steps: 1000
|
| 56 |
+
train.shift_attn: false
|
| 57 |
+
train.train_on_prompt: false
|
| 58 |
+
train.training_stage: Supervised Fine-Tuning
|
| 59 |
+
train.use_badam: false
|
| 60 |
+
train.use_dora: false
|
| 61 |
+
train.use_galore: false
|
| 62 |
+
train.use_llama_pro: false
|
| 63 |
+
train.use_pissa: false
|
| 64 |
+
train.use_rslora: false
|
| 65 |
+
train.val_size: 0
|
| 66 |
+
train.warmup_steps: 0
|
running_log.txt
ADDED
|
@@ -0,0 +1,503 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[WARNING|2024-11-25 18:35:33] logging.py:162 >> We recommend enable `upcast_layernorm` in quantized training.
|
| 2 |
+
|
| 3 |
+
[INFO|2024-11-25 18:35:33] parser.py:355 >> Process rank: 0, device: cuda:0, n_gpu: 1, distributed training: False, compute dtype: torch.float16
|
| 4 |
+
|
| 5 |
+
[INFO|2024-11-25 18:35:33] configuration_utils.py:679 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/config.json
|
| 6 |
+
|
| 7 |
+
[INFO|2024-11-25 18:35:33] configuration_utils.py:746 >> Model config MistralConfig {
|
| 8 |
+
"_name_or_path": "mistralai/Mistral-7B-Instruct-v0.3",
|
| 9 |
+
"architectures": [
|
| 10 |
+
"MistralForCausalLM"
|
| 11 |
+
],
|
| 12 |
+
"attention_dropout": 0.0,
|
| 13 |
+
"bos_token_id": 1,
|
| 14 |
+
"eos_token_id": 2,
|
| 15 |
+
"head_dim": 128,
|
| 16 |
+
"hidden_act": "silu",
|
| 17 |
+
"hidden_size": 4096,
|
| 18 |
+
"initializer_range": 0.02,
|
| 19 |
+
"intermediate_size": 14336,
|
| 20 |
+
"max_position_embeddings": 32768,
|
| 21 |
+
"model_type": "mistral",
|
| 22 |
+
"num_attention_heads": 32,
|
| 23 |
+
"num_hidden_layers": 32,
|
| 24 |
+
"num_key_value_heads": 8,
|
| 25 |
+
"rms_norm_eps": 1e-05,
|
| 26 |
+
"rope_theta": 1000000.0,
|
| 27 |
+
"sliding_window": null,
|
| 28 |
+
"tie_word_embeddings": false,
|
| 29 |
+
"torch_dtype": "bfloat16",
|
| 30 |
+
"transformers_version": "4.46.1",
|
| 31 |
+
"use_cache": true,
|
| 32 |
+
"vocab_size": 32768
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
[INFO|2024-11-25 18:35:35] tokenization_utils_base.py:2211 >> loading file tokenizer.model from cache at /root/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/tokenizer.model
|
| 37 |
+
|
| 38 |
+
[INFO|2024-11-25 18:35:35] tokenization_utils_base.py:2211 >> loading file tokenizer.json from cache at /root/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/tokenizer.json
|
| 39 |
+
|
| 40 |
+
[INFO|2024-11-25 18:35:35] tokenization_utils_base.py:2211 >> loading file added_tokens.json from cache at None
|
| 41 |
+
|
| 42 |
+
[INFO|2024-11-25 18:35:35] tokenization_utils_base.py:2211 >> loading file special_tokens_map.json from cache at /root/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/special_tokens_map.json
|
| 43 |
+
|
| 44 |
+
[INFO|2024-11-25 18:35:35] tokenization_utils_base.py:2211 >> loading file tokenizer_config.json from cache at /root/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/tokenizer_config.json
|
| 45 |
+
|
| 46 |
+
[INFO|2024-11-25 18:35:36] configuration_utils.py:679 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/config.json
|
| 47 |
+
|
| 48 |
+
[INFO|2024-11-25 18:35:36] configuration_utils.py:746 >> Model config MistralConfig {
|
| 49 |
+
"_name_or_path": "mistralai/Mistral-7B-Instruct-v0.3",
|
| 50 |
+
"architectures": [
|
| 51 |
+
"MistralForCausalLM"
|
| 52 |
+
],
|
| 53 |
+
"attention_dropout": 0.0,
|
| 54 |
+
"bos_token_id": 1,
|
| 55 |
+
"eos_token_id": 2,
|
| 56 |
+
"head_dim": 128,
|
| 57 |
+
"hidden_act": "silu",
|
| 58 |
+
"hidden_size": 4096,
|
| 59 |
+
"initializer_range": 0.02,
|
| 60 |
+
"intermediate_size": 14336,
|
| 61 |
+
"max_position_embeddings": 32768,
|
| 62 |
+
"model_type": "mistral",
|
| 63 |
+
"num_attention_heads": 32,
|
| 64 |
+
"num_hidden_layers": 32,
|
| 65 |
+
"num_key_value_heads": 8,
|
| 66 |
+
"rms_norm_eps": 1e-05,
|
| 67 |
+
"rope_theta": 1000000.0,
|
| 68 |
+
"sliding_window": null,
|
| 69 |
+
"tie_word_embeddings": false,
|
| 70 |
+
"torch_dtype": "bfloat16",
|
| 71 |
+
"transformers_version": "4.46.1",
|
| 72 |
+
"use_cache": true,
|
| 73 |
+
"vocab_size": 32768
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
[INFO|2024-11-25 18:35:36] tokenization_utils_base.py:2211 >> loading file tokenizer.model from cache at /root/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/tokenizer.model
|
| 78 |
+
|
| 79 |
+
[INFO|2024-11-25 18:35:36] tokenization_utils_base.py:2211 >> loading file tokenizer.json from cache at /root/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/tokenizer.json
|
| 80 |
+
|
| 81 |
+
[INFO|2024-11-25 18:35:36] tokenization_utils_base.py:2211 >> loading file added_tokens.json from cache at None
|
| 82 |
+
|
| 83 |
+
[INFO|2024-11-25 18:35:36] tokenization_utils_base.py:2211 >> loading file special_tokens_map.json from cache at /root/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/special_tokens_map.json
|
| 84 |
+
|
| 85 |
+
[INFO|2024-11-25 18:35:36] tokenization_utils_base.py:2211 >> loading file tokenizer_config.json from cache at /root/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/tokenizer_config.json
|
| 86 |
+
|
| 87 |
+
[INFO|2024-11-25 18:35:36] logging.py:157 >> Add pad token: </s>
|
| 88 |
+
|
| 89 |
+
[INFO|2024-11-25 18:35:36] logging.py:157 >> Loading dataset treino_pt_rde.json...
|
| 90 |
+
|
| 91 |
+
[INFO|2024-11-25 18:35:50] configuration_utils.py:679 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/config.json
|
| 92 |
+
|
| 93 |
+
[INFO|2024-11-25 18:35:50] configuration_utils.py:746 >> Model config MistralConfig {
|
| 94 |
+
"_name_or_path": "mistralai/Mistral-7B-Instruct-v0.3",
|
| 95 |
+
"architectures": [
|
| 96 |
+
"MistralForCausalLM"
|
| 97 |
+
],
|
| 98 |
+
"attention_dropout": 0.0,
|
| 99 |
+
"bos_token_id": 1,
|
| 100 |
+
"eos_token_id": 2,
|
| 101 |
+
"head_dim": 128,
|
| 102 |
+
"hidden_act": "silu",
|
| 103 |
+
"hidden_size": 4096,
|
| 104 |
+
"initializer_range": 0.02,
|
| 105 |
+
"intermediate_size": 14336,
|
| 106 |
+
"max_position_embeddings": 32768,
|
| 107 |
+
"model_type": "mistral",
|
| 108 |
+
"num_attention_heads": 32,
|
| 109 |
+
"num_hidden_layers": 32,
|
| 110 |
+
"num_key_value_heads": 8,
|
| 111 |
+
"rms_norm_eps": 1e-05,
|
| 112 |
+
"rope_theta": 1000000.0,
|
| 113 |
+
"sliding_window": null,
|
| 114 |
+
"tie_word_embeddings": false,
|
| 115 |
+
"torch_dtype": "bfloat16",
|
| 116 |
+
"transformers_version": "4.46.1",
|
| 117 |
+
"use_cache": true,
|
| 118 |
+
"vocab_size": 32768
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
|
| 122 |
+
[INFO|2024-11-25 18:35:50] logging.py:157 >> Quantizing model to 4 bit with bitsandbytes.
|
| 123 |
+
|
| 124 |
+
[INFO|2024-11-25 18:35:55] configuration_utils.py:679 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--unsloth--mistral-7b-instruct-v0.3-bnb-4bit/snapshots/d5f623888f1415cf89b5c208d09cb620694618ee/config.json
|
| 125 |
+
|
| 126 |
+
[INFO|2024-11-25 18:35:55] configuration_utils.py:746 >> Model config MistralConfig {
|
| 127 |
+
"_name_or_path": "unsloth/mistral-7b-instruct-v0.3-bnb-4bit",
|
| 128 |
+
"architectures": [
|
| 129 |
+
"MistralForCausalLM"
|
| 130 |
+
],
|
| 131 |
+
"attention_dropout": 0.0,
|
| 132 |
+
"bos_token_id": 1,
|
| 133 |
+
"eos_token_id": 2,
|
| 134 |
+
"head_dim": 128,
|
| 135 |
+
"hidden_act": "silu",
|
| 136 |
+
"hidden_size": 4096,
|
| 137 |
+
"initializer_range": 0.02,
|
| 138 |
+
"intermediate_size": 14336,
|
| 139 |
+
"max_position_embeddings": 32768,
|
| 140 |
+
"model_type": "mistral",
|
| 141 |
+
"num_attention_heads": 32,
|
| 142 |
+
"num_hidden_layers": 32,
|
| 143 |
+
"num_key_value_heads": 8,
|
| 144 |
+
"pad_token_id": 770,
|
| 145 |
+
"quantization_config": {
|
| 146 |
+
"_load_in_4bit": true,
|
| 147 |
+
"_load_in_8bit": false,
|
| 148 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 149 |
+
"bnb_4bit_quant_storage": "uint8",
|
| 150 |
+
"bnb_4bit_quant_type": "nf4",
|
| 151 |
+
"bnb_4bit_use_double_quant": true,
|
| 152 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
| 153 |
+
"llm_int8_has_fp16_weight": false,
|
| 154 |
+
"llm_int8_skip_modules": null,
|
| 155 |
+
"llm_int8_threshold": 6.0,
|
| 156 |
+
"load_in_4bit": true,
|
| 157 |
+
"load_in_8bit": false,
|
| 158 |
+
"quant_method": "bitsandbytes"
|
| 159 |
+
},
|
| 160 |
+
"rms_norm_eps": 1e-05,
|
| 161 |
+
"rope_theta": 1000000.0,
|
| 162 |
+
"sliding_window": null,
|
| 163 |
+
"tie_word_embeddings": false,
|
| 164 |
+
"torch_dtype": "bfloat16",
|
| 165 |
+
"transformers_version": "4.46.1",
|
| 166 |
+
"unsloth_version": "2024.9",
|
| 167 |
+
"use_cache": true,
|
| 168 |
+
"vocab_size": 32768
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
|
| 172 |
+
[INFO|2024-11-25 18:35:56] configuration_utils.py:679 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--unslothai--colab/snapshots/20f9daee9da18936efa03ad4e1361884c60cca0c/config.json
|
| 173 |
+
|
| 174 |
+
[INFO|2024-11-25 18:35:57] configuration_utils.py:679 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--unslothai--repeat/snapshots/7c48478c02f84ed89f149b0815cc0216ee831fb0/config.json
|
| 175 |
+
|
| 176 |
+
[INFO|2024-11-25 18:35:57] configuration_utils.py:679 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--unslothai--vram-16/snapshots/9703344699da71a2bb9f17e575eb918c8f6cb349/config.json
|
| 177 |
+
|
| 178 |
+
[INFO|2024-11-25 18:35:58] configuration_utils.py:679 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--unslothai--1/snapshots/7ec782b7604cd9ea0781c23a4270f031650f5617/config.json
|
| 179 |
+
|
| 180 |
+
[INFO|2024-11-25 18:35:58] configuration_utils.py:679 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--unsloth--mistral-7b-instruct-v0.3-bnb-4bit/snapshots/d5f623888f1415cf89b5c208d09cb620694618ee/config.json
|
| 181 |
+
|
| 182 |
+
[INFO|2024-11-25 18:35:58] configuration_utils.py:746 >> Model config MistralConfig {
|
| 183 |
+
"_name_or_path": "unsloth/mistral-7b-instruct-v0.3-bnb-4bit",
|
| 184 |
+
"architectures": [
|
| 185 |
+
"MistralForCausalLM"
|
| 186 |
+
],
|
| 187 |
+
"attention_dropout": 0.0,
|
| 188 |
+
"bos_token_id": 1,
|
| 189 |
+
"eos_token_id": 2,
|
| 190 |
+
"head_dim": 128,
|
| 191 |
+
"hidden_act": "silu",
|
| 192 |
+
"hidden_size": 4096,
|
| 193 |
+
"initializer_range": 0.02,
|
| 194 |
+
"intermediate_size": 14336,
|
| 195 |
+
"max_position_embeddings": 32768,
|
| 196 |
+
"model_type": "mistral",
|
| 197 |
+
"num_attention_heads": 32,
|
| 198 |
+
"num_hidden_layers": 32,
|
| 199 |
+
"num_key_value_heads": 8,
|
| 200 |
+
"pad_token_id": 770,
|
| 201 |
+
"quantization_config": {
|
| 202 |
+
"_load_in_4bit": true,
|
| 203 |
+
"_load_in_8bit": false,
|
| 204 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 205 |
+
"bnb_4bit_quant_storage": "uint8",
|
| 206 |
+
"bnb_4bit_quant_type": "nf4",
|
| 207 |
+
"bnb_4bit_use_double_quant": true,
|
| 208 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
| 209 |
+
"llm_int8_has_fp16_weight": false,
|
| 210 |
+
"llm_int8_skip_modules": null,
|
| 211 |
+
"llm_int8_threshold": 6.0,
|
| 212 |
+
"load_in_4bit": true,
|
| 213 |
+
"load_in_8bit": false,
|
| 214 |
+
"quant_method": "bitsandbytes"
|
| 215 |
+
},
|
| 216 |
+
"rms_norm_eps": 1e-05,
|
| 217 |
+
"rope_theta": 1000000.0,
|
| 218 |
+
"sliding_window": null,
|
| 219 |
+
"tie_word_embeddings": false,
|
| 220 |
+
"torch_dtype": "bfloat16",
|
| 221 |
+
"transformers_version": "4.46.1",
|
| 222 |
+
"unsloth_version": "2024.9",
|
| 223 |
+
"use_cache": true,
|
| 224 |
+
"vocab_size": 32768
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
|
| 228 |
+
[INFO|2024-11-25 18:35:58] configuration_utils.py:679 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--unsloth--mistral-7b-instruct-v0.3-bnb-4bit/snapshots/d5f623888f1415cf89b5c208d09cb620694618ee/config.json
|
| 229 |
+
|
| 230 |
+
[INFO|2024-11-25 18:35:58] configuration_utils.py:746 >> Model config MistralConfig {
|
| 231 |
+
"_name_or_path": "unsloth/mistral-7b-instruct-v0.3-bnb-4bit",
|
| 232 |
+
"architectures": [
|
| 233 |
+
"MistralForCausalLM"
|
| 234 |
+
],
|
| 235 |
+
"attention_dropout": 0.0,
|
| 236 |
+
"bos_token_id": 1,
|
| 237 |
+
"eos_token_id": 2,
|
| 238 |
+
"head_dim": 128,
|
| 239 |
+
"hidden_act": "silu",
|
| 240 |
+
"hidden_size": 4096,
|
| 241 |
+
"initializer_range": 0.02,
|
| 242 |
+
"intermediate_size": 14336,
|
| 243 |
+
"max_position_embeddings": 32768,
|
| 244 |
+
"model_type": "mistral",
|
| 245 |
+
"num_attention_heads": 32,
|
| 246 |
+
"num_hidden_layers": 32,
|
| 247 |
+
"num_key_value_heads": 8,
|
| 248 |
+
"pad_token_id": 770,
|
| 249 |
+
"quantization_config": {
|
| 250 |
+
"_load_in_4bit": true,
|
| 251 |
+
"_load_in_8bit": false,
|
| 252 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 253 |
+
"bnb_4bit_quant_storage": "uint8",
|
| 254 |
+
"bnb_4bit_quant_type": "nf4",
|
| 255 |
+
"bnb_4bit_use_double_quant": true,
|
| 256 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
| 257 |
+
"llm_int8_has_fp16_weight": false,
|
| 258 |
+
"llm_int8_skip_modules": null,
|
| 259 |
+
"llm_int8_threshold": 6.0,
|
| 260 |
+
"load_in_4bit": true,
|
| 261 |
+
"load_in_8bit": false,
|
| 262 |
+
"quant_method": "bitsandbytes"
|
| 263 |
+
},
|
| 264 |
+
"rms_norm_eps": 1e-05,
|
| 265 |
+
"rope_theta": 1000000.0,
|
| 266 |
+
"sliding_window": null,
|
| 267 |
+
"tie_word_embeddings": false,
|
| 268 |
+
"torch_dtype": "float16",
|
| 269 |
+
"transformers_version": "4.46.1",
|
| 270 |
+
"unsloth_version": "2024.9",
|
| 271 |
+
"use_cache": true,
|
| 272 |
+
"vocab_size": 32768
|
| 273 |
+
}
|
| 274 |
+
|
| 275 |
+
|
| 276 |
+
[INFO|2024-11-25 18:37:37] modeling_utils.py:3937 >> loading weights file model.safetensors from cache at /root/.cache/huggingface/hub/models--unsloth--mistral-7b-instruct-v0.3-bnb-4bit/snapshots/d5f623888f1415cf89b5c208d09cb620694618ee/model.safetensors
|
| 277 |
+
|
| 278 |
+
[INFO|2024-11-25 18:37:37] modeling_utils.py:1670 >> Instantiating MistralForCausalLM model under default dtype torch.float16.
|
| 279 |
+
|
| 280 |
+
[INFO|2024-11-25 18:37:37] configuration_utils.py:1096 >> Generate config GenerationConfig {
|
| 281 |
+
"bos_token_id": 1,
|
| 282 |
+
"eos_token_id": 2,
|
| 283 |
+
"pad_token_id": 770
|
| 284 |
+
}
|
| 285 |
+
|
| 286 |
+
|
| 287 |
+
[INFO|2024-11-25 18:38:02] modeling_utils.py:4800 >> All model checkpoint weights were used when initializing MistralForCausalLM.
|
| 288 |
+
|
| 289 |
+
|
| 290 |
+
[INFO|2024-11-25 18:38:02] modeling_utils.py:4808 >> All the weights of MistralForCausalLM were initialized from the model checkpoint at unsloth/mistral-7b-instruct-v0.3-bnb-4bit.
|
| 291 |
+
If your task is similar to the task the model of the checkpoint was trained on, you can already use MistralForCausalLM for predictions without further training.
|
| 292 |
+
|
| 293 |
+
[INFO|2024-11-25 18:38:02] configuration_utils.py:1051 >> loading configuration file generation_config.json from cache at /root/.cache/huggingface/hub/models--unsloth--mistral-7b-instruct-v0.3-bnb-4bit/snapshots/d5f623888f1415cf89b5c208d09cb620694618ee/generation_config.json
|
| 294 |
+
|
| 295 |
+
[INFO|2024-11-25 18:38:02] configuration_utils.py:1096 >> Generate config GenerationConfig {
|
| 296 |
+
"bos_token_id": 1,
|
| 297 |
+
"eos_token_id": 2,
|
| 298 |
+
"max_length": 32768,
|
| 299 |
+
"pad_token_id": 770
|
| 300 |
+
}
|
| 301 |
+
|
| 302 |
+
|
| 303 |
+
[INFO|2024-11-25 18:38:06] logging.py:157 >> Gradient checkpointing enabled.
|
| 304 |
+
|
| 305 |
+
[INFO|2024-11-25 18:38:06] logging.py:157 >> Upcasting trainable params to float32.
|
| 306 |
+
|
| 307 |
+
[INFO|2024-11-25 18:38:06] logging.py:157 >> Fine-tuning method: LoRA
|
| 308 |
+
|
| 309 |
+
[INFO|2024-11-25 18:38:06] logging.py:157 >> Found linear modules: gate_proj,up_proj,v_proj,down_proj,o_proj,q_proj,k_proj
|
| 310 |
+
|
| 311 |
+
[WARNING|2024-11-25 18:38:10] logging.py:168 >> Unsloth 2024.11.9 patched 32 layers with 32 QKV layers, 32 O layers and 32 MLP layers.
|
| 312 |
+
|
| 313 |
+
[INFO|2024-11-25 18:38:12] logging.py:157 >> trainable params: 20,971,520 || all params: 7,268,995,072 || trainable%: 0.2885
|
| 314 |
+
|
| 315 |
+
[INFO|2024-11-25 18:38:12] trainer.py:698 >> Using auto half precision backend
|
| 316 |
+
|
| 317 |
+
[WARNING|2024-11-25 18:38:13] <string>:208 >> ==((====))== Unsloth - 2x faster free finetuning | Num GPUs = 1
|
| 318 |
+
\\ /| Num examples = 3,716 | Num Epochs = 3
|
| 319 |
+
O^O/ \_/ \ Batch size per device = 8 | Gradient Accumulation steps = 4
|
| 320 |
+
\ / Total batch size = 32 | Total steps = 348
|
| 321 |
+
"-____-" Number of trainable parameters = 20,971,520
|
| 322 |
+
|
| 323 |
+
[INFO|2024-11-25 18:44:44] logging.py:157 >> {'loss': 0.1805, 'learning_rate': 2.9939e-05, 'epoch': 0.09}
|
| 324 |
+
|
| 325 |
+
[INFO|2024-11-25 18:51:07] logging.py:157 >> {'loss': 0.0827, 'learning_rate': 2.9756e-05, 'epoch': 0.17}
|
| 326 |
+
|
| 327 |
+
[INFO|2024-11-25 18:57:27] logging.py:157 >> {'loss': 0.0722, 'learning_rate': 2.9453e-05, 'epoch': 0.26}
|
| 328 |
+
|
| 329 |
+
[INFO|2024-11-25 19:03:51] logging.py:157 >> {'loss': 0.0637, 'learning_rate': 2.9033e-05, 'epoch': 0.34}
|
| 330 |
+
|
| 331 |
+
[INFO|2024-11-25 19:10:09] logging.py:157 >> {'loss': 0.0646, 'learning_rate': 2.8498e-05, 'epoch': 0.43}
|
| 332 |
+
|
| 333 |
+
[INFO|2024-11-25 19:16:32] logging.py:157 >> {'loss': 0.0619, 'learning_rate': 2.7853e-05, 'epoch': 0.52}
|
| 334 |
+
|
| 335 |
+
[INFO|2024-11-25 19:22:55] logging.py:157 >> {'loss': 0.0588, 'learning_rate': 2.7103e-05, 'epoch': 0.60}
|
| 336 |
+
|
| 337 |
+
[INFO|2024-11-25 19:29:16] logging.py:157 >> {'loss': 0.0594, 'learning_rate': 2.6255e-05, 'epoch': 0.69}
|
| 338 |
+
|
| 339 |
+
[INFO|2024-11-25 19:35:47] logging.py:157 >> {'loss': 0.0590, 'learning_rate': 2.5315e-05, 'epoch': 0.77}
|
| 340 |
+
|
| 341 |
+
[INFO|2024-11-25 19:42:12] logging.py:157 >> {'loss': 0.0557, 'learning_rate': 2.4292e-05, 'epoch': 0.86}
|
| 342 |
+
|
| 343 |
+
[INFO|2024-11-25 19:48:30] logging.py:157 >> {'loss': 0.0493, 'learning_rate': 2.3192e-05, 'epoch': 0.95}
|
| 344 |
+
|
| 345 |
+
[INFO|2024-11-25 19:54:47] logging.py:157 >> {'loss': 0.0509, 'learning_rate': 2.2026e-05, 'epoch': 1.03}
|
| 346 |
+
|
| 347 |
+
[INFO|2024-11-25 20:01:14] logging.py:157 >> {'loss': 0.0419, 'learning_rate': 2.0803e-05, 'epoch': 1.12}
|
| 348 |
+
|
| 349 |
+
[INFO|2024-11-25 20:07:39] logging.py:157 >> {'loss': 0.0420, 'learning_rate': 1.9532e-05, 'epoch': 1.20}
|
| 350 |
+
|
| 351 |
+
[INFO|2024-11-25 20:13:57] logging.py:157 >> {'loss': 0.0432, 'learning_rate': 1.8225e-05, 'epoch': 1.29}
|
| 352 |
+
|
| 353 |
+
[INFO|2024-11-25 20:20:19] logging.py:157 >> {'loss': 0.0475, 'learning_rate': 1.6891e-05, 'epoch': 1.38}
|
| 354 |
+
|
| 355 |
+
[INFO|2024-11-25 20:26:41] logging.py:157 >> {'loss': 0.0448, 'learning_rate': 1.5542e-05, 'epoch': 1.46}
|
| 356 |
+
|
| 357 |
+
[INFO|2024-11-25 20:33:05] logging.py:157 >> {'loss': 0.0407, 'learning_rate': 1.4188e-05, 'epoch': 1.55}
|
| 358 |
+
|
| 359 |
+
[INFO|2024-11-25 20:39:22] logging.py:157 >> {'loss': 0.0421, 'learning_rate': 1.2841e-05, 'epoch': 1.63}
|
| 360 |
+
|
| 361 |
+
[INFO|2024-11-25 20:45:43] logging.py:157 >> {'loss': 0.0401, 'learning_rate': 1.1511e-05, 'epoch': 1.72}
|
| 362 |
+
|
| 363 |
+
[INFO|2024-11-25 20:52:07] logging.py:157 >> {'loss': 0.0438, 'learning_rate': 1.0210e-05, 'epoch': 1.81}
|
| 364 |
+
|
| 365 |
+
[INFO|2024-11-25 20:58:30] logging.py:157 >> {'loss': 0.0444, 'learning_rate': 8.9485e-06, 'epoch': 1.89}
|
| 366 |
+
|
| 367 |
+
[INFO|2024-11-25 21:04:51] logging.py:157 >> {'loss': 0.0410, 'learning_rate': 7.7358e-06, 'epoch': 1.98}
|
| 368 |
+
|
| 369 |
+
[INFO|2024-11-25 21:11:09] logging.py:157 >> {'loss': 0.0317, 'learning_rate': 6.5822e-06, 'epoch': 2.06}
|
| 370 |
+
|
| 371 |
+
[INFO|2024-11-25 21:17:32] logging.py:157 >> {'loss': 0.0357, 'learning_rate': 5.4972e-06, 'epoch': 2.15}
|
| 372 |
+
|
| 373 |
+
[INFO|2024-11-25 21:23:59] logging.py:157 >> {'loss': 0.0386, 'learning_rate': 4.4896e-06, 'epoch': 2.24}
|
| 374 |
+
|
| 375 |
+
[INFO|2024-11-25 21:30:17] logging.py:157 >> {'loss': 0.0289, 'learning_rate': 3.5676e-06, 'epoch': 2.32}
|
| 376 |
+
|
| 377 |
+
[INFO|2024-11-25 21:36:49] logging.py:157 >> {'loss': 0.0307, 'learning_rate': 2.7387e-06, 'epoch': 2.41}
|
| 378 |
+
|
| 379 |
+
[INFO|2024-11-25 21:43:08] logging.py:157 >> {'loss': 0.0338, 'learning_rate': 2.0096e-06, 'epoch': 2.49}
|
| 380 |
+
|
| 381 |
+
[INFO|2024-11-25 21:49:30] logging.py:157 >> {'loss': 0.0279, 'learning_rate': 1.3864e-06, 'epoch': 2.58}
|
| 382 |
+
|
| 383 |
+
[INFO|2024-11-25 21:55:50] logging.py:157 >> {'loss': 0.0321, 'learning_rate': 8.7399e-07, 'epoch': 2.67}
|
| 384 |
+
|
| 385 |
+
[INFO|2024-11-25 22:02:10] logging.py:157 >> {'loss': 0.0352, 'learning_rate': 4.7666e-07, 'epoch': 2.75}
|
| 386 |
+
|
| 387 |
+
[INFO|2024-11-25 22:08:34] logging.py:157 >> {'loss': 0.0341, 'learning_rate': 1.9760e-07, 'epoch': 2.84}
|
| 388 |
+
|
| 389 |
+
[INFO|2024-11-25 22:14:53] logging.py:157 >> {'loss': 0.0315, 'learning_rate': 3.9102e-08, 'epoch': 2.92}
|
| 390 |
+
|
| 391 |
+
[INFO|2024-11-25 22:19:59] trainer.py:3801 >> Saving model checkpoint to saves/Mistral-7B-Instruct-v0.3/lora/mistral-finetuned/checkpoint-348
|
| 392 |
+
|
| 393 |
+
[INFO|2024-11-25 22:19:59] configuration_utils.py:679 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--unsloth--mistral-7b-instruct-v0.3-bnb-4bit/snapshots/d5f623888f1415cf89b5c208d09cb620694618ee/config.json
|
| 394 |
+
|
| 395 |
+
[INFO|2024-11-25 22:19:59] configuration_utils.py:746 >> Model config MistralConfig {
|
| 396 |
+
"_name_or_path": "unsloth/Mistral-7B-Instruct-v0.3",
|
| 397 |
+
"architectures": [
|
| 398 |
+
"MistralForCausalLM"
|
| 399 |
+
],
|
| 400 |
+
"attention_dropout": 0.0,
|
| 401 |
+
"bos_token_id": 1,
|
| 402 |
+
"eos_token_id": 2,
|
| 403 |
+
"head_dim": 128,
|
| 404 |
+
"hidden_act": "silu",
|
| 405 |
+
"hidden_size": 4096,
|
| 406 |
+
"initializer_range": 0.02,
|
| 407 |
+
"intermediate_size": 14336,
|
| 408 |
+
"max_position_embeddings": 32768,
|
| 409 |
+
"model_type": "mistral",
|
| 410 |
+
"num_attention_heads": 32,
|
| 411 |
+
"num_hidden_layers": 32,
|
| 412 |
+
"num_key_value_heads": 8,
|
| 413 |
+
"pad_token_id": 770,
|
| 414 |
+
"quantization_config": {
|
| 415 |
+
"_load_in_4bit": true,
|
| 416 |
+
"_load_in_8bit": false,
|
| 417 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 418 |
+
"bnb_4bit_quant_storage": "uint8",
|
| 419 |
+
"bnb_4bit_quant_type": "nf4",
|
| 420 |
+
"bnb_4bit_use_double_quant": true,
|
| 421 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
| 422 |
+
"llm_int8_has_fp16_weight": false,
|
| 423 |
+
"llm_int8_skip_modules": null,
|
| 424 |
+
"llm_int8_threshold": 6.0,
|
| 425 |
+
"load_in_4bit": true,
|
| 426 |
+
"load_in_8bit": false,
|
| 427 |
+
"quant_method": "bitsandbytes"
|
| 428 |
+
},
|
| 429 |
+
"rms_norm_eps": 1e-05,
|
| 430 |
+
"rope_theta": 1000000.0,
|
| 431 |
+
"sliding_window": null,
|
| 432 |
+
"tie_word_embeddings": false,
|
| 433 |
+
"torch_dtype": "bfloat16",
|
| 434 |
+
"transformers_version": "4.46.1",
|
| 435 |
+
"unsloth_version": "2024.9",
|
| 436 |
+
"use_cache": true,
|
| 437 |
+
"vocab_size": 32768
|
| 438 |
+
}
|
| 439 |
+
|
| 440 |
+
|
| 441 |
+
[INFO|2024-11-25 22:20:00] <string>:484 >>
|
| 442 |
+
|
| 443 |
+
Training completed. Do not forget to share your model on huggingface.co/models =)
|
| 444 |
+
|
| 445 |
+
|
| 446 |
+
|
| 447 |
+
[INFO|2024-11-25 22:20:00] trainer.py:3801 >> Saving model checkpoint to saves/Mistral-7B-Instruct-v0.3/lora/mistral-finetuned
|
| 448 |
+
|
| 449 |
+
[INFO|2024-11-25 22:20:00] configuration_utils.py:679 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--unsloth--mistral-7b-instruct-v0.3-bnb-4bit/snapshots/d5f623888f1415cf89b5c208d09cb620694618ee/config.json
|
| 450 |
+
|
| 451 |
+
[INFO|2024-11-25 22:20:00] configuration_utils.py:746 >> Model config MistralConfig {
|
| 452 |
+
"_name_or_path": "unsloth/Mistral-7B-Instruct-v0.3",
|
| 453 |
+
"architectures": [
|
| 454 |
+
"MistralForCausalLM"
|
| 455 |
+
],
|
| 456 |
+
"attention_dropout": 0.0,
|
| 457 |
+
"bos_token_id": 1,
|
| 458 |
+
"eos_token_id": 2,
|
| 459 |
+
"head_dim": 128,
|
| 460 |
+
"hidden_act": "silu",
|
| 461 |
+
"hidden_size": 4096,
|
| 462 |
+
"initializer_range": 0.02,
|
| 463 |
+
"intermediate_size": 14336,
|
| 464 |
+
"max_position_embeddings": 32768,
|
| 465 |
+
"model_type": "mistral",
|
| 466 |
+
"num_attention_heads": 32,
|
| 467 |
+
"num_hidden_layers": 32,
|
| 468 |
+
"num_key_value_heads": 8,
|
| 469 |
+
"pad_token_id": 770,
|
| 470 |
+
"quantization_config": {
|
| 471 |
+
"_load_in_4bit": true,
|
| 472 |
+
"_load_in_8bit": false,
|
| 473 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 474 |
+
"bnb_4bit_quant_storage": "uint8",
|
| 475 |
+
"bnb_4bit_quant_type": "nf4",
|
| 476 |
+
"bnb_4bit_use_double_quant": true,
|
| 477 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
| 478 |
+
"llm_int8_has_fp16_weight": false,
|
| 479 |
+
"llm_int8_skip_modules": null,
|
| 480 |
+
"llm_int8_threshold": 6.0,
|
| 481 |
+
"load_in_4bit": true,
|
| 482 |
+
"load_in_8bit": false,
|
| 483 |
+
"quant_method": "bitsandbytes"
|
| 484 |
+
},
|
| 485 |
+
"rms_norm_eps": 1e-05,
|
| 486 |
+
"rope_theta": 1000000.0,
|
| 487 |
+
"sliding_window": null,
|
| 488 |
+
"tie_word_embeddings": false,
|
| 489 |
+
"torch_dtype": "bfloat16",
|
| 490 |
+
"transformers_version": "4.46.1",
|
| 491 |
+
"unsloth_version": "2024.9",
|
| 492 |
+
"use_cache": true,
|
| 493 |
+
"vocab_size": 32768
|
| 494 |
+
}
|
| 495 |
+
|
| 496 |
+
|
| 497 |
+
[WARNING|2024-11-25 22:20:05] logging.py:162 >> No metric eval_loss to plot.
|
| 498 |
+
|
| 499 |
+
[WARNING|2024-11-25 22:20:05] logging.py:162 >> No metric eval_accuracy to plot.
|
| 500 |
+
|
| 501 |
+
[INFO|2024-11-25 22:20:05] modelcard.py:449 >> Dropping the following result as it does not have all the necessary fields:
|
| 502 |
+
{'task': {'name': 'Causal Language Modeling', 'type': 'text-generation'}}
|
| 503 |
+
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "</s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": "</s>",
|
| 17 |
+
"unk_token": {
|
| 18 |
+
"content": "<unk>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
}
|
| 24 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
|
| 3 |
+
size 587404
|
tokenizer_config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
train_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 2.9935483870967743,
|
| 3 |
+
"total_flos": 2.2441603085736346e+17,
|
| 4 |
+
"train_loss": 0.04925085334428426,
|
| 5 |
+
"train_runtime": 13305.7708,
|
| 6 |
+
"train_samples_per_second": 0.838,
|
| 7 |
+
"train_steps_per_second": 0.026
|
| 8 |
+
}
|
trainer_log.jsonl
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"current_steps": 10, "total_steps": 348, "loss": 0.1805, "lr": 2.9938918800982563e-05, "epoch": 0.08602150537634409, "percentage": 2.87, "elapsed_time": "0:06:29", "remaining_time": "3:39:39"}
|
| 2 |
+
{"current_steps": 20, "total_steps": 348, "loss": 0.0827, "lr": 2.975617265898004e-05, "epoch": 0.17204301075268819, "percentage": 5.75, "elapsed_time": "0:12:52", "remaining_time": "3:31:15"}
|
| 3 |
+
{"current_steps": 30, "total_steps": 348, "loss": 0.0722, "lr": 2.9453249887788343e-05, "epoch": 0.25806451612903225, "percentage": 8.62, "elapsed_time": "0:19:12", "remaining_time": "3:23:37"}
|
| 4 |
+
{"current_steps": 40, "total_steps": 348, "loss": 0.0637, "lr": 2.9032617538884018e-05, "epoch": 0.34408602150537637, "percentage": 11.49, "elapsed_time": "0:25:36", "remaining_time": "3:17:13"}
|
| 5 |
+
{"current_steps": 50, "total_steps": 348, "loss": 0.0646, "lr": 2.84977013093626e-05, "epoch": 0.43010752688172044, "percentage": 14.37, "elapsed_time": "0:31:55", "remaining_time": "3:10:15"}
|
| 6 |
+
{"current_steps": 60, "total_steps": 348, "loss": 0.0619, "lr": 2.7852857642513838e-05, "epoch": 0.5161290322580645, "percentage": 17.24, "elapsed_time": "0:38:18", "remaining_time": "3:03:51"}
|
| 7 |
+
{"current_steps": 70, "total_steps": 348, "loss": 0.0588, "lr": 2.7103338248251055e-05, "epoch": 0.6021505376344086, "percentage": 20.11, "elapsed_time": "0:44:40", "remaining_time": "2:57:26"}
|
| 8 |
+
{"current_steps": 80, "total_steps": 348, "loss": 0.0594, "lr": 2.6255247332346036e-05, "epoch": 0.6881720430107527, "percentage": 22.99, "elapsed_time": "0:51:02", "remaining_time": "2:50:58"}
|
| 9 |
+
{"current_steps": 90, "total_steps": 348, "loss": 0.059, "lr": 2.531549188280135e-05, "epoch": 0.7741935483870968, "percentage": 25.86, "elapsed_time": "0:57:32", "remaining_time": "2:44:56"}
|
| 10 |
+
{"current_steps": 100, "total_steps": 348, "loss": 0.0557, "lr": 2.4291725418235848e-05, "epoch": 0.8602150537634409, "percentage": 28.74, "elapsed_time": "1:03:58", "remaining_time": "2:38:38"}
|
| 11 |
+
{"current_steps": 110, "total_steps": 348, "loss": 0.0493, "lr": 2.3192285656405456e-05, "epoch": 0.946236559139785, "percentage": 31.61, "elapsed_time": "1:10:15", "remaining_time": "2:32:00"}
|
| 12 |
+
{"current_steps": 120, "total_steps": 348, "loss": 0.0509, "lr": 2.2026126610496852e-05, "epoch": 1.032258064516129, "percentage": 34.48, "elapsed_time": "1:16:32", "remaining_time": "2:25:26"}
|
| 13 |
+
{"current_steps": 130, "total_steps": 348, "loss": 0.0419, "lr": 2.0802745666212592e-05, "epoch": 1.118279569892473, "percentage": 37.36, "elapsed_time": "1:23:00", "remaining_time": "2:19:11"}
|
| 14 |
+
{"current_steps": 140, "total_steps": 348, "loss": 0.042, "lr": 1.953210623354359e-05, "epoch": 1.2043010752688172, "percentage": 40.23, "elapsed_time": "1:29:25", "remaining_time": "2:12:50"}
|
| 15 |
+
{"current_steps": 150, "total_steps": 348, "loss": 0.0432, "lr": 1.8224556603165363e-05, "epoch": 1.2903225806451613, "percentage": 43.1, "elapsed_time": "1:35:43", "remaining_time": "2:06:21"}
|
| 16 |
+
{"current_steps": 160, "total_steps": 348, "loss": 0.0475, "lr": 1.689074566830434e-05, "epoch": 1.3763440860215055, "percentage": 45.98, "elapsed_time": "1:42:04", "remaining_time": "1:59:56"}
|
| 17 |
+
{"current_steps": 170, "total_steps": 348, "loss": 0.0448, "lr": 1.5541536198449044e-05, "epoch": 1.4623655913978495, "percentage": 48.85, "elapsed_time": "1:48:27", "remaining_time": "1:53:33"}
|
| 18 |
+
{"current_steps": 180, "total_steps": 348, "loss": 0.0407, "lr": 1.4187916371218739e-05, "epoch": 1.5483870967741935, "percentage": 51.72, "elapsed_time": "1:54:50", "remaining_time": "1:47:11"}
|
| 19 |
+
{"current_steps": 190, "total_steps": 348, "loss": 0.0421, "lr": 1.2840910282888211e-05, "epoch": 1.6344086021505375, "percentage": 54.6, "elapsed_time": "2:01:08", "remaining_time": "1:40:44"}
|
| 20 |
+
{"current_steps": 200, "total_steps": 348, "loss": 0.0401, "lr": 1.1511488166385349e-05, "epoch": 1.7204301075268817, "percentage": 57.47, "elapsed_time": "2:07:28", "remaining_time": "1:34:19"}
|
| 21 |
+
{"current_steps": 210, "total_steps": 348, "loss": 0.0438, "lr": 1.0210477047960303e-05, "epoch": 1.8064516129032258, "percentage": 60.34, "elapsed_time": "2:13:53", "remaining_time": "1:27:58"}
|
| 22 |
+
{"current_steps": 220, "total_steps": 348, "loss": 0.0444, "lr": 8.948472570152874e-06, "epoch": 1.89247311827957, "percentage": 63.22, "elapsed_time": "2:20:16", "remaining_time": "1:21:36"}
|
| 23 |
+
{"current_steps": 230, "total_steps": 348, "loss": 0.041, "lr": 7.735752699185711e-06, "epoch": 1.978494623655914, "percentage": 66.09, "elapsed_time": "2:26:37", "remaining_time": "1:15:13"}
|
| 24 |
+
{"current_steps": 240, "total_steps": 348, "loss": 0.0317, "lr": 6.582194019564266e-06, "epoch": 2.064516129032258, "percentage": 68.97, "elapsed_time": "2:32:54", "remaining_time": "1:08:48"}
|
| 25 |
+
{"current_steps": 250, "total_steps": 348, "loss": 0.0357, "lr": 5.497191297593647e-06, "epoch": 2.150537634408602, "percentage": 71.84, "elapsed_time": "2:39:17", "remaining_time": "1:02:26"}
|
| 26 |
+
{"current_steps": 260, "total_steps": 348, "loss": 0.0386, "lr": 4.4895809688998655e-06, "epoch": 2.236559139784946, "percentage": 74.71, "elapsed_time": "2:45:44", "remaining_time": "0:56:05"}
|
| 27 |
+
{"current_steps": 270, "total_steps": 348, "loss": 0.0289, "lr": 3.567569173085455e-06, "epoch": 2.3225806451612905, "percentage": 77.59, "elapsed_time": "2:52:02", "remaining_time": "0:49:42"}
|
| 28 |
+
{"current_steps": 280, "total_steps": 348, "loss": 0.0307, "lr": 2.7386649216166233e-06, "epoch": 2.4086021505376345, "percentage": 80.46, "elapsed_time": "2:58:35", "remaining_time": "0:43:22"}
|
| 29 |
+
{"current_steps": 290, "total_steps": 348, "loss": 0.0338, "lr": 2.0096189432334194e-06, "epoch": 2.4946236559139785, "percentage": 83.33, "elapsed_time": "3:04:53", "remaining_time": "0:36:58"}
|
| 30 |
+
{"current_steps": 300, "total_steps": 348, "loss": 0.0279, "lr": 1.3863687049356465e-06, "epoch": 2.5806451612903225, "percentage": 86.21, "elapsed_time": "3:11:15", "remaining_time": "0:30:36"}
|
| 31 |
+
{"current_steps": 310, "total_steps": 348, "loss": 0.0321, "lr": 8.7399005630238e-07, "epoch": 2.6666666666666665, "percentage": 89.08, "elapsed_time": "3:17:36", "remaining_time": "0:24:13"}
|
| 32 |
+
{"current_steps": 320, "total_steps": 348, "loss": 0.0352, "lr": 4.766558909615504e-07, "epoch": 2.752688172043011, "percentage": 91.95, "elapsed_time": "3:23:55", "remaining_time": "0:17:50"}
|
| 33 |
+
{"current_steps": 330, "total_steps": 348, "loss": 0.0341, "lr": 1.9760216187710788e-07, "epoch": 2.838709677419355, "percentage": 94.83, "elapsed_time": "3:30:19", "remaining_time": "0:11:28"}
|
| 34 |
+
{"current_steps": 340, "total_steps": 348, "loss": 0.0315, "lr": 3.910152723075322e-08, "epoch": 2.924731182795699, "percentage": 97.7, "elapsed_time": "3:36:38", "remaining_time": "0:05:05"}
|
| 35 |
+
{"current_steps": 348, "total_steps": 348, "epoch": 2.9935483870967743, "percentage": 100.0, "elapsed_time": "3:41:45", "remaining_time": "0:00:00"}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,280 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": null,
|
| 3 |
+
"best_model_checkpoint": null,
|
| 4 |
+
"epoch": 2.9935483870967743,
|
| 5 |
+
"eval_steps": 500,
|
| 6 |
+
"global_step": 348,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 0.08602150537634409,
|
| 13 |
+
"grad_norm": 1.3349374532699585,
|
| 14 |
+
"learning_rate": 2.9938918800982563e-05,
|
| 15 |
+
"loss": 0.1805,
|
| 16 |
+
"step": 10
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.17204301075268819,
|
| 20 |
+
"grad_norm": 1.0496348142623901,
|
| 21 |
+
"learning_rate": 2.975617265898004e-05,
|
| 22 |
+
"loss": 0.0827,
|
| 23 |
+
"step": 20
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"epoch": 0.25806451612903225,
|
| 27 |
+
"grad_norm": 1.1902973651885986,
|
| 28 |
+
"learning_rate": 2.9453249887788343e-05,
|
| 29 |
+
"loss": 0.0722,
|
| 30 |
+
"step": 30
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"epoch": 0.34408602150537637,
|
| 34 |
+
"grad_norm": 0.8137356638908386,
|
| 35 |
+
"learning_rate": 2.9032617538884018e-05,
|
| 36 |
+
"loss": 0.0637,
|
| 37 |
+
"step": 40
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"epoch": 0.43010752688172044,
|
| 41 |
+
"grad_norm": 0.8646667003631592,
|
| 42 |
+
"learning_rate": 2.84977013093626e-05,
|
| 43 |
+
"loss": 0.0646,
|
| 44 |
+
"step": 50
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"epoch": 0.5161290322580645,
|
| 48 |
+
"grad_norm": 1.2397544384002686,
|
| 49 |
+
"learning_rate": 2.7852857642513838e-05,
|
| 50 |
+
"loss": 0.0619,
|
| 51 |
+
"step": 60
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"epoch": 0.6021505376344086,
|
| 55 |
+
"grad_norm": 0.8160271048545837,
|
| 56 |
+
"learning_rate": 2.7103338248251055e-05,
|
| 57 |
+
"loss": 0.0588,
|
| 58 |
+
"step": 70
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"epoch": 0.6881720430107527,
|
| 62 |
+
"grad_norm": 0.8985416293144226,
|
| 63 |
+
"learning_rate": 2.6255247332346036e-05,
|
| 64 |
+
"loss": 0.0594,
|
| 65 |
+
"step": 80
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"epoch": 0.7741935483870968,
|
| 69 |
+
"grad_norm": 0.968460738658905,
|
| 70 |
+
"learning_rate": 2.531549188280135e-05,
|
| 71 |
+
"loss": 0.059,
|
| 72 |
+
"step": 90
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"epoch": 0.8602150537634409,
|
| 76 |
+
"grad_norm": 0.7749939560890198,
|
| 77 |
+
"learning_rate": 2.4291725418235848e-05,
|
| 78 |
+
"loss": 0.0557,
|
| 79 |
+
"step": 100
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"epoch": 0.946236559139785,
|
| 83 |
+
"grad_norm": 0.6407869458198547,
|
| 84 |
+
"learning_rate": 2.3192285656405456e-05,
|
| 85 |
+
"loss": 0.0493,
|
| 86 |
+
"step": 110
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"epoch": 1.032258064516129,
|
| 90 |
+
"grad_norm": 1.2854279279708862,
|
| 91 |
+
"learning_rate": 2.2026126610496852e-05,
|
| 92 |
+
"loss": 0.0509,
|
| 93 |
+
"step": 120
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"epoch": 1.118279569892473,
|
| 97 |
+
"grad_norm": 0.60258948802948,
|
| 98 |
+
"learning_rate": 2.0802745666212592e-05,
|
| 99 |
+
"loss": 0.0419,
|
| 100 |
+
"step": 130
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"epoch": 1.2043010752688172,
|
| 104 |
+
"grad_norm": 0.9239497780799866,
|
| 105 |
+
"learning_rate": 1.953210623354359e-05,
|
| 106 |
+
"loss": 0.042,
|
| 107 |
+
"step": 140
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"epoch": 1.2903225806451613,
|
| 111 |
+
"grad_norm": 0.7352257966995239,
|
| 112 |
+
"learning_rate": 1.8224556603165363e-05,
|
| 113 |
+
"loss": 0.0432,
|
| 114 |
+
"step": 150
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"epoch": 1.3763440860215055,
|
| 118 |
+
"grad_norm": 0.8709537386894226,
|
| 119 |
+
"learning_rate": 1.689074566830434e-05,
|
| 120 |
+
"loss": 0.0475,
|
| 121 |
+
"step": 160
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"epoch": 1.4623655913978495,
|
| 125 |
+
"grad_norm": 0.7810623049736023,
|
| 126 |
+
"learning_rate": 1.5541536198449044e-05,
|
| 127 |
+
"loss": 0.0448,
|
| 128 |
+
"step": 170
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"epoch": 1.5483870967741935,
|
| 132 |
+
"grad_norm": 0.6514085531234741,
|
| 133 |
+
"learning_rate": 1.4187916371218739e-05,
|
| 134 |
+
"loss": 0.0407,
|
| 135 |
+
"step": 180
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"epoch": 1.6344086021505375,
|
| 139 |
+
"grad_norm": 0.8177109956741333,
|
| 140 |
+
"learning_rate": 1.2840910282888211e-05,
|
| 141 |
+
"loss": 0.0421,
|
| 142 |
+
"step": 190
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"epoch": 1.7204301075268817,
|
| 146 |
+
"grad_norm": 0.9916985630989075,
|
| 147 |
+
"learning_rate": 1.1511488166385349e-05,
|
| 148 |
+
"loss": 0.0401,
|
| 149 |
+
"step": 200
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"epoch": 1.8064516129032258,
|
| 153 |
+
"grad_norm": 1.0323394536972046,
|
| 154 |
+
"learning_rate": 1.0210477047960303e-05,
|
| 155 |
+
"loss": 0.0438,
|
| 156 |
+
"step": 210
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"epoch": 1.89247311827957,
|
| 160 |
+
"grad_norm": 0.920881450176239,
|
| 161 |
+
"learning_rate": 8.948472570152874e-06,
|
| 162 |
+
"loss": 0.0444,
|
| 163 |
+
"step": 220
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"epoch": 1.978494623655914,
|
| 167 |
+
"grad_norm": 1.1360812187194824,
|
| 168 |
+
"learning_rate": 7.735752699185711e-06,
|
| 169 |
+
"loss": 0.041,
|
| 170 |
+
"step": 230
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"epoch": 2.064516129032258,
|
| 174 |
+
"grad_norm": 0.8304557800292969,
|
| 175 |
+
"learning_rate": 6.582194019564266e-06,
|
| 176 |
+
"loss": 0.0317,
|
| 177 |
+
"step": 240
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"epoch": 2.150537634408602,
|
| 181 |
+
"grad_norm": 0.8478759527206421,
|
| 182 |
+
"learning_rate": 5.497191297593647e-06,
|
| 183 |
+
"loss": 0.0357,
|
| 184 |
+
"step": 250
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"epoch": 2.236559139784946,
|
| 188 |
+
"grad_norm": 1.0847315788269043,
|
| 189 |
+
"learning_rate": 4.4895809688998655e-06,
|
| 190 |
+
"loss": 0.0386,
|
| 191 |
+
"step": 260
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"epoch": 2.3225806451612905,
|
| 195 |
+
"grad_norm": 0.6213060617446899,
|
| 196 |
+
"learning_rate": 3.567569173085455e-06,
|
| 197 |
+
"loss": 0.0289,
|
| 198 |
+
"step": 270
|
| 199 |
+
},
|
| 200 |
+
{
|
| 201 |
+
"epoch": 2.4086021505376345,
|
| 202 |
+
"grad_norm": 1.0422612428665161,
|
| 203 |
+
"learning_rate": 2.7386649216166233e-06,
|
| 204 |
+
"loss": 0.0307,
|
| 205 |
+
"step": 280
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"epoch": 2.4946236559139785,
|
| 209 |
+
"grad_norm": 0.9629487991333008,
|
| 210 |
+
"learning_rate": 2.0096189432334194e-06,
|
| 211 |
+
"loss": 0.0338,
|
| 212 |
+
"step": 290
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"epoch": 2.5806451612903225,
|
| 216 |
+
"grad_norm": 0.7275118827819824,
|
| 217 |
+
"learning_rate": 1.3863687049356465e-06,
|
| 218 |
+
"loss": 0.0279,
|
| 219 |
+
"step": 300
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"epoch": 2.6666666666666665,
|
| 223 |
+
"grad_norm": 0.9140329360961914,
|
| 224 |
+
"learning_rate": 8.7399005630238e-07,
|
| 225 |
+
"loss": 0.0321,
|
| 226 |
+
"step": 310
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"epoch": 2.752688172043011,
|
| 230 |
+
"grad_norm": 1.0714858770370483,
|
| 231 |
+
"learning_rate": 4.766558909615504e-07,
|
| 232 |
+
"loss": 0.0352,
|
| 233 |
+
"step": 320
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"epoch": 2.838709677419355,
|
| 237 |
+
"grad_norm": 0.843151330947876,
|
| 238 |
+
"learning_rate": 1.9760216187710788e-07,
|
| 239 |
+
"loss": 0.0341,
|
| 240 |
+
"step": 330
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"epoch": 2.924731182795699,
|
| 244 |
+
"grad_norm": 0.6754664182662964,
|
| 245 |
+
"learning_rate": 3.910152723075322e-08,
|
| 246 |
+
"loss": 0.0315,
|
| 247 |
+
"step": 340
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"epoch": 2.9935483870967743,
|
| 251 |
+
"step": 348,
|
| 252 |
+
"total_flos": 2.2441603085736346e+17,
|
| 253 |
+
"train_loss": 0.04925085334428426,
|
| 254 |
+
"train_runtime": 13305.7708,
|
| 255 |
+
"train_samples_per_second": 0.838,
|
| 256 |
+
"train_steps_per_second": 0.026
|
| 257 |
+
}
|
| 258 |
+
],
|
| 259 |
+
"logging_steps": 10,
|
| 260 |
+
"max_steps": 348,
|
| 261 |
+
"num_input_tokens_seen": 0,
|
| 262 |
+
"num_train_epochs": 3,
|
| 263 |
+
"save_steps": 1000,
|
| 264 |
+
"stateful_callbacks": {
|
| 265 |
+
"TrainerControl": {
|
| 266 |
+
"args": {
|
| 267 |
+
"should_epoch_stop": false,
|
| 268 |
+
"should_evaluate": false,
|
| 269 |
+
"should_log": false,
|
| 270 |
+
"should_save": true,
|
| 271 |
+
"should_training_stop": true
|
| 272 |
+
},
|
| 273 |
+
"attributes": {}
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"total_flos": 2.2441603085736346e+17,
|
| 277 |
+
"train_batch_size": 8,
|
| 278 |
+
"trial_name": null,
|
| 279 |
+
"trial_params": null
|
| 280 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f6b5e03ab55c7eca1bec1843792810a25ab68a79d546ce327c2c6fad1fe4ce0
|
| 3 |
+
size 5432
|
training_args.yaml
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cutoff_len: 2048
|
| 2 |
+
dataset: treino_pt_rde
|
| 3 |
+
dataset_dir: data
|
| 4 |
+
ddp_timeout: 180000000
|
| 5 |
+
do_train: true
|
| 6 |
+
finetuning_type: lora
|
| 7 |
+
flash_attn: auto
|
| 8 |
+
fp16: true
|
| 9 |
+
gradient_accumulation_steps: 4
|
| 10 |
+
learning_rate: 3.0e-05
|
| 11 |
+
logging_steps: 10
|
| 12 |
+
lora_alpha: 16
|
| 13 |
+
lora_dropout: 0
|
| 14 |
+
lora_rank: 8
|
| 15 |
+
lora_target: all
|
| 16 |
+
lr_scheduler_type: cosine
|
| 17 |
+
max_grad_norm: 1.0
|
| 18 |
+
max_samples: 3716
|
| 19 |
+
model_name_or_path: mistralai/Mistral-7B-Instruct-v0.3
|
| 20 |
+
num_train_epochs: 3.0
|
| 21 |
+
optim: adamw_torch
|
| 22 |
+
output_dir: saves/Mistral-7B-Instruct-v0.3/lora/mistral-finetuned
|
| 23 |
+
packing: false
|
| 24 |
+
per_device_train_batch_size: 8
|
| 25 |
+
plot_loss: true
|
| 26 |
+
preprocessing_num_workers: 16
|
| 27 |
+
quantization_bit: 4
|
| 28 |
+
quantization_method: bitsandbytes
|
| 29 |
+
report_to: none
|
| 30 |
+
save_steps: 1000
|
| 31 |
+
stage: sft
|
| 32 |
+
template: alpaca
|
| 33 |
+
use_unsloth: true
|
| 34 |
+
warmup_steps: 0
|
training_loss.png
ADDED
|