Instructions to use kk-aivio/test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kk-aivio/test with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/SmolLM-135M-Instruct") model = PeftModel.from_pretrained(base_model, "kk-aivio/test") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +16 -18
- adapter_config.json +5 -5
- adapter_model.bin +1 -1
- adapter_model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -20,7 +20,7 @@ axolotl version: `0.4.1`
|
|
| 20 |
```yaml
|
| 21 |
adapter: lora
|
| 22 |
base_model: unsloth/SmolLM-135M-Instruct
|
| 23 |
-
bf16:
|
| 24 |
chat_template: llama3
|
| 25 |
dataset_prepared_path: null
|
| 26 |
datasets:
|
|
@@ -41,19 +41,20 @@ deepspeed: null
|
|
| 41 |
early_stopping_patience: null
|
| 42 |
eval_max_new_tokens: 128
|
| 43 |
eval_table_size: null
|
| 44 |
-
evals_per_epoch:
|
| 45 |
flash_attention: false
|
| 46 |
fp16: null
|
| 47 |
fsdp: null
|
| 48 |
fsdp_config: null
|
| 49 |
gradient_accumulation_steps: 4
|
| 50 |
-
gradient_checkpointing:
|
|
|
|
| 51 |
group_by_length: false
|
| 52 |
hub_model_id: kk-aivio/test
|
| 53 |
hub_repo: null
|
| 54 |
-
hub_strategy:
|
| 55 |
hub_token: null
|
| 56 |
-
learning_rate:
|
| 57 |
load_in_4bit: false
|
| 58 |
load_in_8bit: false
|
| 59 |
local_rank: null
|
|
@@ -65,7 +66,7 @@ lora_model_dir: null
|
|
| 65 |
lora_r: 8
|
| 66 |
lora_target_linear: true
|
| 67 |
lr_scheduler: cosine
|
| 68 |
-
max_steps:
|
| 69 |
micro_batch_size: 2
|
| 70 |
mlflow_experiment_name: /tmp/8f98792a60ccddb6_train_data.json
|
| 71 |
model_type: AutoModelForCausalLM
|
|
@@ -76,8 +77,8 @@ pad_to_sequence_len: true
|
|
| 76 |
resume_from_checkpoint: null
|
| 77 |
s2_attention: null
|
| 78 |
sample_packing: false
|
| 79 |
-
saves_per_epoch:
|
| 80 |
-
sequence_len:
|
| 81 |
strict: false
|
| 82 |
tf32: false
|
| 83 |
tokenizer_type: AutoTokenizer
|
|
@@ -90,9 +91,9 @@ wandb_name: ec775fcf-a2f3-4d2e-b927-b54ca72381d3
|
|
| 90 |
wandb_project: Gradients-On-Demand
|
| 91 |
wandb_run: your_name
|
| 92 |
wandb_runid: ec775fcf-a2f3-4d2e-b927-b54ca72381d3
|
| 93 |
-
warmup_steps:
|
| 94 |
-
weight_decay: 0.
|
| 95 |
-
xformers_attention:
|
| 96 |
|
| 97 |
```
|
| 98 |
|
|
@@ -121,7 +122,7 @@ More information needed
|
|
| 121 |
### Training hyperparameters
|
| 122 |
|
| 123 |
The following hyperparameters were used during training:
|
| 124 |
-
- learning_rate:
|
| 125 |
- train_batch_size: 2
|
| 126 |
- eval_batch_size: 2
|
| 127 |
- seed: 42
|
|
@@ -129,17 +130,14 @@ The following hyperparameters were used during training:
|
|
| 129 |
- total_train_batch_size: 8
|
| 130 |
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 131 |
- lr_scheduler_type: cosine
|
| 132 |
-
- lr_scheduler_warmup_steps:
|
| 133 |
-
- training_steps:
|
| 134 |
|
| 135 |
### Training results
|
| 136 |
|
| 137 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 138 |
|:-------------:|:------:|:----:|:---------------:|
|
| 139 |
-
| 0.0 | 0.
|
| 140 |
-
| 0.0 | 0.0085 | 3 | nan |
|
| 141 |
-
| 0.0 | 0.0171 | 6 | nan |
|
| 142 |
-
| 0.0 | 0.0256 | 9 | nan |
|
| 143 |
|
| 144 |
|
| 145 |
### Framework versions
|
|
|
|
| 20 |
```yaml
|
| 21 |
adapter: lora
|
| 22 |
base_model: unsloth/SmolLM-135M-Instruct
|
| 23 |
+
bf16: true
|
| 24 |
chat_template: llama3
|
| 25 |
dataset_prepared_path: null
|
| 26 |
datasets:
|
|
|
|
| 41 |
early_stopping_patience: null
|
| 42 |
eval_max_new_tokens: 128
|
| 43 |
eval_table_size: null
|
| 44 |
+
evals_per_epoch: 1
|
| 45 |
flash_attention: false
|
| 46 |
fp16: null
|
| 47 |
fsdp: null
|
| 48 |
fsdp_config: null
|
| 49 |
gradient_accumulation_steps: 4
|
| 50 |
+
gradient_checkpointing: true
|
| 51 |
+
gradient_clipping: 1.0
|
| 52 |
group_by_length: false
|
| 53 |
hub_model_id: kk-aivio/test
|
| 54 |
hub_repo: null
|
| 55 |
+
hub_strategy: end
|
| 56 |
hub_token: null
|
| 57 |
+
learning_rate: 5.0e-05
|
| 58 |
load_in_4bit: false
|
| 59 |
load_in_8bit: false
|
| 60 |
local_rank: null
|
|
|
|
| 66 |
lora_r: 8
|
| 67 |
lora_target_linear: true
|
| 68 |
lr_scheduler: cosine
|
| 69 |
+
max_steps: 200
|
| 70 |
micro_batch_size: 2
|
| 71 |
mlflow_experiment_name: /tmp/8f98792a60ccddb6_train_data.json
|
| 72 |
model_type: AutoModelForCausalLM
|
|
|
|
| 77 |
resume_from_checkpoint: null
|
| 78 |
s2_attention: null
|
| 79 |
sample_packing: false
|
| 80 |
+
saves_per_epoch: 1
|
| 81 |
+
sequence_len: 1024
|
| 82 |
strict: false
|
| 83 |
tf32: false
|
| 84 |
tokenizer_type: AutoTokenizer
|
|
|
|
| 91 |
wandb_project: Gradients-On-Demand
|
| 92 |
wandb_run: your_name
|
| 93 |
wandb_runid: ec775fcf-a2f3-4d2e-b927-b54ca72381d3
|
| 94 |
+
warmup_steps: 5
|
| 95 |
+
weight_decay: 0.01
|
| 96 |
+
xformers_attention: true
|
| 97 |
|
| 98 |
```
|
| 99 |
|
|
|
|
| 122 |
### Training hyperparameters
|
| 123 |
|
| 124 |
The following hyperparameters were used during training:
|
| 125 |
+
- learning_rate: 5e-05
|
| 126 |
- train_batch_size: 2
|
| 127 |
- eval_batch_size: 2
|
| 128 |
- seed: 42
|
|
|
|
| 130 |
- total_train_batch_size: 8
|
| 131 |
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 132 |
- lr_scheduler_type: cosine
|
| 133 |
+
- lr_scheduler_warmup_steps: 5
|
| 134 |
+
- training_steps: 200
|
| 135 |
|
| 136 |
### Training results
|
| 137 |
|
| 138 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 139 |
|:-------------:|:------:|:----:|:---------------:|
|
| 140 |
+
| 0.0 | 0.5690 | 200 | nan |
|
|
|
|
|
|
|
|
|
|
| 141 |
|
| 142 |
|
| 143 |
### Framework versions
|
adapter_config.json
CHANGED
|
@@ -20,13 +20,13 @@
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
| 23 |
-
"
|
| 24 |
-
"v_proj",
|
| 25 |
-
"gate_proj",
|
| 26 |
"k_proj",
|
|
|
|
| 27 |
"o_proj",
|
| 28 |
-
"
|
| 29 |
-
"
|
|
|
|
| 30 |
],
|
| 31 |
"task_type": "CAUSAL_LM",
|
| 32 |
"use_dora": false,
|
|
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
| 23 |
+
"up_proj",
|
|
|
|
|
|
|
| 24 |
"k_proj",
|
| 25 |
+
"gate_proj",
|
| 26 |
"o_proj",
|
| 27 |
+
"down_proj",
|
| 28 |
+
"q_proj",
|
| 29 |
+
"v_proj"
|
| 30 |
],
|
| 31 |
"task_type": "CAUSAL_LM",
|
| 32 |
"use_dora": false,
|
adapter_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 9919898
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e078c1f09f143010b5531d17e6b0bc125e01e78e3fbe602ae00a89b462c7a32a
|
| 3 |
size 9919898
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 9823216
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f30f5199b856cf4be6434e8e28931fada05775a8edc189335bd3efbdc55172e
|
| 3 |
size 9823216
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 6712
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a0db34003c8b83cfde6c82effb9b4ff997a103e07023814f6641daae954cd05
|
| 3 |
size 6712
|