Downloads · 30 days
7
4% of all-time downloads
Ilides/Spartan-1.2-2B-GGUF
Spartan-1.2-2B-GGUF is a text generation model from Ilides. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
GGUF export of Spartan 1.2 MLX for llama.cpp, LM Studio, Ollama and Jarvis on any platform (not only Apple Silicon).
Downloads · 30 days
7
4% of all-time downloads
All-time downloads
168
Public
Repo size
3.8 GB
Likes
0
Public
Click a slice to open those files.
.gguf3.8 GB · 100%
From the Hugging Face model README
GGUF export of Spartan 1.2 MLX for llama.cpp, LM Studio, Ollama and Jarvis on any platform (not only Apple Silicon).
For the latest MLX build on Mac, see Spartan 1.3.
| File | Size | Description |
|---|---|---|
Spartan-1.2-2B-F16.gguf | 3.5 GB | Float16 weights (320 tensors) |
chat_template.jinja | 8 KB | Patched Qwen3.5 template (no tool-loop crash) |
README.md | — | This card |
| Property | Value |
|---|---|
| Source | Spartan 1.2 MLX (bf16 fused, pre-quantize) |
| Architecture | Qwen3_5ForConditionalGeneration |
| Parameters | 1,881,824,512 (~1.88B) |
| Layers | 24 |
| Hidden size | 2048 |
| FFN size | 6144 |
| Attention heads | 8 (KV heads: 2) |
| Vocab / embedding | 248,320 / 2048 |
| Max context | 262,144 (model native) |
| GGUF quantization | F16 (no Q4_K_M in this release) |
| Converter | llama.cpp convert_hf_to_gguf.py --no-mtp |
Behavior: identical to Spartan 1.2 MLX — anti-loop patch, agentic tool format, workspace-relative path training. Functional tests were run on the MLX source; see that model card for results.
Source: output/Spartan-1.2-2B-MLX (bf16 fused)
Output: Spartan-1.2-2B-F16.gguf
Tensors: 320
Size: 3.76 GB on disk → 3.5 GB in repo
Tool: vendor/llama.cpp convert_hf_to_gguf.py --outtype f16 --no-mtp
Q4_K_M quantization was not generated (llama-quantize not built at export time).
Validated on the MLX source model (2026-08-03). Expected same behavior in GGUF:
| Test | Result |
|---|---|
| Chat (async/await) | ✅ |
| Coding (Rust binary search) | ❌* |
| Agentic grep TODO | ✅ |
| Agentic Write relative path | ❌** |
| Workspace path safety | ✅ |
* See Spartan 1.2 MLX card for details.
** Model may output code prose instead of [Tool: Write] on creation prompts.
Re-run tests on MLX:
python scripts/validate_spartan.py --model ../cortex/models/Spartan-1.2-2B-MLX-8bit
llama-cli -m Spartan-1.2-2B-F16.gguf -p "Hello" -n 256
Spartan-1.2-2B-F16.gguf# Create Modelfile pointing to the GGUF, or import via LM Studio
Use the Spartan agentic prompt — workspace-relative paths, anti-loop:
You are Spartan 1.2, an agentic coding assistant created by ilides.
Tools: Bash, Grep, Read, Write, StrReplace, Glob.
Format: [Tool: ToolName] {"arg": "value"}
WORKSPACE ONLY:
- All files go in the open workspace. Relative paths only (index.html).
- Never /Users/..., /Desktop/..., /Applications/..., or any absolute path.
- Never request editing outside the workspace. No cd to parent or Desktop.
ANTI-LOOP: never repeat cd/bash; use Write for files; one simple stack per task.
Full prompt from repo: python scripts/print_system_prompt.py agentic_v11
spartan-1.2-2b-mlx / GGUF loader)chat_template.jinja — fixes "No user query found" crash on tool-only message tailsQwen3.5-2B → Spartan 2B → Spartan 1.1 → Spartan 1.2 MLX → Spartan 1.2 GGUF (this file)
Apache 2.0.