Upload folder using huggingface_hub
Browse files- README.md +59 -3
- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
- all_results.json +9 -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 +305 -0
- checkpoint-348/training_args.bin +3 -0
- llamaboard_config.yaml +78 -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 +9 -0
- trainer_log.jsonl +35 -0
- trainer_state.json +315 -0
- training_args.bin +3 -0
- training_args.yaml +37 -0
- training_loss.png +0 -0
README.md
CHANGED
|
@@ -1,3 +1,59 @@
|
|
| 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: part_2
|
| 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 |
+
# part_2
|
| 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 en_train_part_1 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: 4
|
| 41 |
+
- eval_batch_size: 8
|
| 42 |
+
- seed: 42
|
| 43 |
+
- gradient_accumulation_steps: 2
|
| 44 |
+
- total_train_batch_size: 8
|
| 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 |
+
|
| 49 |
+
### Training results
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
### Framework versions
|
| 54 |
+
|
| 55 |
+
- PEFT 0.12.0
|
| 56 |
+
- Transformers 4.49.0
|
| 57 |
+
- Pytorch 2.6.0+cu124
|
| 58 |
+
- Datasets 3.2.0
|
| 59 |
+
- Tokenizers 0.21.0
|
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 |
+
"v_proj",
|
| 24 |
+
"down_proj",
|
| 25 |
+
"k_proj",
|
| 26 |
+
"o_proj",
|
| 27 |
+
"up_proj",
|
| 28 |
+
"q_proj",
|
| 29 |
+
"gate_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:0ed8fab70b70f10e9d905fb30957c87132060ed3e8583bb0fa4b92db313cd706
|
| 3 |
+
size 83945296
|
all_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 2.978540772532189,
|
| 3 |
+
"num_input_tokens_seen": 924488,
|
| 4 |
+
"total_flos": 3.957609622319923e+16,
|
| 5 |
+
"train_loss": 0.10672961984728944,
|
| 6 |
+
"train_runtime": 329.4461,
|
| 7 |
+
"train_samples_per_second": 8.46,
|
| 8 |
+
"train_steps_per_second": 1.056
|
| 9 |
+
}
|
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 |
+
"v_proj",
|
| 24 |
+
"down_proj",
|
| 25 |
+
"k_proj",
|
| 26 |
+
"o_proj",
|
| 27 |
+
"up_proj",
|
| 28 |
+
"q_proj",
|
| 29 |
+
"gate_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:0ed8fab70b70f10e9d905fb30957c87132060ed3e8583bb0fa4b92db313cd706
|
| 3 |
+
size 83945296
|
checkpoint-348/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09cf5b6c8c8f6c9a445f196e0ff65733363b71a8037bd52eeda5680e861188ea
|
| 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,305 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": null,
|
| 3 |
+
"best_model_checkpoint": null,
|
| 4 |
+
"epoch": 2.978540772532189,
|
| 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.08583690987124463,
|
| 13 |
+
"grad_norm": 5.144778728485107,
|
| 14 |
+
"learning_rate": 2.9938918800982563e-05,
|
| 15 |
+
"loss": 0.8269,
|
| 16 |
+
"num_input_tokens_seen": 25888,
|
| 17 |
+
"step": 10
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.17167381974248927,
|
| 21 |
+
"grad_norm": 4.5363545417785645,
|
| 22 |
+
"learning_rate": 2.975617265898004e-05,
|
| 23 |
+
"loss": 0.1558,
|
| 24 |
+
"num_input_tokens_seen": 53280,
|
| 25 |
+
"step": 20
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"epoch": 0.2575107296137339,
|
| 29 |
+
"grad_norm": 3.198505401611328,
|
| 30 |
+
"learning_rate": 2.9453249887788343e-05,
|
| 31 |
+
"loss": 0.1655,
|
| 32 |
+
"num_input_tokens_seen": 79904,
|
| 33 |
+
"step": 30
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"epoch": 0.34334763948497854,
|
| 37 |
+
"grad_norm": 3.3528692722320557,
|
| 38 |
+
"learning_rate": 2.9032617538884018e-05,
|
| 39 |
+
"loss": 0.1686,
|
| 40 |
+
"num_input_tokens_seen": 106464,
|
| 41 |
+
"step": 40
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"epoch": 0.4291845493562232,
|
| 45 |
+
"grad_norm": 3.4683921337127686,
|
| 46 |
+
"learning_rate": 2.84977013093626e-05,
|
| 47 |
+
"loss": 0.128,
|
| 48 |
+
"num_input_tokens_seen": 132672,
|
| 49 |
+
"step": 50
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"epoch": 0.5150214592274678,
|
| 53 |
+
"grad_norm": 6.693175792694092,
|
| 54 |
+
"learning_rate": 2.7852857642513838e-05,
|
| 55 |
+
"loss": 0.1581,
|
| 56 |
+
"num_input_tokens_seen": 161312,
|
| 57 |
+
"step": 60
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"epoch": 0.6008583690987125,
|
| 61 |
+
"grad_norm": 1.5621659755706787,
|
| 62 |
+
"learning_rate": 2.7103338248251055e-05,
|
| 63 |
+
"loss": 0.1106,
|
| 64 |
+
"num_input_tokens_seen": 187680,
|
| 65 |
+
"step": 70
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"epoch": 0.6866952789699571,
|
| 69 |
+
"grad_norm": 1.8518391847610474,
|
| 70 |
+
"learning_rate": 2.6255247332346036e-05,
|
| 71 |
+
"loss": 0.1401,
|
| 72 |
+
"num_input_tokens_seen": 214400,
|
| 73 |
+
"step": 80
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.7725321888412017,
|
| 77 |
+
"grad_norm": 2.3987910747528076,
|
| 78 |
+
"learning_rate": 2.531549188280135e-05,
|
| 79 |
+
"loss": 0.1282,
|
| 80 |
+
"num_input_tokens_seen": 240480,
|
| 81 |
+
"step": 90
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"epoch": 0.8583690987124464,
|
| 85 |
+
"grad_norm": 3.301926612854004,
|
| 86 |
+
"learning_rate": 2.4291725418235848e-05,
|
| 87 |
+
"loss": 0.0936,
|
| 88 |
+
"num_input_tokens_seen": 267360,
|
| 89 |
+
"step": 100
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"epoch": 0.944206008583691,
|
| 93 |
+
"grad_norm": 7.198034286499023,
|
| 94 |
+
"learning_rate": 2.3192285656405456e-05,
|
| 95 |
+
"loss": 0.1569,
|
| 96 |
+
"num_input_tokens_seen": 294720,
|
| 97 |
+
"step": 110
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"epoch": 1.0257510729613735,
|
| 101 |
+
"grad_norm": 4.04252290725708,
|
| 102 |
+
"learning_rate": 2.2026126610496852e-05,
|
| 103 |
+
"loss": 0.0904,
|
| 104 |
+
"num_input_tokens_seen": 319184,
|
| 105 |
+
"step": 120
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"epoch": 1.111587982832618,
|
| 109 |
+
"grad_norm": 5.508508682250977,
|
| 110 |
+
"learning_rate": 2.0802745666212592e-05,
|
| 111 |
+
"loss": 0.073,
|
| 112 |
+
"num_input_tokens_seen": 345680,
|
| 113 |
+
"step": 130
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"epoch": 1.1974248927038627,
|
| 117 |
+
"grad_norm": 1.6325355768203735,
|
| 118 |
+
"learning_rate": 1.953210623354359e-05,
|
| 119 |
+
"loss": 0.058,
|
| 120 |
+
"num_input_tokens_seen": 371824,
|
| 121 |
+
"step": 140
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"epoch": 1.2832618025751072,
|
| 125 |
+
"grad_norm": 1.3446625471115112,
|
| 126 |
+
"learning_rate": 1.8224556603165363e-05,
|
| 127 |
+
"loss": 0.0818,
|
| 128 |
+
"num_input_tokens_seen": 398480,
|
| 129 |
+
"step": 150
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 1.3690987124463518,
|
| 133 |
+
"grad_norm": 2.4645965099334717,
|
| 134 |
+
"learning_rate": 1.689074566830434e-05,
|
| 135 |
+
"loss": 0.0715,
|
| 136 |
+
"num_input_tokens_seen": 424656,
|
| 137 |
+
"step": 160
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"epoch": 1.4549356223175964,
|
| 141 |
+
"grad_norm": 2.872417688369751,
|
| 142 |
+
"learning_rate": 1.5541536198449044e-05,
|
| 143 |
+
"loss": 0.0691,
|
| 144 |
+
"num_input_tokens_seen": 451088,
|
| 145 |
+
"step": 170
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"epoch": 1.5407725321888412,
|
| 149 |
+
"grad_norm": 2.7769811153411865,
|
| 150 |
+
"learning_rate": 1.4187916371218739e-05,
|
| 151 |
+
"loss": 0.0713,
|
| 152 |
+
"num_input_tokens_seen": 478320,
|
| 153 |
+
"step": 180
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"epoch": 1.6266094420600858,
|
| 157 |
+
"grad_norm": 3.642953634262085,
|
| 158 |
+
"learning_rate": 1.2840910282888211e-05,
|
| 159 |
+
"loss": 0.0985,
|
| 160 |
+
"num_input_tokens_seen": 505328,
|
| 161 |
+
"step": 190
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"epoch": 1.7124463519313304,
|
| 165 |
+
"grad_norm": 4.070372104644775,
|
| 166 |
+
"learning_rate": 1.1511488166385349e-05,
|
| 167 |
+
"loss": 0.0728,
|
| 168 |
+
"num_input_tokens_seen": 531920,
|
| 169 |
+
"step": 200
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"epoch": 1.7982832618025753,
|
| 173 |
+
"grad_norm": 6.3663740158081055,
|
| 174 |
+
"learning_rate": 1.0210477047960303e-05,
|
| 175 |
+
"loss": 0.1002,
|
| 176 |
+
"num_input_tokens_seen": 560496,
|
| 177 |
+
"step": 210
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"epoch": 1.8841201716738198,
|
| 181 |
+
"grad_norm": 2.0767858028411865,
|
| 182 |
+
"learning_rate": 8.948472570152874e-06,
|
| 183 |
+
"loss": 0.0976,
|
| 184 |
+
"num_input_tokens_seen": 586384,
|
| 185 |
+
"step": 220
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 1.9699570815450644,
|
| 189 |
+
"grad_norm": 4.728202819824219,
|
| 190 |
+
"learning_rate": 7.735752699185711e-06,
|
| 191 |
+
"loss": 0.0801,
|
| 192 |
+
"num_input_tokens_seen": 612496,
|
| 193 |
+
"step": 230
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"epoch": 2.051502145922747,
|
| 197 |
+
"grad_norm": 0.5934279561042786,
|
| 198 |
+
"learning_rate": 6.582194019564266e-06,
|
| 199 |
+
"loss": 0.0533,
|
| 200 |
+
"num_input_tokens_seen": 637448,
|
| 201 |
+
"step": 240
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"epoch": 2.1373390557939915,
|
| 205 |
+
"grad_norm": 2.772380828857422,
|
| 206 |
+
"learning_rate": 5.497191297593647e-06,
|
| 207 |
+
"loss": 0.059,
|
| 208 |
+
"num_input_tokens_seen": 663528,
|
| 209 |
+
"step": 250
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"epoch": 2.223175965665236,
|
| 213 |
+
"grad_norm": 1.757418155670166,
|
| 214 |
+
"learning_rate": 4.4895809688998655e-06,
|
| 215 |
+
"loss": 0.0505,
|
| 216 |
+
"num_input_tokens_seen": 689384,
|
| 217 |
+
"step": 260
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"epoch": 2.3090128755364807,
|
| 221 |
+
"grad_norm": 2.6222424507141113,
|
| 222 |
+
"learning_rate": 3.567569173085455e-06,
|
| 223 |
+
"loss": 0.0404,
|
| 224 |
+
"num_input_tokens_seen": 715560,
|
| 225 |
+
"step": 270
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"epoch": 2.3948497854077253,
|
| 229 |
+
"grad_norm": 2.2118000984191895,
|
| 230 |
+
"learning_rate": 2.7386649216166233e-06,
|
| 231 |
+
"loss": 0.059,
|
| 232 |
+
"num_input_tokens_seen": 741960,
|
| 233 |
+
"step": 280
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"epoch": 2.48068669527897,
|
| 237 |
+
"grad_norm": 4.022334098815918,
|
| 238 |
+
"learning_rate": 2.0096189432334194e-06,
|
| 239 |
+
"loss": 0.0429,
|
| 240 |
+
"num_input_tokens_seen": 768808,
|
| 241 |
+
"step": 290
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 2.5665236051502145,
|
| 245 |
+
"grad_norm": 0.4254824221134186,
|
| 246 |
+
"learning_rate": 1.3863687049356465e-06,
|
| 247 |
+
"loss": 0.0341,
|
| 248 |
+
"num_input_tokens_seen": 795176,
|
| 249 |
+
"step": 300
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"epoch": 2.652360515021459,
|
| 253 |
+
"grad_norm": 2.2265915870666504,
|
| 254 |
+
"learning_rate": 8.7399005630238e-07,
|
| 255 |
+
"loss": 0.0349,
|
| 256 |
+
"num_input_tokens_seen": 821864,
|
| 257 |
+
"step": 310
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"epoch": 2.7381974248927037,
|
| 261 |
+
"grad_norm": 1.5945826768875122,
|
| 262 |
+
"learning_rate": 4.766558909615504e-07,
|
| 263 |
+
"loss": 0.0375,
|
| 264 |
+
"num_input_tokens_seen": 849800,
|
| 265 |
+
"step": 320
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"epoch": 2.8240343347639483,
|
| 269 |
+
"grad_norm": 3.1935954093933105,
|
| 270 |
+
"learning_rate": 1.9760216187710788e-07,
|
| 271 |
+
"loss": 0.0184,
|
| 272 |
+
"num_input_tokens_seen": 876616,
|
| 273 |
+
"step": 330
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"epoch": 2.909871244635193,
|
| 277 |
+
"grad_norm": 2.1143760681152344,
|
| 278 |
+
"learning_rate": 3.910152723075322e-08,
|
| 279 |
+
"loss": 0.0583,
|
| 280 |
+
"num_input_tokens_seen": 903048,
|
| 281 |
+
"step": 340
|
| 282 |
+
}
|
| 283 |
+
],
|
| 284 |
+
"logging_steps": 10,
|
| 285 |
+
"max_steps": 348,
|
| 286 |
+
"num_input_tokens_seen": 924488,
|
| 287 |
+
"num_train_epochs": 3,
|
| 288 |
+
"save_steps": 1000,
|
| 289 |
+
"stateful_callbacks": {
|
| 290 |
+
"TrainerControl": {
|
| 291 |
+
"args": {
|
| 292 |
+
"should_epoch_stop": false,
|
| 293 |
+
"should_evaluate": false,
|
| 294 |
+
"should_log": false,
|
| 295 |
+
"should_save": true,
|
| 296 |
+
"should_training_stop": true
|
| 297 |
+
},
|
| 298 |
+
"attributes": {}
|
| 299 |
+
}
|
| 300 |
+
},
|
| 301 |
+
"total_flos": 3.957609622319923e+16,
|
| 302 |
+
"train_batch_size": 4,
|
| 303 |
+
"trial_name": null,
|
| 304 |
+
"trial_params": null
|
| 305 |
+
}
|
checkpoint-348/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b3cb86ceab1094d776b1ec437de8d7cd5b248aebd6997bd76c45f08cd0a4571
|
| 3 |
+
size 5688
|
llamaboard_config.yaml
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.apollo_rank: 16
|
| 11 |
+
train.apollo_scale: 32
|
| 12 |
+
train.apollo_target: all
|
| 13 |
+
train.apollo_update_interval: 200
|
| 14 |
+
train.badam_mode: layer
|
| 15 |
+
train.badam_switch_interval: 50
|
| 16 |
+
train.badam_switch_mode: ascending
|
| 17 |
+
train.badam_update_ratio: 0.05
|
| 18 |
+
train.batch_size: 4
|
| 19 |
+
train.compute_type: bf16
|
| 20 |
+
train.create_new_adapter: false
|
| 21 |
+
train.cutoff_len: 2048
|
| 22 |
+
train.dataset:
|
| 23 |
+
- en_train_part_1
|
| 24 |
+
train.dataset_dir: data
|
| 25 |
+
train.ds_offload: false
|
| 26 |
+
train.ds_stage: none
|
| 27 |
+
train.extra_args: '{"optim": "adamw_torch"}'
|
| 28 |
+
train.freeze_extra_modules: ''
|
| 29 |
+
train.freeze_trainable_layers: 2
|
| 30 |
+
train.freeze_trainable_modules: all
|
| 31 |
+
train.galore_rank: 16
|
| 32 |
+
train.galore_scale: 2
|
| 33 |
+
train.galore_target: all
|
| 34 |
+
train.galore_update_interval: 200
|
| 35 |
+
train.gradient_accumulation_steps: 2
|
| 36 |
+
train.learning_rate: 3e-5
|
| 37 |
+
train.logging_steps: 10
|
| 38 |
+
train.lora_alpha: 16
|
| 39 |
+
train.lora_dropout: 0
|
| 40 |
+
train.lora_rank: 8
|
| 41 |
+
train.lora_target: ''
|
| 42 |
+
train.loraplus_lr_ratio: 0
|
| 43 |
+
train.lr_scheduler_type: cosine
|
| 44 |
+
train.mask_history: false
|
| 45 |
+
train.max_grad_norm: '1.0'
|
| 46 |
+
train.max_samples: '929'
|
| 47 |
+
train.neat_packing: false
|
| 48 |
+
train.neftune_alpha: 0
|
| 49 |
+
train.num_train_epochs: '3.0'
|
| 50 |
+
train.packing: false
|
| 51 |
+
train.ppo_score_norm: false
|
| 52 |
+
train.ppo_whiten_rewards: false
|
| 53 |
+
train.pref_beta: 0.1
|
| 54 |
+
train.pref_ftx: 0
|
| 55 |
+
train.pref_loss: sigmoid
|
| 56 |
+
train.report_to:
|
| 57 |
+
- none
|
| 58 |
+
train.resize_vocab: false
|
| 59 |
+
train.reward_model: []
|
| 60 |
+
train.save_steps: 1000
|
| 61 |
+
train.swanlab_api_key: ''
|
| 62 |
+
train.swanlab_link: ''
|
| 63 |
+
train.swanlab_mode: cloud
|
| 64 |
+
train.swanlab_project: llamafactory
|
| 65 |
+
train.swanlab_run_name: ''
|
| 66 |
+
train.swanlab_workspace: ''
|
| 67 |
+
train.train_on_prompt: false
|
| 68 |
+
train.training_stage: Supervised Fine-Tuning
|
| 69 |
+
train.use_apollo: false
|
| 70 |
+
train.use_badam: false
|
| 71 |
+
train.use_dora: false
|
| 72 |
+
train.use_galore: false
|
| 73 |
+
train.use_llama_pro: false
|
| 74 |
+
train.use_pissa: false
|
| 75 |
+
train.use_rslora: false
|
| 76 |
+
train.use_swanlab: false
|
| 77 |
+
train.val_size: 0
|
| 78 |
+
train.warmup_steps: 0
|
running_log.txt
ADDED
|
@@ -0,0 +1,503 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[INFO|2025-04-07 18:40:30] configuration_utils.py:699 >> loading configuration file config.json from cache at /home/zeus/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/config.json
|
| 2 |
+
|
| 3 |
+
[INFO|2025-04-07 18:40:30] configuration_utils.py:771 >> Model config MistralConfig {
|
| 4 |
+
"_name_or_path": "mistralai/Mistral-7B-Instruct-v0.3",
|
| 5 |
+
"architectures": [
|
| 6 |
+
"MistralForCausalLM"
|
| 7 |
+
],
|
| 8 |
+
"attention_dropout": 0.0,
|
| 9 |
+
"bos_token_id": 1,
|
| 10 |
+
"eos_token_id": 2,
|
| 11 |
+
"head_dim": 128,
|
| 12 |
+
"hidden_act": "silu",
|
| 13 |
+
"hidden_size": 4096,
|
| 14 |
+
"initializer_range": 0.02,
|
| 15 |
+
"intermediate_size": 14336,
|
| 16 |
+
"max_position_embeddings": 32768,
|
| 17 |
+
"model_type": "mistral",
|
| 18 |
+
"num_attention_heads": 32,
|
| 19 |
+
"num_hidden_layers": 32,
|
| 20 |
+
"num_key_value_heads": 8,
|
| 21 |
+
"rms_norm_eps": 1e-05,
|
| 22 |
+
"rope_theta": 1000000.0,
|
| 23 |
+
"sliding_window": null,
|
| 24 |
+
"tie_word_embeddings": false,
|
| 25 |
+
"torch_dtype": "bfloat16",
|
| 26 |
+
"transformers_version": "4.49.0",
|
| 27 |
+
"use_cache": true,
|
| 28 |
+
"vocab_size": 32768
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
[INFO|2025-04-07 18:40:31] tokenization_utils_base.py:2050 >> loading file tokenizer.model from cache at /home/zeus/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/tokenizer.model
|
| 33 |
+
|
| 34 |
+
[INFO|2025-04-07 18:40:31] tokenization_utils_base.py:2050 >> loading file tokenizer.json from cache at /home/zeus/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/tokenizer.json
|
| 35 |
+
|
| 36 |
+
[INFO|2025-04-07 18:40:31] tokenization_utils_base.py:2050 >> loading file added_tokens.json from cache at None
|
| 37 |
+
|
| 38 |
+
[INFO|2025-04-07 18:40:31] tokenization_utils_base.py:2050 >> loading file special_tokens_map.json from cache at /home/zeus/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/special_tokens_map.json
|
| 39 |
+
|
| 40 |
+
[INFO|2025-04-07 18:40:31] tokenization_utils_base.py:2050 >> loading file tokenizer_config.json from cache at /home/zeus/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/tokenizer_config.json
|
| 41 |
+
|
| 42 |
+
[INFO|2025-04-07 18:40:31] tokenization_utils_base.py:2050 >> loading file chat_template.jinja from cache at None
|
| 43 |
+
|
| 44 |
+
[INFO|2025-04-07 18:40:32] configuration_utils.py:699 >> loading configuration file config.json from cache at /home/zeus/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/config.json
|
| 45 |
+
|
| 46 |
+
[INFO|2025-04-07 18:40:32] configuration_utils.py:771 >> Model config MistralConfig {
|
| 47 |
+
"_name_or_path": "mistralai/Mistral-7B-Instruct-v0.3",
|
| 48 |
+
"architectures": [
|
| 49 |
+
"MistralForCausalLM"
|
| 50 |
+
],
|
| 51 |
+
"attention_dropout": 0.0,
|
| 52 |
+
"bos_token_id": 1,
|
| 53 |
+
"eos_token_id": 2,
|
| 54 |
+
"head_dim": 128,
|
| 55 |
+
"hidden_act": "silu",
|
| 56 |
+
"hidden_size": 4096,
|
| 57 |
+
"initializer_range": 0.02,
|
| 58 |
+
"intermediate_size": 14336,
|
| 59 |
+
"max_position_embeddings": 32768,
|
| 60 |
+
"model_type": "mistral",
|
| 61 |
+
"num_attention_heads": 32,
|
| 62 |
+
"num_hidden_layers": 32,
|
| 63 |
+
"num_key_value_heads": 8,
|
| 64 |
+
"rms_norm_eps": 1e-05,
|
| 65 |
+
"rope_theta": 1000000.0,
|
| 66 |
+
"sliding_window": null,
|
| 67 |
+
"tie_word_embeddings": false,
|
| 68 |
+
"torch_dtype": "bfloat16",
|
| 69 |
+
"transformers_version": "4.49.0",
|
| 70 |
+
"use_cache": true,
|
| 71 |
+
"vocab_size": 32768
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
[INFO|2025-04-07 18:40:32] tokenization_utils_base.py:2050 >> loading file tokenizer.model from cache at /home/zeus/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/tokenizer.model
|
| 76 |
+
|
| 77 |
+
[INFO|2025-04-07 18:40:32] tokenization_utils_base.py:2050 >> loading file tokenizer.json from cache at /home/zeus/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/tokenizer.json
|
| 78 |
+
|
| 79 |
+
[INFO|2025-04-07 18:40:32] tokenization_utils_base.py:2050 >> loading file added_tokens.json from cache at None
|
| 80 |
+
|
| 81 |
+
[INFO|2025-04-07 18:40:32] tokenization_utils_base.py:2050 >> loading file special_tokens_map.json from cache at /home/zeus/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/special_tokens_map.json
|
| 82 |
+
|
| 83 |
+
[INFO|2025-04-07 18:40:32] tokenization_utils_base.py:2050 >> loading file tokenizer_config.json from cache at /home/zeus/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/tokenizer_config.json
|
| 84 |
+
|
| 85 |
+
[INFO|2025-04-07 18:40:32] tokenization_utils_base.py:2050 >> loading file chat_template.jinja from cache at None
|
| 86 |
+
|
| 87 |
+
[INFO|2025-04-07 18:40:32] logging.py:157 >> Add pad token: </s>
|
| 88 |
+
|
| 89 |
+
[INFO|2025-04-07 18:40:32] logging.py:157 >> Loading dataset en_train_part_1.json...
|
| 90 |
+
|
| 91 |
+
[INFO|2025-04-07 18:40:34] configuration_utils.py:699 >> loading configuration file config.json from cache at /home/zeus/.cache/huggingface/hub/models--mistralai--Mistral-7B-Instruct-v0.3/snapshots/e0bc86c23ce5aae1db576c8cca6f06f1f73af2db/config.json
|
| 92 |
+
|
| 93 |
+
[INFO|2025-04-07 18:40:34] configuration_utils.py:771 >> 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.49.0",
|
| 117 |
+
"use_cache": true,
|
| 118 |
+
"vocab_size": 32768
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
|
| 122 |
+
[INFO|2025-04-07 18:40:34] logging.py:157 >> Quantizing model to 4 bit with bitsandbytes.
|
| 123 |
+
|
| 124 |
+
[INFO|2025-04-07 18:40:37] configuration_utils.py:699 >> loading configuration file config.json from cache at /home/zeus/.cache/huggingface/hub/models--unsloth--mistral-7b-instruct-v0.3-bnb-4bit/snapshots/d5f623888f1415cf89b5c208d09cb620694618ee/config.json
|
| 125 |
+
|
| 126 |
+
[INFO|2025-04-07 18:40:37] configuration_utils.py:771 >> 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.49.0",
|
| 166 |
+
"unsloth_version": "2024.9",
|
| 167 |
+
"use_cache": true,
|
| 168 |
+
"vocab_size": 32768
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
|
| 172 |
+
[INFO|2025-04-07 18:40:38] configuration_utils.py:699 >> loading configuration file config.json from cache at /home/zeus/.cache/huggingface/hub/models--unslothai--aws/snapshots/66e4c14a24a0b445779c922eef992a4af0694a88/config.json
|
| 173 |
+
|
| 174 |
+
[INFO|2025-04-07 18:40:38] configuration_utils.py:699 >> loading configuration file config.json from cache at /home/zeus/.cache/huggingface/hub/models--unslothai--repeat/snapshots/7c48478c02f84ed89f149b0815cc0216ee831fb0/config.json
|
| 175 |
+
|
| 176 |
+
[INFO|2025-04-07 18:40:39] configuration_utils.py:699 >> loading configuration file config.json from cache at /home/zeus/.cache/huggingface/hub/models--unslothai--vram-48/snapshots/3aea312d98ea327daeb5dbf7374b1d7cf8c65bc0/config.json
|
| 177 |
+
|
| 178 |
+
[INFO|2025-04-07 18:40:39] configuration_utils.py:699 >> loading configuration file config.json from cache at /home/zeus/.cache/huggingface/hub/models--unslothai--1/snapshots/7ec782b7604cd9ea0781c23a4270f031650f5617/config.json
|
| 179 |
+
|
| 180 |
+
[INFO|2025-04-07 18:40:39] configuration_utils.py:699 >> loading configuration file config.json from cache at /home/zeus/.cache/huggingface/hub/models--unsloth--mistral-7b-instruct-v0.3-bnb-4bit/snapshots/d5f623888f1415cf89b5c208d09cb620694618ee/config.json
|
| 181 |
+
|
| 182 |
+
[INFO|2025-04-07 18:40:39] configuration_utils.py:771 >> 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.49.0",
|
| 222 |
+
"unsloth_version": "2024.9",
|
| 223 |
+
"use_cache": true,
|
| 224 |
+
"vocab_size": 32768
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
|
| 228 |
+
[INFO|2025-04-07 18:40:39] configuration_utils.py:699 >> loading configuration file config.json from cache at /home/zeus/.cache/huggingface/hub/models--unsloth--mistral-7b-instruct-v0.3-bnb-4bit/snapshots/d5f623888f1415cf89b5c208d09cb620694618ee/config.json
|
| 229 |
+
|
| 230 |
+
[INFO|2025-04-07 18:40:39] configuration_utils.py:771 >> 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": "bfloat16",
|
| 269 |
+
"transformers_version": "4.49.0",
|
| 270 |
+
"unsloth_version": "2024.9",
|
| 271 |
+
"use_cache": true,
|
| 272 |
+
"vocab_size": 32768
|
| 273 |
+
}
|
| 274 |
+
|
| 275 |
+
|
| 276 |
+
[INFO|2025-04-07 18:40:51] modeling_utils.py:3982 >> loading weights file model.safetensors from cache at /home/zeus/.cache/huggingface/hub/models--unsloth--mistral-7b-instruct-v0.3-bnb-4bit/snapshots/d5f623888f1415cf89b5c208d09cb620694618ee/model.safetensors
|
| 277 |
+
|
| 278 |
+
[INFO|2025-04-07 18:40:51] modeling_utils.py:1633 >> Instantiating MistralForCausalLM model under default dtype torch.bfloat16.
|
| 279 |
+
|
| 280 |
+
[INFO|2025-04-07 18:40:51] configuration_utils.py:1140 >> Generate config GenerationConfig {
|
| 281 |
+
"bos_token_id": 1,
|
| 282 |
+
"eos_token_id": 2,
|
| 283 |
+
"pad_token_id": 770
|
| 284 |
+
}
|
| 285 |
+
|
| 286 |
+
|
| 287 |
+
[INFO|2025-04-07 18:40:52] modeling_utils.py:4970 >> All model checkpoint weights were used when initializing MistralForCausalLM.
|
| 288 |
+
|
| 289 |
+
|
| 290 |
+
[INFO|2025-04-07 18:40:52] modeling_utils.py:4978 >> 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|2025-04-07 18:40:53] configuration_utils.py:1095 >> loading configuration file generation_config.json from cache at /home/zeus/.cache/huggingface/hub/models--unsloth--mistral-7b-instruct-v0.3-bnb-4bit/snapshots/d5f623888f1415cf89b5c208d09cb620694618ee/generation_config.json
|
| 294 |
+
|
| 295 |
+
[INFO|2025-04-07 18:40:53] configuration_utils.py:1140 >> 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|2025-04-07 18:40:57] logging.py:157 >> Gradient checkpointing enabled.
|
| 304 |
+
|
| 305 |
+
[INFO|2025-04-07 18:40:57] logging.py:157 >> Upcasting trainable params to float32.
|
| 306 |
+
|
| 307 |
+
[INFO|2025-04-07 18:40:57] logging.py:157 >> Fine-tuning method: LoRA
|
| 308 |
+
|
| 309 |
+
[INFO|2025-04-07 18:40:57] logging.py:157 >> Found linear modules: v_proj,down_proj,k_proj,o_proj,up_proj,q_proj,gate_proj
|
| 310 |
+
|
| 311 |
+
[WARNING|2025-04-07 18:40:59] logging.py:329 >> Unsloth 2025.3.19 patched 32 layers with 32 QKV layers, 32 O layers and 32 MLP layers.
|
| 312 |
+
|
| 313 |
+
[INFO|2025-04-07 18:41:00] logging.py:157 >> trainable params: 20,971,520 || all params: 7,268,995,072 || trainable%: 0.2885
|
| 314 |
+
|
| 315 |
+
[INFO|2025-04-07 18:41:00] trainer.py:746 >> Using auto half precision backend
|
| 316 |
+
|
| 317 |
+
[WARNING|2025-04-07 18:41:01] <string>:168 >> ==((====))== Unsloth - 2x faster free finetuning | Num GPUs used = 1
|
| 318 |
+
\\ /| Num examples = 929 | Num Epochs = 3 | Total steps = 348
|
| 319 |
+
O^O/ \_/ \ Batch size per device = 4 | Gradient accumulation steps = 2
|
| 320 |
+
\ / Data Parallel GPUs = 1 | Total batch size (4 x 2 x 1) = 8
|
| 321 |
+
"-____-" Trainable parameters = 20,971,520/7,000,000,000 (0.30% trained)
|
| 322 |
+
|
| 323 |
+
[INFO|2025-04-07 18:41:23] logging.py:157 >> {'loss': 0.8269, 'learning_rate': 2.9939e-05, 'epoch': 0.09, 'throughput': 1205.00}
|
| 324 |
+
|
| 325 |
+
[INFO|2025-04-07 18:41:32] logging.py:157 >> {'loss': 0.1558, 'learning_rate': 2.9756e-05, 'epoch': 0.17, 'throughput': 1741.54}
|
| 326 |
+
|
| 327 |
+
[INFO|2025-04-07 18:41:41] logging.py:157 >> {'loss': 0.1655, 'learning_rate': 2.9453e-05, 'epoch': 0.26, 'throughput': 2021.00}
|
| 328 |
+
|
| 329 |
+
[INFO|2025-04-07 18:41:50] logging.py:157 >> {'loss': 0.1686, 'learning_rate': 2.9033e-05, 'epoch': 0.34, 'throughput': 2196.79}
|
| 330 |
+
|
| 331 |
+
[INFO|2025-04-07 18:41:59] logging.py:157 >> {'loss': 0.1280, 'learning_rate': 2.8498e-05, 'epoch': 0.43, 'throughput': 2312.55}
|
| 332 |
+
|
| 333 |
+
[INFO|2025-04-07 18:42:08] logging.py:157 >> {'loss': 0.1581, 'learning_rate': 2.7853e-05, 'epoch': 0.52, 'throughput': 2412.29}
|
| 334 |
+
|
| 335 |
+
[INFO|2025-04-07 18:42:17] logging.py:157 >> {'loss': 0.1106, 'learning_rate': 2.7103e-05, 'epoch': 0.60, 'throughput': 2474.02}
|
| 336 |
+
|
| 337 |
+
[INFO|2025-04-07 18:42:26] logging.py:157 >> {'loss': 0.1401, 'learning_rate': 2.6255e-05, 'epoch': 0.69, 'throughput': 2522.25}
|
| 338 |
+
|
| 339 |
+
[INFO|2025-04-07 18:42:35] logging.py:157 >> {'loss': 0.1282, 'learning_rate': 2.5315e-05, 'epoch': 0.77, 'throughput': 2559.46}
|
| 340 |
+
|
| 341 |
+
[INFO|2025-04-07 18:42:45] logging.py:157 >> {'loss': 0.0936, 'learning_rate': 2.4292e-05, 'epoch': 0.86, 'throughput': 2591.37}
|
| 342 |
+
|
| 343 |
+
[INFO|2025-04-07 18:42:54] logging.py:157 >> {'loss': 0.1569, 'learning_rate': 2.3192e-05, 'epoch': 0.94, 'throughput': 2617.95}
|
| 344 |
+
|
| 345 |
+
[INFO|2025-04-07 18:43:03] logging.py:157 >> {'loss': 0.0904, 'learning_rate': 2.2026e-05, 'epoch': 1.03, 'throughput': 2622.68}
|
| 346 |
+
|
| 347 |
+
[INFO|2025-04-07 18:43:12] logging.py:157 >> {'loss': 0.0730, 'learning_rate': 2.0803e-05, 'epoch': 1.11, 'throughput': 2640.79}
|
| 348 |
+
|
| 349 |
+
[INFO|2025-04-07 18:43:21] logging.py:157 >> {'loss': 0.0580, 'learning_rate': 1.9532e-05, 'epoch': 1.20, 'throughput': 2656.87}
|
| 350 |
+
|
| 351 |
+
[INFO|2025-04-07 18:43:30] logging.py:157 >> {'loss': 0.0818, 'learning_rate': 1.8225e-05, 'epoch': 1.28, 'throughput': 2673.66}
|
| 352 |
+
|
| 353 |
+
[INFO|2025-04-07 18:43:39] logging.py:157 >> {'loss': 0.0715, 'learning_rate': 1.6891e-05, 'epoch': 1.37, 'throughput': 2687.40}
|
| 354 |
+
|
| 355 |
+
[INFO|2025-04-07 18:43:48] logging.py:157 >> {'loss': 0.0691, 'learning_rate': 1.5542e-05, 'epoch': 1.45, 'throughput': 2700.42}
|
| 356 |
+
|
| 357 |
+
[INFO|2025-04-07 18:43:58] logging.py:157 >> {'loss': 0.0713, 'learning_rate': 1.4188e-05, 'epoch': 1.54, 'throughput': 2713.99}
|
| 358 |
+
|
| 359 |
+
[INFO|2025-04-07 18:44:07] logging.py:157 >> {'loss': 0.0985, 'learning_rate': 1.2841e-05, 'epoch': 1.63, 'throughput': 2726.48}
|
| 360 |
+
|
| 361 |
+
[INFO|2025-04-07 18:44:16] logging.py:157 >> {'loss': 0.0728, 'learning_rate': 1.1511e-05, 'epoch': 1.71, 'throughput': 2736.15}
|
| 362 |
+
|
| 363 |
+
[INFO|2025-04-07 18:44:25] logging.py:157 >> {'loss': 0.1002, 'learning_rate': 1.0210e-05, 'epoch': 1.80, 'throughput': 2748.97}
|
| 364 |
+
|
| 365 |
+
[INFO|2025-04-07 18:44:34] logging.py:157 >> {'loss': 0.0976, 'learning_rate': 8.9485e-06, 'epoch': 1.88, 'throughput': 2756.85}
|
| 366 |
+
|
| 367 |
+
[INFO|2025-04-07 18:44:43] logging.py:157 >> {'loss': 0.0801, 'learning_rate': 7.7358e-06, 'epoch': 1.97, 'throughput': 2764.62}
|
| 368 |
+
|
| 369 |
+
[INFO|2025-04-07 18:44:52] logging.py:157 >> {'loss': 0.0533, 'learning_rate': 6.5822e-06, 'epoch': 2.05, 'throughput': 2769.81}
|
| 370 |
+
|
| 371 |
+
[INFO|2025-04-07 18:45:00] logging.py:157 >> {'loss': 0.0590, 'learning_rate': 5.4972e-06, 'epoch': 2.14, 'throughput': 2775.77}
|
| 372 |
+
|
| 373 |
+
[INFO|2025-04-07 18:45:09] logging.py:157 >> {'loss': 0.0505, 'learning_rate': 4.4896e-06, 'epoch': 2.22, 'throughput': 2781.09}
|
| 374 |
+
|
| 375 |
+
[INFO|2025-04-07 18:45:18] logging.py:157 >> {'loss': 0.0404, 'learning_rate': 3.5676e-06, 'epoch': 2.31, 'throughput': 2786.55}
|
| 376 |
+
|
| 377 |
+
[INFO|2025-04-07 18:45:27] logging.py:157 >> {'loss': 0.0590, 'learning_rate': 2.7387e-06, 'epoch': 2.39, 'throughput': 2792.12}
|
| 378 |
+
|
| 379 |
+
[INFO|2025-04-07 18:45:36] logging.py:157 >> {'loss': 0.0429, 'learning_rate': 2.0096e-06, 'epoch': 2.48, 'throughput': 2797.48}
|
| 380 |
+
|
| 381 |
+
[INFO|2025-04-07 18:45:45] logging.py:157 >> {'loss': 0.0341, 'learning_rate': 1.3864e-06, 'epoch': 2.57, 'throughput': 2802.16}
|
| 382 |
+
|
| 383 |
+
[INFO|2025-04-07 18:45:54] logging.py:157 >> {'loss': 0.0349, 'learning_rate': 8.7399e-07, 'epoch': 2.65, 'throughput': 2806.55}
|
| 384 |
+
|
| 385 |
+
[INFO|2025-04-07 18:46:04] logging.py:157 >> {'loss': 0.0375, 'learning_rate': 4.7666e-07, 'epoch': 2.74, 'throughput': 2812.12}
|
| 386 |
+
|
| 387 |
+
[INFO|2025-04-07 18:46:13] logging.py:157 >> {'loss': 0.0184, 'learning_rate': 1.9760e-07, 'epoch': 2.82, 'throughput': 2816.04}
|
| 388 |
+
|
| 389 |
+
[INFO|2025-04-07 18:46:22] logging.py:157 >> {'loss': 0.0583, 'learning_rate': 3.9102e-08, 'epoch': 2.91, 'throughput': 2819.51}
|
| 390 |
+
|
| 391 |
+
[INFO|2025-04-07 18:46:29] trainer.py:3942 >> Saving model checkpoint to saves/Mistral-7B-Instruct-v0.3/lora/part_2/checkpoint-348
|
| 392 |
+
|
| 393 |
+
[INFO|2025-04-07 18:46:30] configuration_utils.py:699 >> loading configuration file config.json from cache at /home/zeus/.cache/huggingface/hub/models--unsloth--mistral-7b-instruct-v0.3-bnb-4bit/snapshots/d5f623888f1415cf89b5c208d09cb620694618ee/config.json
|
| 394 |
+
|
| 395 |
+
[INFO|2025-04-07 18:46:30] configuration_utils.py:771 >> 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.49.0",
|
| 435 |
+
"unsloth_version": "2024.9",
|
| 436 |
+
"use_cache": true,
|
| 437 |
+
"vocab_size": 32768
|
| 438 |
+
}
|
| 439 |
+
|
| 440 |
+
|
| 441 |
+
[INFO|2025-04-07 18:46:31] <string>:415 >>
|
| 442 |
+
|
| 443 |
+
Training completed. Do not forget to share your model on huggingface.co/models =)
|
| 444 |
+
|
| 445 |
+
|
| 446 |
+
|
| 447 |
+
[INFO|2025-04-07 18:46:31] trainer.py:3942 >> Saving model checkpoint to saves/Mistral-7B-Instruct-v0.3/lora/part_2
|
| 448 |
+
|
| 449 |
+
[INFO|2025-04-07 18:46:31] configuration_utils.py:699 >> loading configuration file config.json from cache at /home/zeus/.cache/huggingface/hub/models--unsloth--mistral-7b-instruct-v0.3-bnb-4bit/snapshots/d5f623888f1415cf89b5c208d09cb620694618ee/config.json
|
| 450 |
+
|
| 451 |
+
[INFO|2025-04-07 18:46:31] configuration_utils.py:771 >> 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.49.0",
|
| 491 |
+
"unsloth_version": "2024.9",
|
| 492 |
+
"use_cache": true,
|
| 493 |
+
"vocab_size": 32768
|
| 494 |
+
}
|
| 495 |
+
|
| 496 |
+
|
| 497 |
+
[WARNING|2025-04-07 18:46:31] logging.py:162 >> No metric eval_loss to plot.
|
| 498 |
+
|
| 499 |
+
[WARNING|2025-04-07 18:46:31] logging.py:162 >> No metric eval_accuracy to plot.
|
| 500 |
+
|
| 501 |
+
[INFO|2025-04-07 18:46:31] 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,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 2.978540772532189,
|
| 3 |
+
"num_input_tokens_seen": 924488,
|
| 4 |
+
"total_flos": 3.957609622319923e+16,
|
| 5 |
+
"train_loss": 0.10672961984728944,
|
| 6 |
+
"train_runtime": 329.4461,
|
| 7 |
+
"train_samples_per_second": 8.46,
|
| 8 |
+
"train_steps_per_second": 1.056
|
| 9 |
+
}
|
trainer_log.jsonl
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"current_steps": 10, "total_steps": 348, "loss": 0.8269, "lr": 2.9938918800982563e-05, "epoch": 0.08583690987124463, "percentage": 2.87, "elapsed_time": "0:00:21", "remaining_time": "0:12:06", "throughput": 1205.0, "total_tokens": 25888}
|
| 2 |
+
{"current_steps": 20, "total_steps": 348, "loss": 0.1558, "lr": 2.975617265898004e-05, "epoch": 0.17167381974248927, "percentage": 5.75, "elapsed_time": "0:00:30", "remaining_time": "0:08:21", "throughput": 1741.54, "total_tokens": 53280}
|
| 3 |
+
{"current_steps": 30, "total_steps": 348, "loss": 0.1655, "lr": 2.9453249887788343e-05, "epoch": 0.2575107296137339, "percentage": 8.62, "elapsed_time": "0:00:39", "remaining_time": "0:06:59", "throughput": 2021.0, "total_tokens": 79904}
|
| 4 |
+
{"current_steps": 40, "total_steps": 348, "loss": 0.1686, "lr": 2.9032617538884018e-05, "epoch": 0.34334763948497854, "percentage": 11.49, "elapsed_time": "0:00:48", "remaining_time": "0:06:13", "throughput": 2196.79, "total_tokens": 106464}
|
| 5 |
+
{"current_steps": 50, "total_steps": 348, "loss": 0.128, "lr": 2.84977013093626e-05, "epoch": 0.4291845493562232, "percentage": 14.37, "elapsed_time": "0:00:57", "remaining_time": "0:05:41", "throughput": 2312.55, "total_tokens": 132672}
|
| 6 |
+
{"current_steps": 60, "total_steps": 348, "loss": 0.1581, "lr": 2.7852857642513838e-05, "epoch": 0.5150214592274678, "percentage": 17.24, "elapsed_time": "0:01:06", "remaining_time": "0:05:20", "throughput": 2412.29, "total_tokens": 161312}
|
| 7 |
+
{"current_steps": 70, "total_steps": 348, "loss": 0.1106, "lr": 2.7103338248251055e-05, "epoch": 0.6008583690987125, "percentage": 20.11, "elapsed_time": "0:01:15", "remaining_time": "0:05:01", "throughput": 2474.02, "total_tokens": 187680}
|
| 8 |
+
{"current_steps": 80, "total_steps": 348, "loss": 0.1401, "lr": 2.6255247332346036e-05, "epoch": 0.6866952789699571, "percentage": 22.99, "elapsed_time": "0:01:25", "remaining_time": "0:04:44", "throughput": 2522.25, "total_tokens": 214400}
|
| 9 |
+
{"current_steps": 90, "total_steps": 348, "loss": 0.1282, "lr": 2.531549188280135e-05, "epoch": 0.7725321888412017, "percentage": 25.86, "elapsed_time": "0:01:33", "remaining_time": "0:04:29", "throughput": 2559.46, "total_tokens": 240480}
|
| 10 |
+
{"current_steps": 100, "total_steps": 348, "loss": 0.0936, "lr": 2.4291725418235848e-05, "epoch": 0.8583690987124464, "percentage": 28.74, "elapsed_time": "0:01:43", "remaining_time": "0:04:15", "throughput": 2591.37, "total_tokens": 267360}
|
| 11 |
+
{"current_steps": 110, "total_steps": 348, "loss": 0.1569, "lr": 2.3192285656405456e-05, "epoch": 0.944206008583691, "percentage": 31.61, "elapsed_time": "0:01:52", "remaining_time": "0:04:03", "throughput": 2617.95, "total_tokens": 294720}
|
| 12 |
+
{"current_steps": 120, "total_steps": 348, "loss": 0.0904, "lr": 2.2026126610496852e-05, "epoch": 1.0257510729613735, "percentage": 34.48, "elapsed_time": "0:02:01", "remaining_time": "0:03:51", "throughput": 2622.68, "total_tokens": 319184}
|
| 13 |
+
{"current_steps": 130, "total_steps": 348, "loss": 0.073, "lr": 2.0802745666212592e-05, "epoch": 1.111587982832618, "percentage": 37.36, "elapsed_time": "0:02:10", "remaining_time": "0:03:39", "throughput": 2640.79, "total_tokens": 345680}
|
| 14 |
+
{"current_steps": 140, "total_steps": 348, "loss": 0.058, "lr": 1.953210623354359e-05, "epoch": 1.1974248927038627, "percentage": 40.23, "elapsed_time": "0:02:19", "remaining_time": "0:03:27", "throughput": 2656.87, "total_tokens": 371824}
|
| 15 |
+
{"current_steps": 150, "total_steps": 348, "loss": 0.0818, "lr": 1.8224556603165363e-05, "epoch": 1.2832618025751072, "percentage": 43.1, "elapsed_time": "0:02:29", "remaining_time": "0:03:16", "throughput": 2673.66, "total_tokens": 398480}
|
| 16 |
+
{"current_steps": 160, "total_steps": 348, "loss": 0.0715, "lr": 1.689074566830434e-05, "epoch": 1.3690987124463518, "percentage": 45.98, "elapsed_time": "0:02:38", "remaining_time": "0:03:05", "throughput": 2687.4, "total_tokens": 424656}
|
| 17 |
+
{"current_steps": 170, "total_steps": 348, "loss": 0.0691, "lr": 1.5541536198449044e-05, "epoch": 1.4549356223175964, "percentage": 48.85, "elapsed_time": "0:02:47", "remaining_time": "0:02:54", "throughput": 2700.42, "total_tokens": 451088}
|
| 18 |
+
{"current_steps": 180, "total_steps": 348, "loss": 0.0713, "lr": 1.4187916371218739e-05, "epoch": 1.5407725321888412, "percentage": 51.72, "elapsed_time": "0:02:56", "remaining_time": "0:02:44", "throughput": 2713.99, "total_tokens": 478320}
|
| 19 |
+
{"current_steps": 190, "total_steps": 348, "loss": 0.0985, "lr": 1.2840910282888211e-05, "epoch": 1.6266094420600858, "percentage": 54.6, "elapsed_time": "0:03:05", "remaining_time": "0:02:34", "throughput": 2726.48, "total_tokens": 505328}
|
| 20 |
+
{"current_steps": 200, "total_steps": 348, "loss": 0.0728, "lr": 1.1511488166385349e-05, "epoch": 1.7124463519313304, "percentage": 57.47, "elapsed_time": "0:03:14", "remaining_time": "0:02:23", "throughput": 2736.15, "total_tokens": 531920}
|
| 21 |
+
{"current_steps": 210, "total_steps": 348, "loss": 0.1002, "lr": 1.0210477047960303e-05, "epoch": 1.7982832618025753, "percentage": 60.34, "elapsed_time": "0:03:23", "remaining_time": "0:02:13", "throughput": 2748.97, "total_tokens": 560496}
|
| 22 |
+
{"current_steps": 220, "total_steps": 348, "loss": 0.0976, "lr": 8.948472570152874e-06, "epoch": 1.8841201716738198, "percentage": 63.22, "elapsed_time": "0:03:32", "remaining_time": "0:02:03", "throughput": 2756.85, "total_tokens": 586384}
|
| 23 |
+
{"current_steps": 230, "total_steps": 348, "loss": 0.0801, "lr": 7.735752699185711e-06, "epoch": 1.9699570815450644, "percentage": 66.09, "elapsed_time": "0:03:41", "remaining_time": "0:01:53", "throughput": 2764.62, "total_tokens": 612496}
|
| 24 |
+
{"current_steps": 240, "total_steps": 348, "loss": 0.0533, "lr": 6.582194019564266e-06, "epoch": 2.051502145922747, "percentage": 68.97, "elapsed_time": "0:03:50", "remaining_time": "0:01:43", "throughput": 2769.81, "total_tokens": 637448}
|
| 25 |
+
{"current_steps": 250, "total_steps": 348, "loss": 0.059, "lr": 5.497191297593647e-06, "epoch": 2.1373390557939915, "percentage": 71.84, "elapsed_time": "0:03:59", "remaining_time": "0:01:33", "throughput": 2775.77, "total_tokens": 663528}
|
| 26 |
+
{"current_steps": 260, "total_steps": 348, "loss": 0.0505, "lr": 4.4895809688998655e-06, "epoch": 2.223175965665236, "percentage": 74.71, "elapsed_time": "0:04:07", "remaining_time": "0:01:23", "throughput": 2781.09, "total_tokens": 689384}
|
| 27 |
+
{"current_steps": 270, "total_steps": 348, "loss": 0.0404, "lr": 3.567569173085455e-06, "epoch": 2.3090128755364807, "percentage": 77.59, "elapsed_time": "0:04:16", "remaining_time": "0:01:14", "throughput": 2786.55, "total_tokens": 715560}
|
| 28 |
+
{"current_steps": 280, "total_steps": 348, "loss": 0.059, "lr": 2.7386649216166233e-06, "epoch": 2.3948497854077253, "percentage": 80.46, "elapsed_time": "0:04:25", "remaining_time": "0:01:04", "throughput": 2792.12, "total_tokens": 741960}
|
| 29 |
+
{"current_steps": 290, "total_steps": 348, "loss": 0.0429, "lr": 2.0096189432334194e-06, "epoch": 2.48068669527897, "percentage": 83.33, "elapsed_time": "0:04:34", "remaining_time": "0:00:54", "throughput": 2797.48, "total_tokens": 768808}
|
| 30 |
+
{"current_steps": 300, "total_steps": 348, "loss": 0.0341, "lr": 1.3863687049356465e-06, "epoch": 2.5665236051502145, "percentage": 86.21, "elapsed_time": "0:04:43", "remaining_time": "0:00:45", "throughput": 2802.16, "total_tokens": 795176}
|
| 31 |
+
{"current_steps": 310, "total_steps": 348, "loss": 0.0349, "lr": 8.7399005630238e-07, "epoch": 2.652360515021459, "percentage": 89.08, "elapsed_time": "0:04:52", "remaining_time": "0:00:35", "throughput": 2806.55, "total_tokens": 821864}
|
| 32 |
+
{"current_steps": 320, "total_steps": 348, "loss": 0.0375, "lr": 4.766558909615504e-07, "epoch": 2.7381974248927037, "percentage": 91.95, "elapsed_time": "0:05:02", "remaining_time": "0:00:26", "throughput": 2812.12, "total_tokens": 849800}
|
| 33 |
+
{"current_steps": 330, "total_steps": 348, "loss": 0.0184, "lr": 1.9760216187710788e-07, "epoch": 2.8240343347639483, "percentage": 94.83, "elapsed_time": "0:05:11", "remaining_time": "0:00:16", "throughput": 2816.04, "total_tokens": 876616}
|
| 34 |
+
{"current_steps": 340, "total_steps": 348, "loss": 0.0583, "lr": 3.910152723075322e-08, "epoch": 2.909871244635193, "percentage": 97.7, "elapsed_time": "0:05:20", "remaining_time": "0:00:07", "throughput": 2819.51, "total_tokens": 903048}
|
| 35 |
+
{"current_steps": 348, "total_steps": 348, "epoch": 2.978540772532189, "percentage": 100.0, "elapsed_time": "0:05:29", "remaining_time": "0:00:00", "throughput": 2806.23, "total_tokens": 924488}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,315 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": null,
|
| 3 |
+
"best_model_checkpoint": null,
|
| 4 |
+
"epoch": 2.978540772532189,
|
| 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.08583690987124463,
|
| 13 |
+
"grad_norm": 5.144778728485107,
|
| 14 |
+
"learning_rate": 2.9938918800982563e-05,
|
| 15 |
+
"loss": 0.8269,
|
| 16 |
+
"num_input_tokens_seen": 25888,
|
| 17 |
+
"step": 10
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.17167381974248927,
|
| 21 |
+
"grad_norm": 4.5363545417785645,
|
| 22 |
+
"learning_rate": 2.975617265898004e-05,
|
| 23 |
+
"loss": 0.1558,
|
| 24 |
+
"num_input_tokens_seen": 53280,
|
| 25 |
+
"step": 20
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"epoch": 0.2575107296137339,
|
| 29 |
+
"grad_norm": 3.198505401611328,
|
| 30 |
+
"learning_rate": 2.9453249887788343e-05,
|
| 31 |
+
"loss": 0.1655,
|
| 32 |
+
"num_input_tokens_seen": 79904,
|
| 33 |
+
"step": 30
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"epoch": 0.34334763948497854,
|
| 37 |
+
"grad_norm": 3.3528692722320557,
|
| 38 |
+
"learning_rate": 2.9032617538884018e-05,
|
| 39 |
+
"loss": 0.1686,
|
| 40 |
+
"num_input_tokens_seen": 106464,
|
| 41 |
+
"step": 40
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"epoch": 0.4291845493562232,
|
| 45 |
+
"grad_norm": 3.4683921337127686,
|
| 46 |
+
"learning_rate": 2.84977013093626e-05,
|
| 47 |
+
"loss": 0.128,
|
| 48 |
+
"num_input_tokens_seen": 132672,
|
| 49 |
+
"step": 50
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"epoch": 0.5150214592274678,
|
| 53 |
+
"grad_norm": 6.693175792694092,
|
| 54 |
+
"learning_rate": 2.7852857642513838e-05,
|
| 55 |
+
"loss": 0.1581,
|
| 56 |
+
"num_input_tokens_seen": 161312,
|
| 57 |
+
"step": 60
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"epoch": 0.6008583690987125,
|
| 61 |
+
"grad_norm": 1.5621659755706787,
|
| 62 |
+
"learning_rate": 2.7103338248251055e-05,
|
| 63 |
+
"loss": 0.1106,
|
| 64 |
+
"num_input_tokens_seen": 187680,
|
| 65 |
+
"step": 70
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"epoch": 0.6866952789699571,
|
| 69 |
+
"grad_norm": 1.8518391847610474,
|
| 70 |
+
"learning_rate": 2.6255247332346036e-05,
|
| 71 |
+
"loss": 0.1401,
|
| 72 |
+
"num_input_tokens_seen": 214400,
|
| 73 |
+
"step": 80
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.7725321888412017,
|
| 77 |
+
"grad_norm": 2.3987910747528076,
|
| 78 |
+
"learning_rate": 2.531549188280135e-05,
|
| 79 |
+
"loss": 0.1282,
|
| 80 |
+
"num_input_tokens_seen": 240480,
|
| 81 |
+
"step": 90
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"epoch": 0.8583690987124464,
|
| 85 |
+
"grad_norm": 3.301926612854004,
|
| 86 |
+
"learning_rate": 2.4291725418235848e-05,
|
| 87 |
+
"loss": 0.0936,
|
| 88 |
+
"num_input_tokens_seen": 267360,
|
| 89 |
+
"step": 100
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"epoch": 0.944206008583691,
|
| 93 |
+
"grad_norm": 7.198034286499023,
|
| 94 |
+
"learning_rate": 2.3192285656405456e-05,
|
| 95 |
+
"loss": 0.1569,
|
| 96 |
+
"num_input_tokens_seen": 294720,
|
| 97 |
+
"step": 110
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"epoch": 1.0257510729613735,
|
| 101 |
+
"grad_norm": 4.04252290725708,
|
| 102 |
+
"learning_rate": 2.2026126610496852e-05,
|
| 103 |
+
"loss": 0.0904,
|
| 104 |
+
"num_input_tokens_seen": 319184,
|
| 105 |
+
"step": 120
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"epoch": 1.111587982832618,
|
| 109 |
+
"grad_norm": 5.508508682250977,
|
| 110 |
+
"learning_rate": 2.0802745666212592e-05,
|
| 111 |
+
"loss": 0.073,
|
| 112 |
+
"num_input_tokens_seen": 345680,
|
| 113 |
+
"step": 130
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"epoch": 1.1974248927038627,
|
| 117 |
+
"grad_norm": 1.6325355768203735,
|
| 118 |
+
"learning_rate": 1.953210623354359e-05,
|
| 119 |
+
"loss": 0.058,
|
| 120 |
+
"num_input_tokens_seen": 371824,
|
| 121 |
+
"step": 140
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"epoch": 1.2832618025751072,
|
| 125 |
+
"grad_norm": 1.3446625471115112,
|
| 126 |
+
"learning_rate": 1.8224556603165363e-05,
|
| 127 |
+
"loss": 0.0818,
|
| 128 |
+
"num_input_tokens_seen": 398480,
|
| 129 |
+
"step": 150
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 1.3690987124463518,
|
| 133 |
+
"grad_norm": 2.4645965099334717,
|
| 134 |
+
"learning_rate": 1.689074566830434e-05,
|
| 135 |
+
"loss": 0.0715,
|
| 136 |
+
"num_input_tokens_seen": 424656,
|
| 137 |
+
"step": 160
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"epoch": 1.4549356223175964,
|
| 141 |
+
"grad_norm": 2.872417688369751,
|
| 142 |
+
"learning_rate": 1.5541536198449044e-05,
|
| 143 |
+
"loss": 0.0691,
|
| 144 |
+
"num_input_tokens_seen": 451088,
|
| 145 |
+
"step": 170
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"epoch": 1.5407725321888412,
|
| 149 |
+
"grad_norm": 2.7769811153411865,
|
| 150 |
+
"learning_rate": 1.4187916371218739e-05,
|
| 151 |
+
"loss": 0.0713,
|
| 152 |
+
"num_input_tokens_seen": 478320,
|
| 153 |
+
"step": 180
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"epoch": 1.6266094420600858,
|
| 157 |
+
"grad_norm": 3.642953634262085,
|
| 158 |
+
"learning_rate": 1.2840910282888211e-05,
|
| 159 |
+
"loss": 0.0985,
|
| 160 |
+
"num_input_tokens_seen": 505328,
|
| 161 |
+
"step": 190
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"epoch": 1.7124463519313304,
|
| 165 |
+
"grad_norm": 4.070372104644775,
|
| 166 |
+
"learning_rate": 1.1511488166385349e-05,
|
| 167 |
+
"loss": 0.0728,
|
| 168 |
+
"num_input_tokens_seen": 531920,
|
| 169 |
+
"step": 200
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"epoch": 1.7982832618025753,
|
| 173 |
+
"grad_norm": 6.3663740158081055,
|
| 174 |
+
"learning_rate": 1.0210477047960303e-05,
|
| 175 |
+
"loss": 0.1002,
|
| 176 |
+
"num_input_tokens_seen": 560496,
|
| 177 |
+
"step": 210
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"epoch": 1.8841201716738198,
|
| 181 |
+
"grad_norm": 2.0767858028411865,
|
| 182 |
+
"learning_rate": 8.948472570152874e-06,
|
| 183 |
+
"loss": 0.0976,
|
| 184 |
+
"num_input_tokens_seen": 586384,
|
| 185 |
+
"step": 220
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 1.9699570815450644,
|
| 189 |
+
"grad_norm": 4.728202819824219,
|
| 190 |
+
"learning_rate": 7.735752699185711e-06,
|
| 191 |
+
"loss": 0.0801,
|
| 192 |
+
"num_input_tokens_seen": 612496,
|
| 193 |
+
"step": 230
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"epoch": 2.051502145922747,
|
| 197 |
+
"grad_norm": 0.5934279561042786,
|
| 198 |
+
"learning_rate": 6.582194019564266e-06,
|
| 199 |
+
"loss": 0.0533,
|
| 200 |
+
"num_input_tokens_seen": 637448,
|
| 201 |
+
"step": 240
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"epoch": 2.1373390557939915,
|
| 205 |
+
"grad_norm": 2.772380828857422,
|
| 206 |
+
"learning_rate": 5.497191297593647e-06,
|
| 207 |
+
"loss": 0.059,
|
| 208 |
+
"num_input_tokens_seen": 663528,
|
| 209 |
+
"step": 250
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"epoch": 2.223175965665236,
|
| 213 |
+
"grad_norm": 1.757418155670166,
|
| 214 |
+
"learning_rate": 4.4895809688998655e-06,
|
| 215 |
+
"loss": 0.0505,
|
| 216 |
+
"num_input_tokens_seen": 689384,
|
| 217 |
+
"step": 260
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"epoch": 2.3090128755364807,
|
| 221 |
+
"grad_norm": 2.6222424507141113,
|
| 222 |
+
"learning_rate": 3.567569173085455e-06,
|
| 223 |
+
"loss": 0.0404,
|
| 224 |
+
"num_input_tokens_seen": 715560,
|
| 225 |
+
"step": 270
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"epoch": 2.3948497854077253,
|
| 229 |
+
"grad_norm": 2.2118000984191895,
|
| 230 |
+
"learning_rate": 2.7386649216166233e-06,
|
| 231 |
+
"loss": 0.059,
|
| 232 |
+
"num_input_tokens_seen": 741960,
|
| 233 |
+
"step": 280
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"epoch": 2.48068669527897,
|
| 237 |
+
"grad_norm": 4.022334098815918,
|
| 238 |
+
"learning_rate": 2.0096189432334194e-06,
|
| 239 |
+
"loss": 0.0429,
|
| 240 |
+
"num_input_tokens_seen": 768808,
|
| 241 |
+
"step": 290
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 2.5665236051502145,
|
| 245 |
+
"grad_norm": 0.4254824221134186,
|
| 246 |
+
"learning_rate": 1.3863687049356465e-06,
|
| 247 |
+
"loss": 0.0341,
|
| 248 |
+
"num_input_tokens_seen": 795176,
|
| 249 |
+
"step": 300
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"epoch": 2.652360515021459,
|
| 253 |
+
"grad_norm": 2.2265915870666504,
|
| 254 |
+
"learning_rate": 8.7399005630238e-07,
|
| 255 |
+
"loss": 0.0349,
|
| 256 |
+
"num_input_tokens_seen": 821864,
|
| 257 |
+
"step": 310
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"epoch": 2.7381974248927037,
|
| 261 |
+
"grad_norm": 1.5945826768875122,
|
| 262 |
+
"learning_rate": 4.766558909615504e-07,
|
| 263 |
+
"loss": 0.0375,
|
| 264 |
+
"num_input_tokens_seen": 849800,
|
| 265 |
+
"step": 320
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"epoch": 2.8240343347639483,
|
| 269 |
+
"grad_norm": 3.1935954093933105,
|
| 270 |
+
"learning_rate": 1.9760216187710788e-07,
|
| 271 |
+
"loss": 0.0184,
|
| 272 |
+
"num_input_tokens_seen": 876616,
|
| 273 |
+
"step": 330
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"epoch": 2.909871244635193,
|
| 277 |
+
"grad_norm": 2.1143760681152344,
|
| 278 |
+
"learning_rate": 3.910152723075322e-08,
|
| 279 |
+
"loss": 0.0583,
|
| 280 |
+
"num_input_tokens_seen": 903048,
|
| 281 |
+
"step": 340
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"epoch": 2.978540772532189,
|
| 285 |
+
"num_input_tokens_seen": 924488,
|
| 286 |
+
"step": 348,
|
| 287 |
+
"total_flos": 3.957609622319923e+16,
|
| 288 |
+
"train_loss": 0.10672961984728944,
|
| 289 |
+
"train_runtime": 329.4461,
|
| 290 |
+
"train_samples_per_second": 8.46,
|
| 291 |
+
"train_steps_per_second": 1.056
|
| 292 |
+
}
|
| 293 |
+
],
|
| 294 |
+
"logging_steps": 10,
|
| 295 |
+
"max_steps": 348,
|
| 296 |
+
"num_input_tokens_seen": 924488,
|
| 297 |
+
"num_train_epochs": 3,
|
| 298 |
+
"save_steps": 1000,
|
| 299 |
+
"stateful_callbacks": {
|
| 300 |
+
"TrainerControl": {
|
| 301 |
+
"args": {
|
| 302 |
+
"should_epoch_stop": false,
|
| 303 |
+
"should_evaluate": false,
|
| 304 |
+
"should_log": false,
|
| 305 |
+
"should_save": true,
|
| 306 |
+
"should_training_stop": true
|
| 307 |
+
},
|
| 308 |
+
"attributes": {}
|
| 309 |
+
}
|
| 310 |
+
},
|
| 311 |
+
"total_flos": 3.957609622319923e+16,
|
| 312 |
+
"train_batch_size": 4,
|
| 313 |
+
"trial_name": null,
|
| 314 |
+
"trial_params": null
|
| 315 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b3cb86ceab1094d776b1ec437de8d7cd5b248aebd6997bd76c45f08cd0a4571
|
| 3 |
+
size 5688
|
training_args.yaml
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
bf16: true
|
| 2 |
+
cutoff_len: 2048
|
| 3 |
+
dataset: en_train_part_1
|
| 4 |
+
dataset_dir: data
|
| 5 |
+
ddp_timeout: 180000000
|
| 6 |
+
do_train: true
|
| 7 |
+
double_quantization: true
|
| 8 |
+
finetuning_type: lora
|
| 9 |
+
flash_attn: auto
|
| 10 |
+
gradient_accumulation_steps: 2
|
| 11 |
+
include_num_input_tokens_seen: true
|
| 12 |
+
learning_rate: 3.0e-05
|
| 13 |
+
logging_steps: 10
|
| 14 |
+
lora_alpha: 16
|
| 15 |
+
lora_dropout: 0
|
| 16 |
+
lora_rank: 8
|
| 17 |
+
lora_target: all
|
| 18 |
+
lr_scheduler_type: cosine
|
| 19 |
+
max_grad_norm: 1.0
|
| 20 |
+
max_samples: 929
|
| 21 |
+
model_name_or_path: mistralai/Mistral-7B-Instruct-v0.3
|
| 22 |
+
num_train_epochs: 3.0
|
| 23 |
+
optim: adamw_torch
|
| 24 |
+
output_dir: saves/Mistral-7B-Instruct-v0.3/lora/part_2
|
| 25 |
+
packing: false
|
| 26 |
+
per_device_train_batch_size: 4
|
| 27 |
+
plot_loss: true
|
| 28 |
+
preprocessing_num_workers: 16
|
| 29 |
+
quantization_bit: 4
|
| 30 |
+
quantization_method: bitsandbytes
|
| 31 |
+
report_to: none
|
| 32 |
+
save_steps: 1000
|
| 33 |
+
stage: sft
|
| 34 |
+
template: alpaca
|
| 35 |
+
trust_remote_code: true
|
| 36 |
+
use_unsloth: true
|
| 37 |
+
warmup_steps: 0
|
training_loss.png
ADDED
|