Upload LoRA adapter for CLI completion
Browse files- .gitattributes +3 -0
- README.md +124 -0
- adapter_config.json +49 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +5 -0
- chat_template.jinja +6 -0
- checkpoint-45/README.md +208 -0
- checkpoint-45/adapter_config.json +49 -0
- checkpoint-45/adapter_model.safetensors +3 -0
- checkpoint-45/added_tokens.json +5 -0
- checkpoint-45/chat_template.jinja +6 -0
- checkpoint-45/merges.txt +0 -0
- checkpoint-45/optimizer.pt +3 -0
- checkpoint-45/rng_state.pth +3 -0
- checkpoint-45/scheduler.pt +3 -0
- checkpoint-45/special_tokens_map.json +20 -0
- checkpoint-45/tokenizer.json +3 -0
- checkpoint-45/tokenizer_config.json +43 -0
- checkpoint-45/tokens_state. +1 -0
- checkpoint-45/trainer_state.json +90 -0
- checkpoint-45/training_args.bin +3 -0
- checkpoint-45/vocab.json +0 -0
- checkpoint-49/README.md +208 -0
- checkpoint-49/adapter_config.json +49 -0
- checkpoint-49/adapter_model.safetensors +3 -0
- checkpoint-49/added_tokens.json +5 -0
- checkpoint-49/chat_template.jinja +6 -0
- checkpoint-49/merges.txt +0 -0
- checkpoint-49/optimizer.pt +3 -0
- checkpoint-49/rng_state.pth +3 -0
- checkpoint-49/scheduler.pt +3 -0
- checkpoint-49/special_tokens_map.json +20 -0
- checkpoint-49/tokenizer.json +3 -0
- checkpoint-49/tokenizer_config.json +43 -0
- checkpoint-49/tokens_state. +1 -0
- checkpoint-49/trainer_state.json +90 -0
- checkpoint-49/training_args.bin +3 -0
- checkpoint-49/vocab.json +0 -0
- config.json +53 -0
- debug.log +201 -0
- merges.txt +0 -0
- special_tokens_map.json +20 -0
- tokenizer.json +3 -0
- tokenizer_config.json +43 -0
- vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
checkpoint-45/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
checkpoint-49/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: Qwen/Qwen2-0.5B
|
| 5 |
+
tags:
|
| 6 |
+
- axolotl
|
| 7 |
+
- base_model:adapter:Qwen/Qwen2-0.5B
|
| 8 |
+
- lora
|
| 9 |
+
- transformers
|
| 10 |
+
- cli
|
| 11 |
+
- zsh
|
| 12 |
+
- command-completion
|
| 13 |
+
pipeline_tag: text-generation
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 18 |
+
|
| 19 |
+
[<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
|
| 20 |
+
<details><summary>See axolotl config</summary>
|
| 21 |
+
|
| 22 |
+
axolotl version: `0.13.1`
|
| 23 |
+
```yaml
|
| 24 |
+
base_model: Qwen/Qwen2-0.5B
|
| 25 |
+
model_type: AutoModelForCausalLM
|
| 26 |
+
tokenizer_type: AutoTokenizer
|
| 27 |
+
trust_remote_code: true
|
| 28 |
+
datasets:
|
| 29 |
+
- path: /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/src/training/data_splits_axolotl/train_axolotl.jsonl
|
| 30 |
+
type: alpaca
|
| 31 |
+
dataset_prepared_path: /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/last_run_prepared
|
| 32 |
+
val_set_size: 0.0
|
| 33 |
+
output_dir: /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/zsh-lora-output
|
| 34 |
+
adapter: lora
|
| 35 |
+
lora_r: 8
|
| 36 |
+
lora_alpha: 16
|
| 37 |
+
lora_dropout: 0.05
|
| 38 |
+
lora_target_modules:
|
| 39 |
+
- q_proj
|
| 40 |
+
- k_proj
|
| 41 |
+
- v_proj
|
| 42 |
+
- o_proj
|
| 43 |
+
- gate_proj
|
| 44 |
+
- up_proj
|
| 45 |
+
- down_proj
|
| 46 |
+
lora_modules_to_save:
|
| 47 |
+
- embed_tokens
|
| 48 |
+
- lm_head
|
| 49 |
+
sequence_len: 512
|
| 50 |
+
sample_packing: false
|
| 51 |
+
pad_to_sequence_len: true
|
| 52 |
+
micro_batch_size: 1
|
| 53 |
+
gradient_accumulation_steps: 8
|
| 54 |
+
num_epochs: 2
|
| 55 |
+
optimizer: adamw_torch
|
| 56 |
+
lr_scheduler: cosine
|
| 57 |
+
learning_rate: 0.0002
|
| 58 |
+
warmup_steps: 50
|
| 59 |
+
load_in_8bit: false
|
| 60 |
+
load_in_4bit: true
|
| 61 |
+
bf16: false
|
| 62 |
+
fp16: false
|
| 63 |
+
tf32: false
|
| 64 |
+
gradient_checkpointing: true
|
| 65 |
+
group_by_length: false
|
| 66 |
+
logging_steps: 10
|
| 67 |
+
save_steps: 15
|
| 68 |
+
save_safetensors: true
|
| 69 |
+
save_total_limit: 2
|
| 70 |
+
early_stopping_patience: null
|
| 71 |
+
early_stopping_threshold: null
|
| 72 |
+
wandb_mode: disabled
|
| 73 |
+
fp8: false
|
| 74 |
+
val_dataset:
|
| 75 |
+
path: /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/src/training/data_splits_axolotl/val_axolotl.jsonl
|
| 76 |
+
type: alpaca
|
| 77 |
+
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
</details><br>
|
| 81 |
+
|
| 82 |
+
# Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/zsh-lora-output
|
| 83 |
+
|
| 84 |
+
This model is a fine-tuned version of [Qwen/Qwen2-0.5B](https://huggingface.co/Qwen/Qwen2-0.5B) on the /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/src/training/data_splits_axolotl/train_axolotl.jsonl dataset.
|
| 85 |
+
|
| 86 |
+
## Model description
|
| 87 |
+
|
| 88 |
+
More information needed
|
| 89 |
+
|
| 90 |
+
## Intended uses & limitations
|
| 91 |
+
|
| 92 |
+
More information needed
|
| 93 |
+
|
| 94 |
+
## Training and evaluation data
|
| 95 |
+
|
| 96 |
+
More information needed
|
| 97 |
+
|
| 98 |
+
## Training procedure
|
| 99 |
+
|
| 100 |
+
### Training hyperparameters
|
| 101 |
+
|
| 102 |
+
The following hyperparameters were used during training:
|
| 103 |
+
- learning_rate: 0.0002
|
| 104 |
+
- train_batch_size: 1
|
| 105 |
+
- eval_batch_size: 1
|
| 106 |
+
- seed: 42
|
| 107 |
+
- gradient_accumulation_steps: 8
|
| 108 |
+
- total_train_batch_size: 8
|
| 109 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 110 |
+
- lr_scheduler_type: cosine
|
| 111 |
+
- lr_scheduler_warmup_steps: 50
|
| 112 |
+
- training_steps: 49
|
| 113 |
+
|
| 114 |
+
### Training results
|
| 115 |
+
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
### Framework versions
|
| 119 |
+
|
| 120 |
+
- PEFT 0.18.1
|
| 121 |
+
- Transformers 4.57.6
|
| 122 |
+
- Pytorch 2.10.0
|
| 123 |
+
- Datasets 4.5.0
|
| 124 |
+
- Tokenizers 0.22.1
|
adapter_config.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen2-0.5B",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": null,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 16,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": [
|
| 25 |
+
"embed_tokens",
|
| 26 |
+
"lm_head"
|
| 27 |
+
],
|
| 28 |
+
"peft_type": "LORA",
|
| 29 |
+
"peft_version": "0.18.1",
|
| 30 |
+
"qalora_group_size": 16,
|
| 31 |
+
"r": 8,
|
| 32 |
+
"rank_pattern": {},
|
| 33 |
+
"revision": null,
|
| 34 |
+
"target_modules": [
|
| 35 |
+
"q_proj",
|
| 36 |
+
"o_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"gate_proj",
|
| 39 |
+
"down_proj",
|
| 40 |
+
"k_proj",
|
| 41 |
+
"v_proj"
|
| 42 |
+
],
|
| 43 |
+
"target_parameters": [],
|
| 44 |
+
"task_type": "CAUSAL_LM",
|
| 45 |
+
"trainable_token_indices": null,
|
| 46 |
+
"use_dora": false,
|
| 47 |
+
"use_qalora": false,
|
| 48 |
+
"use_rslora": false
|
| 49 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2afafe383fd3070d656b773302c6b4e0623cce20bdbbb5e205a5a01c6c8cf36a
|
| 3 |
+
size 1106719360
|
added_tokens.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<|endoftext|>": 151643,
|
| 3 |
+
"<|im_end|>": 151645,
|
| 4 |
+
"<|im_start|>": 151644
|
| 5 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system
|
| 2 |
+
You are a helpful assistant<|im_end|>
|
| 3 |
+
' }}{% endif %}{{'<|im_start|>' + message['role'] + '
|
| 4 |
+
' + message['content'] + '<|im_end|>' + '
|
| 5 |
+
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
| 6 |
+
' }}{% endif %}
|
checkpoint-45/README.md
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen2-0.5B
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- axolotl
|
| 7 |
+
- base_model:adapter:Qwen/Qwen2-0.5B
|
| 8 |
+
- lora
|
| 9 |
+
- transformers
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Model Card for Model ID
|
| 13 |
+
|
| 14 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
## Model Details
|
| 19 |
+
|
| 20 |
+
### Model Description
|
| 21 |
+
|
| 22 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
- **Developed by:** [More Information Needed]
|
| 27 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 28 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 29 |
+
- **Model type:** [More Information Needed]
|
| 30 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 31 |
+
- **License:** [More Information Needed]
|
| 32 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 33 |
+
|
| 34 |
+
### Model Sources [optional]
|
| 35 |
+
|
| 36 |
+
<!-- Provide the basic links for the model. -->
|
| 37 |
+
|
| 38 |
+
- **Repository:** [More Information Needed]
|
| 39 |
+
- **Paper [optional]:** [More Information Needed]
|
| 40 |
+
- **Demo [optional]:** [More Information Needed]
|
| 41 |
+
|
| 42 |
+
## Uses
|
| 43 |
+
|
| 44 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 45 |
+
|
| 46 |
+
### Direct Use
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Downstream Use [optional]
|
| 53 |
+
|
| 54 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
### Out-of-Scope Use
|
| 59 |
+
|
| 60 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
## Bias, Risks, and Limitations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 67 |
+
|
| 68 |
+
[More Information Needed]
|
| 69 |
+
|
| 70 |
+
### Recommendations
|
| 71 |
+
|
| 72 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 73 |
+
|
| 74 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 75 |
+
|
| 76 |
+
## How to Get Started with the Model
|
| 77 |
+
|
| 78 |
+
Use the code below to get started with the model.
|
| 79 |
+
|
| 80 |
+
[More Information Needed]
|
| 81 |
+
|
| 82 |
+
## Training Details
|
| 83 |
+
|
| 84 |
+
### Training Data
|
| 85 |
+
|
| 86 |
+
<!-- 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. -->
|
| 87 |
+
|
| 88 |
+
[More Information Needed]
|
| 89 |
+
|
| 90 |
+
### Training Procedure
|
| 91 |
+
|
| 92 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 93 |
+
|
| 94 |
+
#### Preprocessing [optional]
|
| 95 |
+
|
| 96 |
+
[More Information Needed]
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
#### Training Hyperparameters
|
| 100 |
+
|
| 101 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 102 |
+
|
| 103 |
+
#### Speeds, Sizes, Times [optional]
|
| 104 |
+
|
| 105 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 106 |
+
|
| 107 |
+
[More Information Needed]
|
| 108 |
+
|
| 109 |
+
## Evaluation
|
| 110 |
+
|
| 111 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 112 |
+
|
| 113 |
+
### Testing Data, Factors & Metrics
|
| 114 |
+
|
| 115 |
+
#### Testing Data
|
| 116 |
+
|
| 117 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Factors
|
| 122 |
+
|
| 123 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
#### Metrics
|
| 128 |
+
|
| 129 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 130 |
+
|
| 131 |
+
[More Information Needed]
|
| 132 |
+
|
| 133 |
+
### Results
|
| 134 |
+
|
| 135 |
+
[More Information Needed]
|
| 136 |
+
|
| 137 |
+
#### Summary
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
## Model Examination [optional]
|
| 142 |
+
|
| 143 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 144 |
+
|
| 145 |
+
[More Information Needed]
|
| 146 |
+
|
| 147 |
+
## Environmental Impact
|
| 148 |
+
|
| 149 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 150 |
+
|
| 151 |
+
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).
|
| 152 |
+
|
| 153 |
+
- **Hardware Type:** [More Information Needed]
|
| 154 |
+
- **Hours used:** [More Information Needed]
|
| 155 |
+
- **Cloud Provider:** [More Information Needed]
|
| 156 |
+
- **Compute Region:** [More Information Needed]
|
| 157 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 158 |
+
|
| 159 |
+
## Technical Specifications [optional]
|
| 160 |
+
|
| 161 |
+
### Model Architecture and Objective
|
| 162 |
+
|
| 163 |
+
[More Information Needed]
|
| 164 |
+
|
| 165 |
+
### Compute Infrastructure
|
| 166 |
+
|
| 167 |
+
[More Information Needed]
|
| 168 |
+
|
| 169 |
+
#### Hardware
|
| 170 |
+
|
| 171 |
+
[More Information Needed]
|
| 172 |
+
|
| 173 |
+
#### Software
|
| 174 |
+
|
| 175 |
+
[More Information Needed]
|
| 176 |
+
|
| 177 |
+
## Citation [optional]
|
| 178 |
+
|
| 179 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 180 |
+
|
| 181 |
+
**BibTeX:**
|
| 182 |
+
|
| 183 |
+
[More Information Needed]
|
| 184 |
+
|
| 185 |
+
**APA:**
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## Glossary [optional]
|
| 190 |
+
|
| 191 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 192 |
+
|
| 193 |
+
[More Information Needed]
|
| 194 |
+
|
| 195 |
+
## More Information [optional]
|
| 196 |
+
|
| 197 |
+
[More Information Needed]
|
| 198 |
+
|
| 199 |
+
## Model Card Authors [optional]
|
| 200 |
+
|
| 201 |
+
[More Information Needed]
|
| 202 |
+
|
| 203 |
+
## Model Card Contact
|
| 204 |
+
|
| 205 |
+
[More Information Needed]
|
| 206 |
+
### Framework versions
|
| 207 |
+
|
| 208 |
+
- PEFT 0.18.1
|
checkpoint-45/adapter_config.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen2-0.5B",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": null,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 16,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": [
|
| 25 |
+
"embed_tokens",
|
| 26 |
+
"lm_head"
|
| 27 |
+
],
|
| 28 |
+
"peft_type": "LORA",
|
| 29 |
+
"peft_version": "0.18.1",
|
| 30 |
+
"qalora_group_size": 16,
|
| 31 |
+
"r": 8,
|
| 32 |
+
"rank_pattern": {},
|
| 33 |
+
"revision": null,
|
| 34 |
+
"target_modules": [
|
| 35 |
+
"q_proj",
|
| 36 |
+
"o_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"gate_proj",
|
| 39 |
+
"down_proj",
|
| 40 |
+
"k_proj",
|
| 41 |
+
"v_proj"
|
| 42 |
+
],
|
| 43 |
+
"target_parameters": [],
|
| 44 |
+
"task_type": "CAUSAL_LM",
|
| 45 |
+
"trainable_token_indices": null,
|
| 46 |
+
"use_dora": false,
|
| 47 |
+
"use_qalora": false,
|
| 48 |
+
"use_rslora": false
|
| 49 |
+
}
|
checkpoint-45/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eaea36deba4e0e785ca79e38120268a551f7d763ffca95542b54e178d1666c87
|
| 3 |
+
size 1106719360
|
checkpoint-45/added_tokens.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<|endoftext|>": 151643,
|
| 3 |
+
"<|im_end|>": 151645,
|
| 4 |
+
"<|im_start|>": 151644
|
| 5 |
+
}
|
checkpoint-45/chat_template.jinja
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system
|
| 2 |
+
You are a helpful assistant<|im_end|>
|
| 3 |
+
' }}{% endif %}{{'<|im_start|>' + message['role'] + '
|
| 4 |
+
' + message['content'] + '<|im_end|>' + '
|
| 5 |
+
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
| 6 |
+
' }}{% endif %}
|
checkpoint-45/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-45/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:25a4d79a175f1a89c810ddc690b8b04a847cb8c4310ff2444f8842ecf29a8d35
|
| 3 |
+
size 2213621849
|
checkpoint-45/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3a77d4a8b98ce027a4d6a3b9fb5d7c904e27ec1efd5c0468c24fa26bb738316
|
| 3 |
+
size 14455
|
checkpoint-45/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:451a1b14856da9cbd260e713e9fe3042640631bba6b72c249525f81b7cded72f
|
| 3 |
+
size 1465
|
checkpoint-45/special_tokens_map.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>"
|
| 5 |
+
],
|
| 6 |
+
"eos_token": {
|
| 7 |
+
"content": "<|endoftext|>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false
|
| 12 |
+
},
|
| 13 |
+
"pad_token": {
|
| 14 |
+
"content": "<|endoftext|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false
|
| 19 |
+
}
|
| 20 |
+
}
|
checkpoint-45/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bcfe42da0a4497e8b2b172c1f9f4ec423a46dc12907f4349c55025f670422ba9
|
| 3 |
+
size 11418266
|
checkpoint-45/tokenizer_config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"151643": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"151644": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"151645": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
"additional_special_tokens": [
|
| 30 |
+
"<|im_start|>",
|
| 31 |
+
"<|im_end|>"
|
| 32 |
+
],
|
| 33 |
+
"bos_token": null,
|
| 34 |
+
"clean_up_tokenization_spaces": false,
|
| 35 |
+
"eos_token": "<|endoftext|>",
|
| 36 |
+
"errors": "replace",
|
| 37 |
+
"extra_special_tokens": {},
|
| 38 |
+
"model_max_length": 32768,
|
| 39 |
+
"pad_token": "<|endoftext|>",
|
| 40 |
+
"split_special_tokens": false,
|
| 41 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 42 |
+
"unk_token": null
|
| 43 |
+
}
|
checkpoint-45/tokens_state.
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"total": 181248, "trainable": 3034}
|
checkpoint-45/trainer_state.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.824742268041237,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 45,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.41237113402061853,
|
| 14 |
+
"grad_norm": 29.422929763793945,
|
| 15 |
+
"learning_rate": 3.6e-05,
|
| 16 |
+
"loss": 2.1003,
|
| 17 |
+
"memory/device_reserved (GiB)": 0,
|
| 18 |
+
"memory/max_active (GiB)": 4.94,
|
| 19 |
+
"memory/max_allocated (GiB)": 8.44,
|
| 20 |
+
"ppl": 8.16862,
|
| 21 |
+
"step": 10,
|
| 22 |
+
"tokens/total": 40960,
|
| 23 |
+
"tokens/train_per_sec_per_gpu": 0.03,
|
| 24 |
+
"tokens/trainable": 732
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.8247422680412371,
|
| 28 |
+
"grad_norm": 20.819232940673828,
|
| 29 |
+
"learning_rate": 7.6e-05,
|
| 30 |
+
"loss": 1.3313,
|
| 31 |
+
"memory/device_reserved (GiB)": 0,
|
| 32 |
+
"memory/max_active (GiB)": 4.94,
|
| 33 |
+
"memory/max_allocated (GiB)": 8.44,
|
| 34 |
+
"ppl": 3.78596,
|
| 35 |
+
"step": 20,
|
| 36 |
+
"tokens/total": 81920,
|
| 37 |
+
"tokens/train_per_sec_per_gpu": 0.01,
|
| 38 |
+
"tokens/trainable": 1375
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 1.2061855670103092,
|
| 42 |
+
"grad_norm": 10.385747909545898,
|
| 43 |
+
"learning_rate": 0.000116,
|
| 44 |
+
"loss": 0.8107,
|
| 45 |
+
"memory/device_reserved (GiB)": 0,
|
| 46 |
+
"memory/max_active (GiB)": 4.94,
|
| 47 |
+
"memory/max_allocated (GiB)": 8.44,
|
| 48 |
+
"ppl": 2.24948,
|
| 49 |
+
"step": 30,
|
| 50 |
+
"tokens/total": 119808,
|
| 51 |
+
"tokens/train_per_sec_per_gpu": 0.03,
|
| 52 |
+
"tokens/trainable": 1990
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 1.6185567010309279,
|
| 56 |
+
"grad_norm": 9.247703552246094,
|
| 57 |
+
"learning_rate": 0.00015600000000000002,
|
| 58 |
+
"loss": 0.4243,
|
| 59 |
+
"memory/device_reserved (GiB)": 0,
|
| 60 |
+
"memory/max_active (GiB)": 4.94,
|
| 61 |
+
"memory/max_allocated (GiB)": 8.44,
|
| 62 |
+
"ppl": 1.52852,
|
| 63 |
+
"step": 40,
|
| 64 |
+
"tokens/total": 160768,
|
| 65 |
+
"tokens/train_per_sec_per_gpu": 0.01,
|
| 66 |
+
"tokens/trainable": 2671
|
| 67 |
+
}
|
| 68 |
+
],
|
| 69 |
+
"logging_steps": 10,
|
| 70 |
+
"max_steps": 49,
|
| 71 |
+
"num_input_tokens_seen": 0,
|
| 72 |
+
"num_train_epochs": 2,
|
| 73 |
+
"save_steps": 15,
|
| 74 |
+
"stateful_callbacks": {
|
| 75 |
+
"TrainerControl": {
|
| 76 |
+
"args": {
|
| 77 |
+
"should_epoch_stop": false,
|
| 78 |
+
"should_evaluate": false,
|
| 79 |
+
"should_log": false,
|
| 80 |
+
"should_save": true,
|
| 81 |
+
"should_training_stop": false
|
| 82 |
+
},
|
| 83 |
+
"attributes": {}
|
| 84 |
+
}
|
| 85 |
+
},
|
| 86 |
+
"total_flos": 542038679617536.0,
|
| 87 |
+
"train_batch_size": 1,
|
| 88 |
+
"trial_name": null,
|
| 89 |
+
"trial_params": null
|
| 90 |
+
}
|
checkpoint-45/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:434943d8bfb0e6ab241b45e97b35fe0a388267c99b5de4d3c9271d0ff99b8a2a
|
| 3 |
+
size 7377
|
checkpoint-45/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-49/README.md
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen2-0.5B
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- axolotl
|
| 7 |
+
- base_model:adapter:Qwen/Qwen2-0.5B
|
| 8 |
+
- lora
|
| 9 |
+
- transformers
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Model Card for Model ID
|
| 13 |
+
|
| 14 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
## Model Details
|
| 19 |
+
|
| 20 |
+
### Model Description
|
| 21 |
+
|
| 22 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
- **Developed by:** [More Information Needed]
|
| 27 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 28 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 29 |
+
- **Model type:** [More Information Needed]
|
| 30 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 31 |
+
- **License:** [More Information Needed]
|
| 32 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 33 |
+
|
| 34 |
+
### Model Sources [optional]
|
| 35 |
+
|
| 36 |
+
<!-- Provide the basic links for the model. -->
|
| 37 |
+
|
| 38 |
+
- **Repository:** [More Information Needed]
|
| 39 |
+
- **Paper [optional]:** [More Information Needed]
|
| 40 |
+
- **Demo [optional]:** [More Information Needed]
|
| 41 |
+
|
| 42 |
+
## Uses
|
| 43 |
+
|
| 44 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 45 |
+
|
| 46 |
+
### Direct Use
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Downstream Use [optional]
|
| 53 |
+
|
| 54 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
### Out-of-Scope Use
|
| 59 |
+
|
| 60 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
## Bias, Risks, and Limitations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 67 |
+
|
| 68 |
+
[More Information Needed]
|
| 69 |
+
|
| 70 |
+
### Recommendations
|
| 71 |
+
|
| 72 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 73 |
+
|
| 74 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 75 |
+
|
| 76 |
+
## How to Get Started with the Model
|
| 77 |
+
|
| 78 |
+
Use the code below to get started with the model.
|
| 79 |
+
|
| 80 |
+
[More Information Needed]
|
| 81 |
+
|
| 82 |
+
## Training Details
|
| 83 |
+
|
| 84 |
+
### Training Data
|
| 85 |
+
|
| 86 |
+
<!-- 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. -->
|
| 87 |
+
|
| 88 |
+
[More Information Needed]
|
| 89 |
+
|
| 90 |
+
### Training Procedure
|
| 91 |
+
|
| 92 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 93 |
+
|
| 94 |
+
#### Preprocessing [optional]
|
| 95 |
+
|
| 96 |
+
[More Information Needed]
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
#### Training Hyperparameters
|
| 100 |
+
|
| 101 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 102 |
+
|
| 103 |
+
#### Speeds, Sizes, Times [optional]
|
| 104 |
+
|
| 105 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 106 |
+
|
| 107 |
+
[More Information Needed]
|
| 108 |
+
|
| 109 |
+
## Evaluation
|
| 110 |
+
|
| 111 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 112 |
+
|
| 113 |
+
### Testing Data, Factors & Metrics
|
| 114 |
+
|
| 115 |
+
#### Testing Data
|
| 116 |
+
|
| 117 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Factors
|
| 122 |
+
|
| 123 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
#### Metrics
|
| 128 |
+
|
| 129 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 130 |
+
|
| 131 |
+
[More Information Needed]
|
| 132 |
+
|
| 133 |
+
### Results
|
| 134 |
+
|
| 135 |
+
[More Information Needed]
|
| 136 |
+
|
| 137 |
+
#### Summary
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
## Model Examination [optional]
|
| 142 |
+
|
| 143 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 144 |
+
|
| 145 |
+
[More Information Needed]
|
| 146 |
+
|
| 147 |
+
## Environmental Impact
|
| 148 |
+
|
| 149 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 150 |
+
|
| 151 |
+
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).
|
| 152 |
+
|
| 153 |
+
- **Hardware Type:** [More Information Needed]
|
| 154 |
+
- **Hours used:** [More Information Needed]
|
| 155 |
+
- **Cloud Provider:** [More Information Needed]
|
| 156 |
+
- **Compute Region:** [More Information Needed]
|
| 157 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 158 |
+
|
| 159 |
+
## Technical Specifications [optional]
|
| 160 |
+
|
| 161 |
+
### Model Architecture and Objective
|
| 162 |
+
|
| 163 |
+
[More Information Needed]
|
| 164 |
+
|
| 165 |
+
### Compute Infrastructure
|
| 166 |
+
|
| 167 |
+
[More Information Needed]
|
| 168 |
+
|
| 169 |
+
#### Hardware
|
| 170 |
+
|
| 171 |
+
[More Information Needed]
|
| 172 |
+
|
| 173 |
+
#### Software
|
| 174 |
+
|
| 175 |
+
[More Information Needed]
|
| 176 |
+
|
| 177 |
+
## Citation [optional]
|
| 178 |
+
|
| 179 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 180 |
+
|
| 181 |
+
**BibTeX:**
|
| 182 |
+
|
| 183 |
+
[More Information Needed]
|
| 184 |
+
|
| 185 |
+
**APA:**
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## Glossary [optional]
|
| 190 |
+
|
| 191 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 192 |
+
|
| 193 |
+
[More Information Needed]
|
| 194 |
+
|
| 195 |
+
## More Information [optional]
|
| 196 |
+
|
| 197 |
+
[More Information Needed]
|
| 198 |
+
|
| 199 |
+
## Model Card Authors [optional]
|
| 200 |
+
|
| 201 |
+
[More Information Needed]
|
| 202 |
+
|
| 203 |
+
## Model Card Contact
|
| 204 |
+
|
| 205 |
+
[More Information Needed]
|
| 206 |
+
### Framework versions
|
| 207 |
+
|
| 208 |
+
- PEFT 0.18.1
|
checkpoint-49/adapter_config.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen2-0.5B",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": null,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 16,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": [
|
| 25 |
+
"embed_tokens",
|
| 26 |
+
"lm_head"
|
| 27 |
+
],
|
| 28 |
+
"peft_type": "LORA",
|
| 29 |
+
"peft_version": "0.18.1",
|
| 30 |
+
"qalora_group_size": 16,
|
| 31 |
+
"r": 8,
|
| 32 |
+
"rank_pattern": {},
|
| 33 |
+
"revision": null,
|
| 34 |
+
"target_modules": [
|
| 35 |
+
"q_proj",
|
| 36 |
+
"o_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"gate_proj",
|
| 39 |
+
"down_proj",
|
| 40 |
+
"k_proj",
|
| 41 |
+
"v_proj"
|
| 42 |
+
],
|
| 43 |
+
"target_parameters": [],
|
| 44 |
+
"task_type": "CAUSAL_LM",
|
| 45 |
+
"trainable_token_indices": null,
|
| 46 |
+
"use_dora": false,
|
| 47 |
+
"use_qalora": false,
|
| 48 |
+
"use_rslora": false
|
| 49 |
+
}
|
checkpoint-49/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2afafe383fd3070d656b773302c6b4e0623cce20bdbbb5e205a5a01c6c8cf36a
|
| 3 |
+
size 1106719360
|
checkpoint-49/added_tokens.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<|endoftext|>": 151643,
|
| 3 |
+
"<|im_end|>": 151645,
|
| 4 |
+
"<|im_start|>": 151644
|
| 5 |
+
}
|
checkpoint-49/chat_template.jinja
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system
|
| 2 |
+
You are a helpful assistant<|im_end|>
|
| 3 |
+
' }}{% endif %}{{'<|im_start|>' + message['role'] + '
|
| 4 |
+
' + message['content'] + '<|im_end|>' + '
|
| 5 |
+
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
| 6 |
+
' }}{% endif %}
|
checkpoint-49/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-49/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:80489d448ce2535256b918ddf39a044884a048b784f560de4bdabe2d269eff82
|
| 3 |
+
size 2213621849
|
checkpoint-49/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3a77d4a8b98ce027a4d6a3b9fb5d7c904e27ec1efd5c0468c24fa26bb738316
|
| 3 |
+
size 14455
|
checkpoint-49/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee69f4a1ef41348da5c66cb68420149fa18a869bb5f1f8c8e413d37c2db0166d
|
| 3 |
+
size 1465
|
checkpoint-49/special_tokens_map.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>"
|
| 5 |
+
],
|
| 6 |
+
"eos_token": {
|
| 7 |
+
"content": "<|endoftext|>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false
|
| 12 |
+
},
|
| 13 |
+
"pad_token": {
|
| 14 |
+
"content": "<|endoftext|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false
|
| 19 |
+
}
|
| 20 |
+
}
|
checkpoint-49/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bcfe42da0a4497e8b2b172c1f9f4ec423a46dc12907f4349c55025f670422ba9
|
| 3 |
+
size 11418266
|
checkpoint-49/tokenizer_config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"151643": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"151644": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"151645": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
"additional_special_tokens": [
|
| 30 |
+
"<|im_start|>",
|
| 31 |
+
"<|im_end|>"
|
| 32 |
+
],
|
| 33 |
+
"bos_token": null,
|
| 34 |
+
"clean_up_tokenization_spaces": false,
|
| 35 |
+
"eos_token": "<|endoftext|>",
|
| 36 |
+
"errors": "replace",
|
| 37 |
+
"extra_special_tokens": {},
|
| 38 |
+
"model_max_length": 32768,
|
| 39 |
+
"pad_token": "<|endoftext|>",
|
| 40 |
+
"split_special_tokens": false,
|
| 41 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 42 |
+
"unk_token": null
|
| 43 |
+
}
|
checkpoint-49/tokens_state.
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"total": 197632, "trainable": 3290}
|
checkpoint-49/trainer_state.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.9896907216494846,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 49,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.41237113402061853,
|
| 14 |
+
"grad_norm": 29.422929763793945,
|
| 15 |
+
"learning_rate": 3.6e-05,
|
| 16 |
+
"loss": 2.1003,
|
| 17 |
+
"memory/device_reserved (GiB)": 0,
|
| 18 |
+
"memory/max_active (GiB)": 4.94,
|
| 19 |
+
"memory/max_allocated (GiB)": 8.44,
|
| 20 |
+
"ppl": 8.16862,
|
| 21 |
+
"step": 10,
|
| 22 |
+
"tokens/total": 40960,
|
| 23 |
+
"tokens/train_per_sec_per_gpu": 0.03,
|
| 24 |
+
"tokens/trainable": 732
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.8247422680412371,
|
| 28 |
+
"grad_norm": 20.819232940673828,
|
| 29 |
+
"learning_rate": 7.6e-05,
|
| 30 |
+
"loss": 1.3313,
|
| 31 |
+
"memory/device_reserved (GiB)": 0,
|
| 32 |
+
"memory/max_active (GiB)": 4.94,
|
| 33 |
+
"memory/max_allocated (GiB)": 8.44,
|
| 34 |
+
"ppl": 3.78596,
|
| 35 |
+
"step": 20,
|
| 36 |
+
"tokens/total": 81920,
|
| 37 |
+
"tokens/train_per_sec_per_gpu": 0.01,
|
| 38 |
+
"tokens/trainable": 1375
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 1.2061855670103092,
|
| 42 |
+
"grad_norm": 10.385747909545898,
|
| 43 |
+
"learning_rate": 0.000116,
|
| 44 |
+
"loss": 0.8107,
|
| 45 |
+
"memory/device_reserved (GiB)": 0,
|
| 46 |
+
"memory/max_active (GiB)": 4.94,
|
| 47 |
+
"memory/max_allocated (GiB)": 8.44,
|
| 48 |
+
"ppl": 2.24948,
|
| 49 |
+
"step": 30,
|
| 50 |
+
"tokens/total": 119808,
|
| 51 |
+
"tokens/train_per_sec_per_gpu": 0.03,
|
| 52 |
+
"tokens/trainable": 1990
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 1.6185567010309279,
|
| 56 |
+
"grad_norm": 9.247703552246094,
|
| 57 |
+
"learning_rate": 0.00015600000000000002,
|
| 58 |
+
"loss": 0.4243,
|
| 59 |
+
"memory/device_reserved (GiB)": 0,
|
| 60 |
+
"memory/max_active (GiB)": 4.94,
|
| 61 |
+
"memory/max_allocated (GiB)": 8.44,
|
| 62 |
+
"ppl": 1.52852,
|
| 63 |
+
"step": 40,
|
| 64 |
+
"tokens/total": 160768,
|
| 65 |
+
"tokens/train_per_sec_per_gpu": 0.01,
|
| 66 |
+
"tokens/trainable": 2671
|
| 67 |
+
}
|
| 68 |
+
],
|
| 69 |
+
"logging_steps": 10,
|
| 70 |
+
"max_steps": 49,
|
| 71 |
+
"num_input_tokens_seen": 0,
|
| 72 |
+
"num_train_epochs": 2,
|
| 73 |
+
"save_steps": 15,
|
| 74 |
+
"stateful_callbacks": {
|
| 75 |
+
"TrainerControl": {
|
| 76 |
+
"args": {
|
| 77 |
+
"should_epoch_stop": false,
|
| 78 |
+
"should_evaluate": false,
|
| 79 |
+
"should_log": false,
|
| 80 |
+
"should_save": true,
|
| 81 |
+
"should_training_stop": true
|
| 82 |
+
},
|
| 83 |
+
"attributes": {}
|
| 84 |
+
}
|
| 85 |
+
},
|
| 86 |
+
"total_flos": 591036526362624.0,
|
| 87 |
+
"train_batch_size": 1,
|
| 88 |
+
"trial_name": null,
|
| 89 |
+
"trial_params": null
|
| 90 |
+
}
|
checkpoint-49/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:434943d8bfb0e6ab241b45e97b35fe0a388267c99b5de4d3c9271d0ff99b8a2a
|
| 3 |
+
size 7377
|
checkpoint-49/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
config.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"dtype": "float32",
|
| 7 |
+
"eos_token_id": 151643,
|
| 8 |
+
"hidden_act": "silu",
|
| 9 |
+
"hidden_size": 896,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"intermediate_size": 4864,
|
| 12 |
+
"layer_types": [
|
| 13 |
+
"full_attention",
|
| 14 |
+
"full_attention",
|
| 15 |
+
"full_attention",
|
| 16 |
+
"full_attention",
|
| 17 |
+
"full_attention",
|
| 18 |
+
"full_attention",
|
| 19 |
+
"full_attention",
|
| 20 |
+
"full_attention",
|
| 21 |
+
"full_attention",
|
| 22 |
+
"full_attention",
|
| 23 |
+
"full_attention",
|
| 24 |
+
"full_attention",
|
| 25 |
+
"full_attention",
|
| 26 |
+
"full_attention",
|
| 27 |
+
"full_attention",
|
| 28 |
+
"full_attention",
|
| 29 |
+
"full_attention",
|
| 30 |
+
"full_attention",
|
| 31 |
+
"full_attention",
|
| 32 |
+
"full_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"full_attention"
|
| 37 |
+
],
|
| 38 |
+
"max_position_embeddings": 131072,
|
| 39 |
+
"max_window_layers": 24,
|
| 40 |
+
"model_type": "qwen2",
|
| 41 |
+
"num_attention_heads": 14,
|
| 42 |
+
"num_hidden_layers": 24,
|
| 43 |
+
"num_key_value_heads": 2,
|
| 44 |
+
"rms_norm_eps": 1e-06,
|
| 45 |
+
"rope_scaling": null,
|
| 46 |
+
"rope_theta": 1000000.0,
|
| 47 |
+
"sliding_window": null,
|
| 48 |
+
"tie_word_embeddings": true,
|
| 49 |
+
"transformers_version": "4.57.6",
|
| 50 |
+
"use_cache": false,
|
| 51 |
+
"use_sliding_window": false,
|
| 52 |
+
"vocab_size": 151936
|
| 53 |
+
}
|
debug.log
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 0 |
0%| | 0/49 [00:00<?, ?it/s][2026-02-21 20:37:34,099] [WARNING] [py.warnings._showwarnmsg:110] [PID:5467] /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/venv/lib/python3.13/site-packages/torch/utils/data/dataloader.py:1118: UserWarning: 'pin_memory' argument is set as true but not supported on MPS now, device pinned memory won't be used.
|
|
|
|
|
|
|
|
|
|
| 1 |
2%|β | 1/49 [00:49<39:37, 49.52s/it]
|
| 2 |
4%|β | 2/49 [01:38<38:45, 49.48s/it]
|
| 3 |
6%|β | 3/49 [02:39<41:49, 54.56s/it]
|
| 4 |
8%|β | 4/49 [03:19<36:40, 48.90s/it]
|
| 5 |
10%|β | 5/49 [04:06<35:15, 48.07s/it]
|
| 6 |
12%|ββ | 6/49 [04:46<32:31, 45.39s/it]
|
| 7 |
14%|ββ | 7/49 [05:33<32:04, 45.82s/it]
|
| 8 |
16%|ββ | 8/49 [06:19<31:27, 46.03s/it]
|
| 9 |
18%|ββ | 9/49 [06:59<29:27, 44.20s/it]
|
| 10 |
20%|ββ | 10/49 [07:39<27:45, 42.71s/it]
|
| 11 |
|
|
|
|
| 12 |
20%|ββ | 10/49 [07:43<27:45, 42.71s/it]
|
| 13 |
22%|βββ | 11/49 [08:20<26:48, 42.33s/it]
|
| 14 |
24%|βββ | 12/49 [09:11<27:37, 44.80s/it]
|
| 15 |
27%|βββ | 13/49 [09:56<27:02, 45.07s/it]
|
| 16 |
29%|βββ | 14/49 [10:45<26:55, 46.15s/it]
|
| 17 |
31%|βββ | 15/49 [11:29<25:49, 45.58s/it][2026-02-21 20:49:03,976] [INFO] [axolotl.core.trainers.base._save:721] [PID:5467] Saving model checkpoint to /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/zsh-lora-output/checkpoint-15
|
|
|
|
| 18 |
33%|ββββ | 16/49 [12:34<28:15, 51.37s/it]
|
| 19 |
35%|ββββ | 17/49 [13:17<26:04, 48.90s/it]
|
| 20 |
37%|ββββ | 18/49 [14:01<24:26, 47.32s/it]
|
| 21 |
39%|ββββ | 19/49 [14:52<24:09, 48.31s/it]
|
| 22 |
41%|ββββ | 20/49 [15:42<23:36, 48.83s/it]
|
| 23 |
|
|
|
|
| 24 |
41%|ββββ | 20/49 [15:47<23:36, 48.83s/it]
|
| 25 |
43%|βββββ | 21/49 [16:32<22:58, 49.25s/it]
|
| 26 |
45%|βββββ | 22/49 [17:12<20:53, 46.42s/it]
|
| 27 |
47%|βββββ | 23/49 [17:55<19:46, 45.63s/it]
|
| 28 |
49%|βββββ | 24/49 [18:36<18:24, 44.19s/it]
|
| 29 |
51%|βββββ | 25/49 [19:00<15:11, 37.96s/it][2026-02-21 20:56:34,355] [WARNING] [py.warnings._showwarnmsg:110] [PID:5467] /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/venv/lib/python3.13/site-packages/torch/utils/data/dataloader.py:1118: UserWarning: 'pin_memory' argument is set as true but not supported on MPS now, device pinned memory won't be used.
|
|
|
|
|
|
|
|
|
|
| 30 |
53%|ββββββ | 26/49 [19:50<16:01, 41.81s/it]
|
| 31 |
55%|ββββββ | 27/49 [20:32<15:20, 41.84s/it]
|
| 32 |
57%|ββββββ | 28/49 [21:19<15:08, 43.24s/it]
|
| 33 |
59%|ββββββ | 29/49 [22:10<15:13, 45.67s/it]
|
| 34 |
61%|ββββββ | 30/49 [23:16<16:22, 51.72s/it]
|
| 35 |
|
|
|
|
| 36 |
61%|ββββββ | 30/49 [23:22<16:22, 51.72s/it][2026-02-21 21:00:56,360] [INFO] [axolotl.core.trainers.base._save:721] [PID:5467] Saving model checkpoint to /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/zsh-lora-output/checkpoint-30
|
|
|
|
| 37 |
63%|βββββββ | 31/49 [24:24<16:58, 56.56s/it]
|
| 38 |
65%|βββββββ | 32/49 [25:20<16:00, 56.51s/it]
|
| 39 |
67%|βββββββ | 33/49 [26:27<15:51, 59.48s/it]
|
| 40 |
69%|βββββββ | 34/49 [27:21<14:26, 57.79s/it]
|
| 41 |
71%|ββββββββ | 35/49 [28:10<12:52, 55.20s/it]
|
| 42 |
73%|ββββββββ | 36/49 [28:50<11:00, 50.77s/it]
|
| 43 |
76%|ββββββββ | 37/49 [29:32<09:37, 48.10s/it]
|
| 44 |
78%|ββββββββ | 38/49 [30:19<08:46, 47.83s/it]
|
| 45 |
80%|ββββββββ | 39/49 [31:07<07:57, 47.79s/it]
|
| 46 |
82%|βββββββββ | 40/49 [31:54<07:07, 47.45s/it]
|
| 47 |
|
|
|
|
| 48 |
82%|βββββββββ | 40/49 [31:59<07:07, 47.45s/it]
|
| 49 |
84%|βββββββββ | 41/49 [33:01<07:06, 53.31s/it]
|
| 50 |
86%|βββββββββ | 42/49 [33:56<06:17, 53.91s/it]
|
| 51 |
88%|βββββββββ | 43/49 [34:57<05:35, 55.99s/it]
|
| 52 |
90%|βββββββββ | 44/49 [35:49<04:34, 54.85s/it]
|
| 53 |
92%|ββββββββββ| 45/49 [36:49<03:45, 56.49s/it][2026-02-21 21:14:23,862] [INFO] [axolotl.core.trainers.base._save:721] [PID:5467] Saving model checkpoint to /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/zsh-lora-output/checkpoint-45
|
|
|
|
| 54 |
94%|ββββββββββ| 46/49 [38:04<03:05, 61.88s/it]
|
| 55 |
96%|ββββββββββ| 47/49 [38:53<01:56, 58.24s/it]
|
| 56 |
98%|ββββββββββ| 48/49 [39:49<00:57, 57.40s/it]
|
|
|
|
| 57 |
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-02-21 20:37:21,574] [DEBUG] [axolotl.utils.config.log_gpu_memory_usage:127] [PID:5467] baseline 0.000GB (+0.000GB allocated)
|
| 2 |
+
[2026-02-21 20:37:21,574] [INFO] [axolotl.cli.config.load_cfg:259] [PID:5467] config:
|
| 3 |
+
{
|
| 4 |
+
"activation_offloading": false,
|
| 5 |
+
"adapter": "lora",
|
| 6 |
+
"axolotl_config_path": "src/training/qwen3_axolotl_config.yml",
|
| 7 |
+
"base_model": "Qwen/Qwen2-0.5B",
|
| 8 |
+
"base_model_config": "Qwen/Qwen2-0.5B",
|
| 9 |
+
"batch_size": 8,
|
| 10 |
+
"bf16": false,
|
| 11 |
+
"capabilities": {
|
| 12 |
+
"bf16": true,
|
| 13 |
+
"fp8": false,
|
| 14 |
+
"n_gpu": 1,
|
| 15 |
+
"n_node": 1
|
| 16 |
+
},
|
| 17 |
+
"context_parallel_size": 1,
|
| 18 |
+
"dataloader_num_workers": 1,
|
| 19 |
+
"dataloader_pin_memory": true,
|
| 20 |
+
"dataloader_prefetch_factor": 256,
|
| 21 |
+
"dataset_num_proc": 8,
|
| 22 |
+
"dataset_prepared_path": "/Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/last_run_prepared",
|
| 23 |
+
"datasets": [
|
| 24 |
+
{
|
| 25 |
+
"message_property_mappings": {
|
| 26 |
+
"content": "content",
|
| 27 |
+
"role": "role"
|
| 28 |
+
},
|
| 29 |
+
"path": "/Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/src/training/data_splits_axolotl/train_axolotl.jsonl",
|
| 30 |
+
"trust_remote_code": false,
|
| 31 |
+
"type": "alpaca"
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"ddp": false,
|
| 35 |
+
"device": "mps",
|
| 36 |
+
"dion_rank_fraction": 1.0,
|
| 37 |
+
"dion_rank_multiple_of": 1,
|
| 38 |
+
"env_capabilities": {
|
| 39 |
+
"torch_version": "2.10.0"
|
| 40 |
+
},
|
| 41 |
+
"eval_batch_size": 1,
|
| 42 |
+
"eval_causal_lm_metrics": [
|
| 43 |
+
"sacrebleu",
|
| 44 |
+
"comet",
|
| 45 |
+
"ter",
|
| 46 |
+
"chrf"
|
| 47 |
+
],
|
| 48 |
+
"eval_max_new_tokens": 128,
|
| 49 |
+
"eval_table_size": 0,
|
| 50 |
+
"experimental_skip_move_to_device": true,
|
| 51 |
+
"fp16": false,
|
| 52 |
+
"fp8": false,
|
| 53 |
+
"gradient_accumulation_steps": 8,
|
| 54 |
+
"gradient_checkpointing": true,
|
| 55 |
+
"gradient_checkpointing_kwargs": {
|
| 56 |
+
"use_reentrant": true
|
| 57 |
+
},
|
| 58 |
+
"group_by_length": false,
|
| 59 |
+
"include_tkps": true,
|
| 60 |
+
"is_falcon_derived_model": false,
|
| 61 |
+
"is_llama_derived_model": false,
|
| 62 |
+
"is_mistral_derived_model": false,
|
| 63 |
+
"learning_rate": 0.0002,
|
| 64 |
+
"lisa_layers_attribute": "model.layers",
|
| 65 |
+
"load_best_model_at_end": false,
|
| 66 |
+
"load_in_4bit": true,
|
| 67 |
+
"load_in_8bit": false,
|
| 68 |
+
"local_rank": 0,
|
| 69 |
+
"logging_steps": 10,
|
| 70 |
+
"lora_alpha": 16,
|
| 71 |
+
"lora_dropout": 0.05,
|
| 72 |
+
"lora_modules_to_save": [
|
| 73 |
+
"embed_tokens",
|
| 74 |
+
"lm_head"
|
| 75 |
+
],
|
| 76 |
+
"lora_r": 8,
|
| 77 |
+
"lora_target_modules": [
|
| 78 |
+
"q_proj",
|
| 79 |
+
"k_proj",
|
| 80 |
+
"v_proj",
|
| 81 |
+
"o_proj",
|
| 82 |
+
"gate_proj",
|
| 83 |
+
"up_proj",
|
| 84 |
+
"down_proj"
|
| 85 |
+
],
|
| 86 |
+
"loraplus_lr_embedding": 1e-06,
|
| 87 |
+
"lr_scheduler": "cosine",
|
| 88 |
+
"mean_resizing_embeddings": false,
|
| 89 |
+
"micro_batch_size": 1,
|
| 90 |
+
"model_config_type": "qwen2",
|
| 91 |
+
"num_epochs": 2.0,
|
| 92 |
+
"optimizer": "adamw_torch",
|
| 93 |
+
"otel_metrics_host": "localhost",
|
| 94 |
+
"otel_metrics_port": 8000,
|
| 95 |
+
"output_dir": "/Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/zsh-lora-output",
|
| 96 |
+
"pad_to_sequence_len": true,
|
| 97 |
+
"pretrain_multipack_attn": true,
|
| 98 |
+
"profiler_steps_start": 0,
|
| 99 |
+
"qlora_sharded_model_loading": false,
|
| 100 |
+
"ray_num_workers": 1,
|
| 101 |
+
"resources_per_worker": {
|
| 102 |
+
"GPU": 1
|
| 103 |
+
},
|
| 104 |
+
"sample_packing": false,
|
| 105 |
+
"sample_packing_bin_size": 200,
|
| 106 |
+
"sample_packing_group_size": 100000,
|
| 107 |
+
"save_only_model": false,
|
| 108 |
+
"save_safetensors": true,
|
| 109 |
+
"save_steps": 15,
|
| 110 |
+
"save_total_limit": 2,
|
| 111 |
+
"sequence_len": 512,
|
| 112 |
+
"shuffle_before_merging_datasets": false,
|
| 113 |
+
"shuffle_merged_datasets": true,
|
| 114 |
+
"skip_prepare_dataset": false,
|
| 115 |
+
"streaming_multipack_buffer_size": 10000,
|
| 116 |
+
"strict": false,
|
| 117 |
+
"tensor_parallel_size": 1,
|
| 118 |
+
"tf32": false,
|
| 119 |
+
"tiled_mlp_use_original_mlp": true,
|
| 120 |
+
"tokenizer_config": "Qwen/Qwen2-0.5B",
|
| 121 |
+
"tokenizer_save_jinja_files": true,
|
| 122 |
+
"tokenizer_type": "AutoTokenizer",
|
| 123 |
+
"torch_dtype": "torch.float32",
|
| 124 |
+
"train_on_inputs": false,
|
| 125 |
+
"trl": {
|
| 126 |
+
"log_completions": false,
|
| 127 |
+
"mask_truncated_completions": false,
|
| 128 |
+
"ref_model_mixup_alpha": 0.9,
|
| 129 |
+
"ref_model_sync_steps": 64,
|
| 130 |
+
"scale_rewards": true,
|
| 131 |
+
"sync_ref_model": false,
|
| 132 |
+
"use_vllm": false,
|
| 133 |
+
"vllm_server_host": "0.0.0.0",
|
| 134 |
+
"vllm_server_port": 8000
|
| 135 |
+
},
|
| 136 |
+
"trust_remote_code": true,
|
| 137 |
+
"type_of_model": "AutoModelForCausalLM",
|
| 138 |
+
"use_otel_metrics": false,
|
| 139 |
+
"use_ray": false,
|
| 140 |
+
"val_set_size": 0.0,
|
| 141 |
+
"vllm": {
|
| 142 |
+
"device": "auto",
|
| 143 |
+
"dtype": "auto",
|
| 144 |
+
"gpu_memory_utilization": 0.9,
|
| 145 |
+
"host": "0.0.0.0",
|
| 146 |
+
"port": 8000
|
| 147 |
+
},
|
| 148 |
+
"wandb_mode": "disabled",
|
| 149 |
+
"warmup_steps": 50,
|
| 150 |
+
"weight_decay": 0.0,
|
| 151 |
+
"world_size": 1
|
| 152 |
+
}
|
| 153 |
+
[2026-02-21 20:37:22,676] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:285] [PID:5467] EOS: 151643 / <|endoftext|>
|
| 154 |
+
[2026-02-21 20:37:22,677] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:286] [PID:5467] BOS: None / None
|
| 155 |
+
[2026-02-21 20:37:22,677] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:287] [PID:5467] PAD: 151643 / <|endoftext|>
|
| 156 |
+
[2026-02-21 20:37:22,677] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:288] [PID:5467] UNK: None / None
|
| 157 |
+
[2026-02-21 20:37:22,679] [INFO] [axolotl.utils.data.shared.load_preprocessed_dataset:475] [PID:5467] Loading prepared dataset from disk at /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/last_run_prepared/41f31c3c9bc9eb4eb6e943fbbbb74dda...
|
| 158 |
+
[2026-02-21 20:37:22,701] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:417] [PID:5467] total_num_tokens: 12_122
|
| 159 |
+
[2026-02-21 20:37:22,703] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:435] [PID:5467] `total_supervised_tokens: 1_660`
|
| 160 |
+
[2026-02-21 20:37:22,703] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:533] [PID:5467] total_num_steps: 49
|
| 161 |
+
[2026-02-21 20:37:22,703] [INFO] [axolotl.utils.data.sft._prepare_standard_dataset:121] [PID:5467] Maximum number of steps set at 49
|
| 162 |
+
[2026-02-21 20:37:22,735] [DEBUG] [axolotl.train.setup_model_and_tokenizer:70] [PID:5467] loading tokenizer... Qwen/Qwen2-0.5B
|
| 163 |
+
[2026-02-21 20:37:23,594] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:285] [PID:5467] EOS: 151643 / <|endoftext|>
|
| 164 |
+
[2026-02-21 20:37:23,594] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:286] [PID:5467] BOS: None / None
|
| 165 |
+
[2026-02-21 20:37:23,594] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:287] [PID:5467] PAD: 151643 / <|endoftext|>
|
| 166 |
+
[2026-02-21 20:37:23,594] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:288] [PID:5467] UNK: None / None
|
| 167 |
+
[2026-02-21 20:37:23,594] [DEBUG] [axolotl.train.setup_model_and_tokenizer:82] [PID:5467] Loading model
|
| 168 |
+
[2026-02-21 20:37:23,742] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_evaluation_loop:87] [PID:5467] Patched Trainer.evaluation_loop with nanmean loss calculation
|
| 169 |
+
[2026-02-21 20:37:23,744] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_maybe_log_save_evaluate:138] [PID:5467] Patched Trainer._maybe_log_save_evaluate with nanmean loss calculation
|
| 170 |
+
[2026-02-21 20:37:23,752] [WARNING] [transformers.modeling_utils.warning_once:328] [PID:5467] `torch_dtype` is deprecated! Use `dtype` instead!
|
| 171 |
+
[2026-02-21 20:37:27,045] [INFO] [axolotl.loaders.model._prepare_model_for_quantization:853] [PID:5467] converting PEFT model w/ prepare_model_for_kbit_training
|
| 172 |
+
[2026-02-21 20:37:27,047] [INFO] [axolotl.loaders.model._configure_embedding_dtypes:347] [PID:5467] Converting modules to torch.float32
|
| 173 |
+
[2026-02-21 20:37:27,049] [DEBUG] [axolotl.loaders.model.log_gpu_memory_usage:127] [PID:5467] Memory usage after model load 0.000GB (+0.000GB allocated)
|
| 174 |
+
[2026-02-21 20:37:27,053] [WARNING] [py.warnings._showwarnmsg:110] [PID:5467] /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/venv/lib/python3.13/site-packages/peft/tuners/tuners_utils.py:1225: UserWarning: Model has `tie_word_embeddings=True` and a tied layer is part of the adapter, but `ensure_weight_tying` is not set to True. This can lead to complications, for example when merging the adapter or converting your model to formats other than safetensors. Check the discussion here: https://github.com/huggingface/peft/issues/2777
|
| 175 |
+
warnings.warn(msg)
|
| 176 |
+
|
| 177 |
+
trainable params: 276,668,416 || all params: 770,701,184 || trainable%: 35.8983
|
| 178 |
+
[2026-02-21 20:37:27,656] [DEBUG] [axolotl.loaders.model.log_gpu_memory_usage:127] [PID:5467] after adapters 0.000GB (+0.000GB allocated)
|
| 179 |
+
[2026-02-21 20:37:33,551] [INFO] [axolotl.train.save_initial_configs:413] [PID:5467] Pre-saving adapter config to /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/zsh-lora-output...
|
| 180 |
+
[2026-02-21 20:37:33,553] [INFO] [axolotl.train.save_initial_configs:417] [PID:5467] Pre-saving tokenizer to /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/zsh-lora-output...
|
| 181 |
+
[2026-02-21 20:37:33,733] [INFO] [axolotl.train.save_initial_configs:422] [PID:5467] Pre-saving model config to /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/zsh-lora-output...
|
| 182 |
+
[2026-02-21 20:37:33,737] [INFO] [axolotl.train.execute_training:212] [PID:5467] Starting trainer...
|
| 183 |
+
[2026-02-21 20:37:33,737] [WARNING] [transformers.trainer._align_special_tokens:982] [PID:5467] The tokenizer has new PAD/BOS/EOS tokens that differ from the model config and generation config. The model config and generation config were aligned accordingly, being updated with the tokenizer's values. Updated tokens: {'bos_token_id': None, 'pad_token_id': 151643}.
|
| 184 |
+
|
| 185 |
0%| | 0/49 [00:00<?, ?it/s][2026-02-21 20:37:34,099] [WARNING] [py.warnings._showwarnmsg:110] [PID:5467] /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/venv/lib/python3.13/site-packages/torch/utils/data/dataloader.py:1118: UserWarning: 'pin_memory' argument is set as true but not supported on MPS now, device pinned memory won't be used.
|
| 186 |
+
super().__init__(loader)
|
| 187 |
+
|
| 188 |
+
|
| 189 |
2%|β | 1/49 [00:49<39:37, 49.52s/it]
|
| 190 |
4%|β | 2/49 [01:38<38:45, 49.48s/it]
|
| 191 |
6%|β | 3/49 [02:39<41:49, 54.56s/it]
|
| 192 |
8%|β | 4/49 [03:19<36:40, 48.90s/it]
|
| 193 |
10%|β | 5/49 [04:06<35:15, 48.07s/it]
|
| 194 |
12%|ββ | 6/49 [04:46<32:31, 45.39s/it]
|
| 195 |
14%|ββ | 7/49 [05:33<32:04, 45.82s/it]
|
| 196 |
16%|ββ | 8/49 [06:19<31:27, 46.03s/it]
|
| 197 |
18%|ββ | 9/49 [06:59<29:27, 44.20s/it]
|
| 198 |
20%|ββ | 10/49 [07:39<27:45, 42.71s/it]
|
| 199 |
|
| 200 |
+
|
| 201 |
20%|ββ | 10/49 [07:43<27:45, 42.71s/it]
|
| 202 |
22%|βββ | 11/49 [08:20<26:48, 42.33s/it]
|
| 203 |
24%|βββ | 12/49 [09:11<27:37, 44.80s/it]
|
| 204 |
27%|βββ | 13/49 [09:56<27:02, 45.07s/it]
|
| 205 |
29%|βββ | 14/49 [10:45<26:55, 46.15s/it]
|
| 206 |
31%|βββ | 15/49 [11:29<25:49, 45.58s/it][2026-02-21 20:49:03,976] [INFO] [axolotl.core.trainers.base._save:721] [PID:5467] Saving model checkpoint to /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/zsh-lora-output/checkpoint-15
|
| 207 |
+
|
| 208 |
33%|ββββ | 16/49 [12:34<28:15, 51.37s/it]
|
| 209 |
35%|ββββ | 17/49 [13:17<26:04, 48.90s/it]
|
| 210 |
37%|ββββ | 18/49 [14:01<24:26, 47.32s/it]
|
| 211 |
39%|ββββ | 19/49 [14:52<24:09, 48.31s/it]
|
| 212 |
41%|ββββ | 20/49 [15:42<23:36, 48.83s/it]
|
| 213 |
|
| 214 |
+
|
| 215 |
41%|ββββ | 20/49 [15:47<23:36, 48.83s/it]
|
| 216 |
43%|βββββ | 21/49 [16:32<22:58, 49.25s/it]
|
| 217 |
45%|βββββ | 22/49 [17:12<20:53, 46.42s/it]
|
| 218 |
47%|βββββ | 23/49 [17:55<19:46, 45.63s/it]
|
| 219 |
49%|βββββ | 24/49 [18:36<18:24, 44.19s/it]
|
| 220 |
51%|βββββ | 25/49 [19:00<15:11, 37.96s/it][2026-02-21 20:56:34,355] [WARNING] [py.warnings._showwarnmsg:110] [PID:5467] /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/venv/lib/python3.13/site-packages/torch/utils/data/dataloader.py:1118: UserWarning: 'pin_memory' argument is set as true but not supported on MPS now, device pinned memory won't be used.
|
| 221 |
+
super().__init__(loader)
|
| 222 |
+
|
| 223 |
+
|
| 224 |
53%|ββββββ | 26/49 [19:50<16:01, 41.81s/it]
|
| 225 |
55%|ββββββ | 27/49 [20:32<15:20, 41.84s/it]
|
| 226 |
57%|ββββββ | 28/49 [21:19<15:08, 43.24s/it]
|
| 227 |
59%|ββββββ | 29/49 [22:10<15:13, 45.67s/it]
|
| 228 |
61%|ββββββ | 30/49 [23:16<16:22, 51.72s/it]
|
| 229 |
|
| 230 |
+
|
| 231 |
61%|ββββββ | 30/49 [23:22<16:22, 51.72s/it][2026-02-21 21:00:56,360] [INFO] [axolotl.core.trainers.base._save:721] [PID:5467] Saving model checkpoint to /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/zsh-lora-output/checkpoint-30
|
| 232 |
+
|
| 233 |
63%|βββββββ | 31/49 [24:24<16:58, 56.56s/it]
|
| 234 |
65%|βββββββ | 32/49 [25:20<16:00, 56.51s/it]
|
| 235 |
67%|βββββββ | 33/49 [26:27<15:51, 59.48s/it]
|
| 236 |
69%|βββββββ | 34/49 [27:21<14:26, 57.79s/it]
|
| 237 |
71%|ββββββββ | 35/49 [28:10<12:52, 55.20s/it]
|
| 238 |
73%|ββββββββ | 36/49 [28:50<11:00, 50.77s/it]
|
| 239 |
76%|ββββββββ | 37/49 [29:32<09:37, 48.10s/it]
|
| 240 |
78%|ββββββββ | 38/49 [30:19<08:46, 47.83s/it]
|
| 241 |
80%|ββββββββ | 39/49 [31:07<07:57, 47.79s/it]
|
| 242 |
82%|βββββββββ | 40/49 [31:54<07:07, 47.45s/it]
|
| 243 |
|
| 244 |
+
|
| 245 |
82%|βββββββββ | 40/49 [31:59<07:07, 47.45s/it]
|
| 246 |
84%|βββββββββ | 41/49 [33:01<07:06, 53.31s/it]
|
| 247 |
86%|βββββββββ | 42/49 [33:56<06:17, 53.91s/it]
|
| 248 |
88%|βββββββββ | 43/49 [34:57<05:35, 55.99s/it]
|
| 249 |
90%|βββββββββ | 44/49 [35:49<04:34, 54.85s/it]
|
| 250 |
92%|ββββββββββ| 45/49 [36:49<03:45, 56.49s/it][2026-02-21 21:14:23,862] [INFO] [axolotl.core.trainers.base._save:721] [PID:5467] Saving model checkpoint to /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/zsh-lora-output/checkpoint-45
|
| 251 |
+
|
| 252 |
94%|ββββββββββ| 46/49 [38:04<03:05, 61.88s/it]
|
| 253 |
96%|ββββββββββ| 47/49 [38:53<01:56, 58.24s/it]
|
| 254 |
98%|ββββββββββ| 48/49 [39:49<00:57, 57.40s/it]
|
| 255 |
+
|
| 256 |
|
| 257 |
+
|
| 258 |
+
[2026-02-21 21:18:29,199] [INFO] [axolotl.train.save_trained_model:233] [PID:5467] Training completed! Saving trained model to /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/zsh-lora-output.
|
| 259 |
+
[2026-02-21 21:18:31,934] [INFO] [axolotl.train.save_trained_model:351] [PID:5467] Model successfully saved to /Users/duoyun/Desktop/zsh-llm-cli-autocomplete-tool/zsh-lora-output
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>"
|
| 5 |
+
],
|
| 6 |
+
"eos_token": {
|
| 7 |
+
"content": "<|endoftext|>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false
|
| 12 |
+
},
|
| 13 |
+
"pad_token": {
|
| 14 |
+
"content": "<|endoftext|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false
|
| 19 |
+
}
|
| 20 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bcfe42da0a4497e8b2b172c1f9f4ec423a46dc12907f4349c55025f670422ba9
|
| 3 |
+
size 11418266
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"151643": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"151644": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"151645": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
"additional_special_tokens": [
|
| 30 |
+
"<|im_start|>",
|
| 31 |
+
"<|im_end|>"
|
| 32 |
+
],
|
| 33 |
+
"bos_token": null,
|
| 34 |
+
"clean_up_tokenization_spaces": false,
|
| 35 |
+
"eos_token": "<|endoftext|>",
|
| 36 |
+
"errors": "replace",
|
| 37 |
+
"extra_special_tokens": {},
|
| 38 |
+
"model_max_length": 32768,
|
| 39 |
+
"pad_token": "<|endoftext|>",
|
| 40 |
+
"split_special_tokens": false,
|
| 41 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 42 |
+
"unk_token": null
|
| 43 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|