ourbz/Qwenius-4B-v0.05-GGUF overview
๐ Qwenius 4B v0.05 GGUF An optimized fine tune of Qwen 3.5 4B Base Qwen/Qwen3.5 4B Base , specialized in conversational reasoning, multi turn dialogue, and coโฆ
Runs locally from ~641.3 MB disk (4 GB VRAM class GPUs with llama.cpp / guIDE).
Repository Files & Downloads
Model Details
| Model ID | ourbz/Qwenius-4B-v0.05-GGUF |
|---|---|
| Author | ourbz |
| Pipeline | text-generation |
| License | apache-2.0 |
| Base model | Qwen/Qwen3.5-4B-Base |
| Last modified | 2026-07-18T05:50:12.000Z |
Model README
---
license: apache-2.0
base_model: Qwen/Qwen3.5-4B-Base
tags:
- text-generation
- image-text-to-text
- unsloth
- qlora
- gguf
- vision
- multimodal
- conversational
- logic
- logic-puzzles
datasets:
- ianncity/GLM-5.2-Conversation
- ianncity/GLM-5.2-Logic-Puzzles
---
๐ Qwenius-4B-v0.05 (GGUF)
An optimized fine-tune of Qwen 3.5 4B Base (Qwen/Qwen3.5-4B-Base), specialized in conversational reasoning, multi-turn dialogue, and complex logic puzzles.
This model was trained using the QLoRA method via the Unsloth Studio Web UI, and quantized to GGUF format for local inference. It contains the quantized model weights along with the companion multimodal projector (mmproj-model-f16.gguf) to support vision-language capabilities.
---
๐พ Files in this Repository
Qwenius-4B-v0.05-q4_k_m.gguf(2.78 GB): The core 4-bit medium (Q4_K_M) quantized model weights.mmproj-model-f16.gguf(672 MB): The companion 16-bit float visual projector required to process image inputs..gitattributes: Standard git repository configuration file.
---
๐ Dataset Curation & Filtering Pipeline
To train Qwenius-4B-v0.05, raw conversational and logical reasoning traces were sourced from two datasets:
- ianncity/GLM-5.2-Conversation: High-reasoning conversational traces distilled from GLM 5.2.
- ianncity/GLM-5.2-Logic-Puzzles: Complex logical puzzles and step-by-step reasoning exercises.
๐งน Custom Preprocessing (Private Python Application)
Before initiating training, the raw data was filtered and cleaned using a custom-built, private Python application. Every training sample was constrained to a maximum length of 2,000 tokens. The filtering process pruned a large number of low-quality or out-of-scope samples to yield a finalized, high-quality training set of exactly 15,248 samples.
The curation rules implemented in the custom Python application were structured as follows:
1. Quality Filters & Denoising (Sequence Thresholds)
- Sequence Length Thresholds (Characters):
User Prompt:* Min 1 / Max 500 characters.
Reasoning Block (Chain-of-Thought):* Min 1 / Max 6,000 characters.
Final Output (excluding thinking tags):* Min 1 / Max 1,500 characters.
- Turn Validation & Cleaning:
* Enforce Turn Alternation: Ensured conversations strictly alternate between User โ Assistant roles.
* Filter Repetitive Generations: Repetitive loop patterns and degenerate output sequences were cleaned.
* Require Reasoning Tag Pair: Only samples containing matching, unbroken thinking tag pairs were accepted.
* Filter HTML & Unicode Noise: Unrendered HTML templates and binary/corrupted Unicode structures were stripped.
* Filter Common AI Refusals: Systematic filtering was applied to prevent the model from learning repetitive refusal templates. This stripped out standard boilerplate refusal phrases such as:
> "as an ai", "as a language model", "as an assistant", "against my programming", "violates my guidelines", "i am unable", "i cannot", "i apologize but", "i'm sorry", "not ethical", "is illegal and unethical", "potentially harmful", "i'm not permitted to", "is not capable of" (among other variations).
2. Cross-Dataset Prompt De-duplication
Prompt comparisons were evaluated both within each individual dataset and across the entire dataset pool:
- Near-Duplicate Pruning: Enabled.
- De-duplication Algorithm:
Jaccard(Fast and scalable token-set based approach). - Similarity Threshold:
0.85(A higher threshold requiring highly similar matches before removal, protecting unique semantic variety). - Detailed Debug Logging: Enabled.
---
โ๏ธ Hyperparameters & Training Configuration
Fine-tuning was conducted locally via the Unsloth Studio Web UI with the following parameters:
๐ฏ LoRA Settings:
- Rank (R):
32 - Alpha ($\alpha$):
64 - Dropout:
0.00 - Target Modules:
q_proj,k_proj,v_proj,o_proj,gate_proj,up_proj,down_proj
๐ง Optimization & Schedule:
- Optimizer:
AdamW 8-bit - LR Scheduler:
Cosine - Learning Rate:
0.0002(2e-4) - Batch Size:
2 - Gradient Accumulation Steps:
4 - Weight Decay:
0.0001 - Context Length:
2048
---
๐ Training Performance & Observability
The training run successfully completed with a steady, stable convergence.
โฑ๏ธ Training Statistics:
- Epochs:
1.00(100% complete) - Total Steps:
1890 / 1890 - Elapsed Time:
5h 20m 50s - Training Speed:
0.10 steps/s - Total Trained Tokens:
17,653,060(~17.65M tokens)
๐ End-of-Run Metrics:
- Smoothed Loss:
0.5593(Final Step Loss:0.5594) ๐ - Learning Rate: Decay completed to
0.00e+0 - Gradient Norm:
0.287 - Evaluation Loss: Consistently decreased from
0.6068(at step 100) down to approximately0.55(at step 1800), verifying solid generalization without overfitting.
---
๐ป Hardware Setup
The model was fine-tuned locally using the following system hardware:
- GPU: NVIDIA GeForce RTX 5070 Ti (16 GB GDDR7 VRAM)
- System Memory: 32 GB RAM
- Export Path: Saved locally to
C:\Users\Mat\.unsloth\studio\outputs\Qwen_Qwen3.5-4B-Base__project-qwenius-4b-v0.05_1784315694before Hugging Face deployment.
---
๐ง Recommended Inference Parameters
For optimal generation behavior, reasoning stability, and coherent multi-turn outputs, we recommend using the following sampling parameters:
- Temperature:
0.6๐ก๏ธ - Top P Sampling:
0.95(Enabled) - Top K Sampling:
20(Enabled) - Repeat Penalty:
1.0(Enabled / Neutral) - Presence Penalty:
1.3(Enabled) โ ๏ธ (Crucial for loop mitigation) - Min P Sampling:
0.0(Enabled / Neutral)
โ ๏ธ Critical Warning: Infinite Chain-of-Thought (CoT) Loops
Due to intensive training on complex reasoning traces, this model has a strong inclination to think deeply. However, under certain prompting conditions or with specific context windows, it can occasionally get stuck in an infinite chain-of-thought (CoT) loop (generating reasoning tokens inside its thinking tags indefinitely without transitioning to a final answer).
Mitigation Strategies:
- Presence Penalty: Ensure that the Presence Penalty is set to
1.3(as recommended in the configuration). This penalizes the exact repetition of tokens and structures, helping the model break out of reasoning loops. - Structural Stop Tokens: Set explicit stop sequences in your local inference client (such as Llama.cpp or LM Studio) to trigger on closing tags (e.g.,
</thought>or conversational turn-ending markers) to forcefully stop generations that run too long. - Entropy Insertion: If the model gets persistently stuck, slightly raising the Temperature (e.g., to
0.7or0.8) or increasing Top K can introduce enough entropy to derail a repetitive generation loop.
โ ๏ธ Important Notice: Disable MTP (Multi-Token Prediction)
MTP speculative decoding must be kept disabled during inference for this model.
- Architecture Limitation: Since this GGUF was merged from a custom QLoRA fine-tune, the model weights do not contain the specialized Multi-Token Prediction (MTP) output heads.
- Vision Projector Conflicts: Multimodal inference utilizing the visual projector (
mmproj-model-f16.gguf) does not natively support or compute with active MTP speculative decoding across many popular engines.
Ensure that speculative decoding / MTP features (such as --spec-type draft-mtp in llama.cpp or the "MTP Speculative Decoding" toggle in LM Studio) are switched OFF when loading this model.
---
๐ ๏ธ How to Use (Inference Guide)
Since this model format is GGUF, it can be run locally using lightweight engines like Llama.cpp, LM Studio, or Ollama.
๐ผ๏ธ Multimodal (Vision) Inference:
Because Qwenius-4B-v0.05 is a vision-language model, you must load both the core model weights and the visual projector file (mmproj) to analyze images:
Using with Llama.cpp CLI:
To interact with the model alongside an image input, run:
./llama-cli -m Qwenius-4B-v0.05-q4_k_m.gguf \
--mmproj mmproj-model-f16.gguf \
-p "Describe this image in detail and solve any puzzles visible in it." \
--image path/to/your_image.jpgRun ourbz/Qwenius-4B-v0.05-GGUF with guIDE
Download guIDE โ the AI-native code editor with local LLM inference and 69 built-in tools.
Source: Hugging Face ยท Compare models