Views
No views yet
| File | Description |
|---|---|
adapter_model.safetensors | LoRA adapter weights (unmerged) |
adapter_config.json | LoRA configuration |
qwen4b-s1-Q4_K_M.gguf | Quantized GGUF (Q4_K_M, ~2.4GB) |
tokenizer.json | Tokenizer |
| Dataset | Samples | Purpose |
|---|---|---|
| open-thoughts/OpenThoughts-114k | 113,957 | Reasoning / Chain-of-thought |
| teknium/OpenHermes-2.5 | 30,000 | General chat |
| HuggingFaceH4/ultrachat_200k | 30,000 | Conversation |
| WizardLM/WizardLM_evol_instruct_V2_196k | 20,000 | Instruction following |
| nvidia/OpenMathInstruct-2 | 50,000 | Math |
| AI-MO/NuminaMath-CoT | 20,000 | Math competition |
| hotpot_qa | 10,000 | Multi-hop QA |
| squad_v2 | 8,000 | Factual QA |
| trivia_qa | 5,000 | Factual QA |
| google-research-datasets/natural_questions | 5,000 | Factual QA |
| google-research-datasets/mbpp | 374 | Coding |
| iamtarun/python_code_instructions_18k_alpaca | 5,000 | Coding |
| bigcode/self-oss-instruct-sc2-exec-filter-50k | 10,000 | Coding |
| Parameter | Value |
|---|---|
| LoRA rank | 64 |
| LoRA alpha | 64 |
| Learning rate | 1e-4 cosine |
| Epochs | 2 |
| Sequence length | 4096 |
| Batch size | 4 (effective 32) |
| Optimizer | adamw_8bit |
| Final loss | 0.4861 |
ollama run hf.co/lqfdjbf32n/Qwen3-4B-Stage1:Q4_K_M1llama-cli -m qwen4b-s1-Q4_K_M.gguf \
2 -p "<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n<|im_start|>user\nYour question here<|im_end|>\n<|im_start|>assistant\n" \
3 -n 5121from unsloth import FastLanguageModel
2from peft import PeftModel
3import torch
4
5model, tokenizer = FastLanguageModel.from_pretrained(
6 "unsloth/Qwen3-4B",
7 max_seq_length=4096,
8 dtype=torch.bfloat16,
9 load_in_4bit=False,
10)
11model = PeftModel.from_pretrained(model, "lqfdjbf32n/Qwen3-4B-Stage1")
12model = model.merge_and_unload()| Model | Description |
|---|---|
| Qwen2.5-0.5B-ReasonChat | 0.5B edge model, reasoning + chat merged |
| Qwen3-4B-Stage1 | 4B general foundation (this model) |
| Qwen3-4B-Stage2 | 4B + Claude reasoning injection (coming soon) |