Downloads · 30 days
102
10% of all-time downloads
NisalDeZoysa/Qwen-4B-Mathematical-Thinking-GGUF
Qwen-4B-Mathematical-Thinking-GGUF is a machine learning model from NisalDeZoysa. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Downloads · 30 days
102
10% of all-time downloads
All-time downloads
1K
Public
Repo size
2.5 GB
Likes
0
Public
Click a slice to open those files.
.gguf2.5 GB · 100%
From the Hugging Face model README
🧮 Qwen-4B Mathematical Thinking (GGUF)
Base model: unsloth/Qwen3-4B-unsloth-bnb-4bit Quantization: Q4_K_M (GGUF) Language: English License: Apache-2.0
✨ Overview
This is a fine-tuned Qwen-4B model optimized for mathematical reasoning, problem solving, and logical thinking tasks.
Trained with LoRA adapters
Exported in GGUF format (Q4_K_M) → efficient for local hosting
Compatible with Ollama, llama.cpp, and other GGUF-supported frameworks
Although trained only for next-token prediction, it demonstrates emergent reasoning capabilities, allowing it to handle complex tasks with surprising accuracy.
⚡ Features
Efficient 4-bit quantization (Q4_K_M): Low VRAM, ideal for personal/local inference
GGUF format: Works with Ollama, LM Studio, and other GGUF frameworks
Mathematics & logical reasoning: Solves problems, provides step-by-step explanations
Based on Qwen3 architecture: Strong generalization across tasks
Lightweight & fast: Optimized for inference speed without sacrificing accuracy
🏷️ Tags
text-generation-inference | transformers | unsloth | qwen3 | gguf
🎯 Intended Use
Mathematical problem solving
Logical reasoning tasks
Step-by-step explanations
Text generation in English
⚠️ Not recommended for: Critical decision-making or safety-critical applications (hallucinations possible)
💻 Usage Ollama (Local GGUF Hosting) ollama pull hf.co/NisalDeZoysa/Qwen-4B-Mathematical-Thinking-GGUF ollama run hf.co/NisalDeZoysa/Qwen-4B-Mathematical-Thinking-GGUF
Hugging Face Transformers (Python) from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "NisalDeZoysa/Qwen-4B-Mathematical-Thinking-GGUF"
tokenizer = AutoTokenizer.from_pretrained(model_name) model = AutoModelForCausalLM.from_pretrained(model_name)
prompt = "Solve the equation: 2x + 3 = 7" inputs = tokenizer(prompt, return_tensors="pt") outputs = model.generate(**inputs, max_new_tokens=50) print(tokenizer.decode(outputs[0], skip_special_tokens=True))
⚠️ Limitations
May produce incorrect or inconsistent outputs for very complex problems
4-bit quantization may lose some fidelity compared to full 16-bit models
Trained on public datasets, so may reflect inherent biases
📄 License
Released under the Apache-2.0 License