checkpoint-42 | step 42 | loss 0.5525 | 0.1% complete
Browse files- .gitattributes +1 -0
- checkpoint-42/README.md +80 -0
- checkpoint-42/adapter_config.json +48 -0
- checkpoint-42/adapter_model.safetensors +3 -0
- checkpoint-42/chat_template.jinja +54 -0
- checkpoint-42/optimizer.pt +3 -0
- checkpoint-42/rng_state.pth +3 -0
- checkpoint-42/scheduler.pt +3 -0
- checkpoint-42/tokenizer.json +3 -0
- checkpoint-42/tokenizer_config.json +30 -0
- checkpoint-42/trainer_state.json +62 -0
- checkpoint-42/training_args.bin +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ 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-42/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
checkpoint-42/README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ScriptSwiftAI v12 (Dikshan)
|
| 2 |
+
|
| 3 |
+
> QLoRA fine-tuned full-stack code generation model by **Dikshan** (India).
|
| 4 |
+
> Covers Python, Django, Flask, FastAPI, React, Next.js, TypeScript, SQL, Docker.
|
| 5 |
+
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
## License
|
| 9 |
+
|
| 10 |
+
**CC BY-NC 4.0** — Non-commercial use only. Must credit Dikshan / ScriptSwiftAI.
|
| 11 |
+
https://creativecommons.org/licenses/by-nc/4.0/
|
| 12 |
+
|
| 13 |
+
**Copyright © 2026 Dikshan. All rights reserved.**
|
| 14 |
+
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
## Model Details
|
| 18 |
+
|
| 19 |
+
| Property | Value |
|
| 20 |
+
|---|---|
|
| 21 |
+
| **Base Model** | Qwen2.5-Coder-7B-Instruct |
|
| 22 |
+
| **Method** | QLoRA (4-bit, r=64) |
|
| 23 |
+
| **Hardware** | NVIDIA RTX 5070 Ti 16GB |
|
| 24 |
+
| **Target Steps** | 40,000 |
|
| 25 |
+
| **Dataset** | ~450-500k samples (17 datasets) |
|
| 26 |
+
| **Max Length** | 1536 tokens |
|
| 27 |
+
| **Developer** | Dikshan (India) |
|
| 28 |
+
| **Training Started** | June 2026 |
|
| 29 |
+
|
| 30 |
+
---
|
| 31 |
+
|
| 32 |
+
## Changelog / Training Timeline
|
| 33 |
+
|
| 34 |
+
*Auto-updated by train_v12.py on every checkpoint save.*
|
| 35 |
+
*Append-only — entries never overwritten. HuggingFace commit history provides timestamps.*
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
### 🔵 Checkpoint — Step 13
|
| 41 |
+
**Date:** June 22, 2026 at 18:44 IST
|
| 42 |
+
**Checkpoint:** checkpoint-13
|
| 43 |
+
**Step:** 13 / 40,000 (0.0% complete)
|
| 44 |
+
**Loss:** 0.6164
|
| 45 |
+
**Epoch:** 0.000
|
| 46 |
+
**Zone:** 📚 Learning
|
| 47 |
+
**Status:** Training ongoing — auto-uploaded via train_v12.py
|
| 48 |
+
|
| 49 |
+
---
|
| 50 |
+
|
| 51 |
+
### 🔵 Checkpoint — Step 25
|
| 52 |
+
**Date:** June 22, 2026 at 18:50 IST
|
| 53 |
+
**Checkpoint:** checkpoint-25
|
| 54 |
+
**Step:** 25 / 40,000 (0.1% complete)
|
| 55 |
+
**Loss:** 0.6057
|
| 56 |
+
**Epoch:** 0.001
|
| 57 |
+
**Zone:** 📚 Learning
|
| 58 |
+
**Status:** Training ongoing — auto-uploaded via train_v12.py
|
| 59 |
+
|
| 60 |
+
---
|
| 61 |
+
|
| 62 |
+
### 🔵 Checkpoint — Step 36
|
| 63 |
+
**Date:** June 22, 2026 at 18:58 IST
|
| 64 |
+
**Checkpoint:** checkpoint-36
|
| 65 |
+
**Step:** 36 / 40,000 (0.1% complete)
|
| 66 |
+
**Loss:** 0.5508
|
| 67 |
+
**Epoch:** 0.001
|
| 68 |
+
**Zone:** 📚 Learning
|
| 69 |
+
**Status:** Training ongoing — auto-uploaded via train_v12.py
|
| 70 |
+
|
| 71 |
+
---
|
| 72 |
+
|
| 73 |
+
### 🔵 Checkpoint — Step 42
|
| 74 |
+
**Date:** June 22, 2026 at 19:08 IST
|
| 75 |
+
**Checkpoint:** checkpoint-42
|
| 76 |
+
**Step:** 42 / 40,000 (0.1% complete)
|
| 77 |
+
**Loss:** 0.5525
|
| 78 |
+
**Epoch:** 0.001
|
| 79 |
+
**Zone:** 📚 Learning
|
| 80 |
+
**Status:** Training ongoing — auto-uploaded via train_v12.py
|
checkpoint-42/adapter_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.5-Coder-7B-Instruct",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 128,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
+
"qalora_group_size": 16,
|
| 29 |
+
"r": 64,
|
| 30 |
+
"rank_pattern": {},
|
| 31 |
+
"revision": null,
|
| 32 |
+
"target_modules": [
|
| 33 |
+
"gate_proj",
|
| 34 |
+
"down_proj",
|
| 35 |
+
"q_proj",
|
| 36 |
+
"up_proj",
|
| 37 |
+
"k_proj",
|
| 38 |
+
"v_proj",
|
| 39 |
+
"o_proj"
|
| 40 |
+
],
|
| 41 |
+
"target_parameters": null,
|
| 42 |
+
"task_type": "CAUSAL_LM",
|
| 43 |
+
"trainable_token_indices": null,
|
| 44 |
+
"use_bdlora": null,
|
| 45 |
+
"use_dora": false,
|
| 46 |
+
"use_qalora": false,
|
| 47 |
+
"use_rslora": false
|
| 48 |
+
}
|
checkpoint-42/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce17ca8008ffb1ed1d0cc497c54038ef77792dac1212e4cd16b8443ae1a550f2
|
| 3 |
+
size 645975704
|
checkpoint-42/chat_template.jinja
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 4 |
+
{{- messages[0]['content'] }}
|
| 5 |
+
{%- else %}
|
| 6 |
+
{{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
|
| 7 |
+
{%- endif %}
|
| 8 |
+
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 9 |
+
{%- for tool in tools %}
|
| 10 |
+
{{- "\n" }}
|
| 11 |
+
{{- tool | tojson }}
|
| 12 |
+
{%- endfor %}
|
| 13 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 14 |
+
{%- else %}
|
| 15 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
+
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 17 |
+
{%- else %}
|
| 18 |
+
{{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
|
| 19 |
+
{%- endif %}
|
| 20 |
+
{%- endif %}
|
| 21 |
+
{%- for message in messages %}
|
| 22 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
|
| 23 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 24 |
+
{%- elif message.role == "assistant" %}
|
| 25 |
+
{{- '<|im_start|>' + message.role }}
|
| 26 |
+
{%- if message.content %}
|
| 27 |
+
{{- '\n' + message.content }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{%- for tool_call in message.tool_calls %}
|
| 30 |
+
{%- if tool_call.function is defined %}
|
| 31 |
+
{%- set tool_call = tool_call.function %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '\n<tool_call>\n{"name": "' }}
|
| 34 |
+
{{- tool_call.name }}
|
| 35 |
+
{{- '", "arguments": ' }}
|
| 36 |
+
{{- tool_call.arguments | tojson }}
|
| 37 |
+
{{- '}\n</tool_call>' }}
|
| 38 |
+
{%- endfor %}
|
| 39 |
+
{{- '<|im_end|>\n' }}
|
| 40 |
+
{%- elif message.role == "tool" %}
|
| 41 |
+
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
| 42 |
+
{{- '<|im_start|>user' }}
|
| 43 |
+
{%- endif %}
|
| 44 |
+
{{- '\n<tool_response>\n' }}
|
| 45 |
+
{{- message.content }}
|
| 46 |
+
{{- '\n</tool_response>' }}
|
| 47 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 48 |
+
{{- '<|im_end|>\n' }}
|
| 49 |
+
{%- endif %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{%- if add_generation_prompt %}
|
| 53 |
+
{{- '<|im_start|>assistant\n' }}
|
| 54 |
+
{%- endif %}
|
checkpoint-42/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93bfc634f201a9fd425a1007f5c7f96538afe06795e6abb2afc19e999a84e64e
|
| 3 |
+
size 329492499
|
checkpoint-42/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d03c2a998d70d4985257c1d453213a9f6370518bd080e81345911b743c20b4d6
|
| 3 |
+
size 14645
|
checkpoint-42/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4deb6569d5c23d884449c04303963357ac2b50c41eaf05a3009247ad73d2be22
|
| 3 |
+
size 1465
|
checkpoint-42/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
|
| 3 |
+
size 11421892
|
checkpoint-42/tokenizer_config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": false,
|
| 24 |
+
"local_files_only": false,
|
| 25 |
+
"model_max_length": 32768,
|
| 26 |
+
"pad_token": "<|im_end|>",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 29 |
+
"unk_token": null
|
| 30 |
+
}
|
checkpoint-42/trainer_state.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 0.00017536776996132774,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 42,
|
| 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.0002922796166022129,
|
| 14 |
+
"grad_norm": 0.3604201674461365,
|
| 15 |
+
"learning_rate": 1.8e-06,
|
| 16 |
+
"loss": 0.6163836479187011,
|
| 17 |
+
"step": 10
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.0005845592332044258,
|
| 21 |
+
"grad_norm": 0.307494193315506,
|
| 22 |
+
"learning_rate": 3.8e-06,
|
| 23 |
+
"loss": 0.6056640148162842,
|
| 24 |
+
"step": 20
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.00014613980830110646,
|
| 28 |
+
"grad_norm": 0.1861964464187622,
|
| 29 |
+
"learning_rate": 5.8e-06,
|
| 30 |
+
"loss": 0.5507771968841553,
|
| 31 |
+
"step": 30
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.00011691184664088517,
|
| 35 |
+
"grad_norm": 0.18063770234584808,
|
| 36 |
+
"learning_rate": 7.8e-06,
|
| 37 |
+
"loss": 0.5524736642837524,
|
| 38 |
+
"step": 40
|
| 39 |
+
}
|
| 40 |
+
],
|
| 41 |
+
"logging_steps": 10,
|
| 42 |
+
"max_steps": 40000,
|
| 43 |
+
"num_input_tokens_seen": 0,
|
| 44 |
+
"num_train_epochs": 2,
|
| 45 |
+
"save_steps": 1000,
|
| 46 |
+
"stateful_callbacks": {
|
| 47 |
+
"TrainerControl": {
|
| 48 |
+
"args": {
|
| 49 |
+
"should_epoch_stop": false,
|
| 50 |
+
"should_evaluate": false,
|
| 51 |
+
"should_log": false,
|
| 52 |
+
"should_save": true,
|
| 53 |
+
"should_training_stop": false
|
| 54 |
+
},
|
| 55 |
+
"attributes": {}
|
| 56 |
+
}
|
| 57 |
+
},
|
| 58 |
+
"total_flos": 4.478949358829568e+16,
|
| 59 |
+
"train_batch_size": 1,
|
| 60 |
+
"trial_name": null,
|
| 61 |
+
"trial_params": null
|
| 62 |
+
}
|
checkpoint-42/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6ab51bd599651344f26a67a1d940a2b6432da90051bdf388dcef2423ea1342d
|
| 3 |
+
size 5329
|