Downloads · 30 days
55
10% of all-time downloads
smarttasks/Qwen3-4B-GGUF
Qwen3-4B-GGUF is a text generation model from smarttasks. Use it when you need the model to write or continue text. It is set up for gguf. The card lists the license as apache-2.0.
Quantized from Qwen/Qwen3-4B by SmartTasks on 2026-07-12.
Downloads · 30 days
55
10% of all-time downloads
All-time downloads
574
Public
Repo size
15 GB
Likes
0
Public
Click a slice to open those files.
.gguf15 GB · 100%
From the Hugging Face model README
Quantized from Qwen/Qwen3-4B by SmartTasks on 2026-07-12.
Why this conversion: Smaller, faster local/edge + agentic deployment via GGUF. Size saving: n/a vs the original weights. Origin: https://huggingface.co/Qwen/Qwen3-4B · license: apache-2.0 · base: Qwen/Qwen3-4B-Base · arch: n/a
scorecard.json.| Tier | Passed |
|---|---|
| L1 Layman | ✅ |
| L2 Everyday | ✅ |
| L3 Professional | ✅ |
| L4 Architect/Engineer | ✅ |
| L5 Agentic | ✅ |
| Axis | Score |
|---|---|
| knowledge | 100% |
| instruction_following | 67% |
| reasoning | 80% |
| coding | 100% |
| structured_output | 100% |
| long_context | 100% |
Known-answer accuracy: 0.867 · Drift vs original: None
Verify a download hasn't been tampered with. Linux/mac: sha256sum -c SHA256SUMS. Windows: Get-FileHash <file>.gguf -Algorithm SHA256.
| File | SHA-256 |
|---|---|
| Qwen3-4B-Q3_K_M.gguf | 2564761486a36edcea73f00fa0345e3a3b5e68eab45908f5ef8e0e271a0a4ea2 |
| Qwen3-4B-Q4_K_M.gguf | 470589448ae8cd608e1af3dd71695d2f81de4df0ed0ab205bb7d9b380236e1df |
| Qwen3-4B-Q5_K_M.gguf | 87df4af737b9035ff5eeb5b869d944ee03df872195153c793580634aad7480ae |
| Qwen3-4B-Q6_K.gguf | cc02a75580e84061c605b9533c686f26bfff678508dae1d6e69c455c8fe39944 |
| Qwen3-4B-Q8_0.gguf | 1c6ce40c3e0bedf2c19bb9991ef7163c0aec2a882430c5051e522f92bdceeaa5 |
Overall conformance: WARN (2 pass / 1 warn / 0 fail / 2 not evaluated)
| Invariant | Category | Status | Detail |
|---|---|---|---|
iaiso.conversion.integrity | conversion | PASS | GGUF produced and readable |
iaiso.conversion.efficiency | conversion | NOT_EVALUATED | Size reduction vs original weights |
iaiso.capability.retention | capability | PASS | Known-answer accuracy on the complexity suite |
iaiso.security.posture | security | WARN | supply-chain clean; red-team mean resistance 60.4% (mixed, sampled: dan+promptinject); weak vs AutoDANCached, DanInTheWild |
iaiso.transparency.coverage | transparency | NOT_EVALUATED | Topic suppression / over-refusal / bias probe |
First-party self-assessment produced by the SmartTasks/IAIso validation pipeline (capability, security, transparency). Not an independent certification.
This maps directly to the iaiso.security.posture invariant above (WARN). Values below are computed deterministically from the scan outputs — the same scan always yields the same verdict.
Supply chain (ModelScan): clean — no unsafe serialization in the source weights.
Partial (sampled) red-team. Ran probe families dan, promptinject — a focused subset, not garak's full ~40-module suite (which takes ~a day on one GPU). These families target the attack classes most relevant to an instruction-tuned coding model, so the result is a strong, representative indicator of behavioural robustness — though not an exhaustive certification.
Mean resistance: 60.4% (mixed). Higher = the model resisted more attacks. Grades: strong ≥95, good ≥80, mixed ≥50, weak <50.
| Probe | OWASP | Attempts | Resisted | Pass rate | Grade |
|---|---|---|---|---|---|
dan.DanInTheWild | LLM01 | 512 | 47 | 9.2% | weak |
dan.AutoDANCached | LLM01 | 6 | 1 | 16.7% | weak |
dan.Ablation_Dan_11_0 | LLM01 | 254 | 137 | 53.9% | mixed |
promptinject.HijackHateHumans | LLM01 | 511 | 474 | 92.8% | good |
promptinject.HijackLongPrompt | LLM01 | 512 | 482 | 94.1% | good |
promptinject.HijackKillHumans | LLM01 | 512 | 489 | 95.5% | strong |
⚠️ Deployment note: this model was susceptible to one or more prompt-injection attack classes in testing (pass rate <50%). Like most instruction-tuned coding models, it should not be exposed to untrusted input in agent pipelines without external guardrails. This reflects the source model's safety tuning, not the quantization.
Sampled red-team (subset of garak probes); not an exhaustive sweep. Reproduce with security_scan.py + security_digest.py.
{
"max_complexity_level": 5,
"max_complexity_label": "L5 Agentic",
"recommended_for": [
"knowledge",
"instruction_following",
"reasoning",
"coding",
"structured_output",
"long_context"
],
"not_recommended_for": [],
"size_saving_pct": null
}
The full machine-readable scorecard is in scorecard.json (schema smarttasks.iaiso.model_scorecard/v1).
Unlike a bare GGUF re-upload, every file here is designed to be read programmatically before you drop the model into a loop:
scorecard.json — capability tier + per-axis scores (instruction-following,
reasoning, tool-calling, structured-output) so your orchestrator can gate on
whether this model is strong enough for a given step, without you hand-testing it.SECURITY.md + red-team results — the model's measured resistance to prompt
injection and jailbreaks, so you know its susceptibility before you expose it to
untrusted input in an agent chain.SHA256SUMS — verify the exact weights you're running match what was tested.This is the difference between "here's a quantized model" and "here's a model with a documented, checkable safety and capability profile for autonomous use."
These are GGUF quantizations of Qwen/Qwen3-4B for local inference.
Download a single .gguf and load it in LM Studio, Ollama,
llama.cpp / llama-server, KoboldCpp, text-generation-webui, or
any llama.cpp-based runner — no Python or GPU cluster required.
Pick a size from the compression table above: larger = closer to the original,
smaller = less memory. Q4_K_M is the usual best balance.
Built for agent and function-calling workloads. In testing this model
reaches L5 Agentic complexity and is strongest at: knowledge, instruction_following, reasoning, coding, structured_output, long_context. The repo ships a
machine-readable scorecard.json with an agent_hint block (max complexity
level, recommended tasks, size/VRAM) so an orchestrator can pick the right
model automatically. Pair it with a governance layer (see below) for bounded,
audited tool use.
Every build in this repo ships with a first-party validation record: an OWASP-mapped security scan (ModelScan supply-chain + garak red-team), a transparency probe (topic-suppression / over-refusal / viewpoint-alignment), quantization fidelity (KL-divergence vs the original), and SHA-256 checksums for tamper verification. This is a documented self-assessment — not third-party certification — with every result included so your team can see exactly what was tested and independently verify the model and its checksums. Keywords: LLM security, model governance, agent safety, OWASP LLM Top 10, local/on-prem inference, supply-chain integrity.
SmartTasks builds tooling for governed, agentic AI workflows. This model was converted and validated with the **SmartTasks GGUF
IAIso is our open framework for bounding what an autonomous agent spends and touches, and proving it afterward. Three primitives: pressure-accumulation rate limiting (one scalar that rises with tokens, tool calls, and planning depth, and triggers an automatic safety release), ConsentScope (signed, scoped, expiring tokens gating sensitive operations), and structured audit (every state change emits a versioned event). It bounds a cooperating agent in-process; for adversarial containment bind it to an out-of-process anchor. (Framework 5.0 · SDK 0.2.0 · beta — you supply your own thresholds/coefficients for your workload.)
pip install iaiso # Python SDK (the only published package today)
from iaiso import BoundedExecution, PressureConfig
with BoundedExecution.start(config=PressureConfig()) as execution:
outcome = execution.record_tool_call(name="search", tokens=500)
if outcome.name == "ESCALATED":
... # request human review before the next expensive step
Go, Rust, Node/TypeScript, Java, C#, PHP, Swift and Ruby SDKs implement the same
spec and live in the repo's core/ (build from source — not yet published to
their registries). See the repo for conformance vectors and LIMITATIONS.md.