How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf bjivanovich/swift-1.5-27b-coding-GGUF:
# Run inference directly in the terminal:
llama cli -hf bjivanovich/swift-1.5-27b-coding-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf bjivanovich/swift-1.5-27b-coding-GGUF:
# Run inference directly in the terminal:
llama cli -hf bjivanovich/swift-1.5-27b-coding-GGUF:
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf bjivanovich/swift-1.5-27b-coding-GGUF:
# Run inference directly in the terminal:
./build/bin/llama cli -hf bjivanovich/swift-1.5-27b-coding-GGUF:
Use Docker
docker model run hf.co/bjivanovich/swift-1.5-27b-coding-GGUF:
Quick Links

swift-1.5-27b-coding-GGUF

Official GGUF quantized weights for swift-1.5-27b-coding, a specialized 27B parameter coding model fine-tuned using DoRA on bjivanovich/code-py-rust-cpp-50k (covering Python, Rust, C++, and multi-step reasoning).

All quantizations were generated using an importance matrix (imatrix) calibrated directly on domain-specific programming samples.

Quantization Details

File Name Quant Method Approx Size Recommended Use Case
swift-1.5-27b-coding-Q4_K_M.gguf Q4_K_M (imatrix) 16.8 GB Optimal balance of speed, size, and reasoning quality (fits in 24GB GPUs).
swift-1.5-27b-coding-Q5_K_M.gguf Q5_K_M (imatrix) 19.5 GB High fidelity; preserves subtle syntax nuances.
swift-1.5-27b-coding-Q6_K.gguf Q6_K (imatrix) 22.4 GB Near-lossless precision.
swift-1.5-27b-coding-Q8_0.gguf Q8_0 29.0 GB Reference standard precision.
mmproj-BF16.gguf BF16 0.9 GB Vision projector, needed only for image and video input.
swift-27b-coding.imatrix Importance Matrix 13.6 MB Calibration data used for quantized layers.

Training & Specialization

  • Base Architecture: 27B Parameters
  • Technique: DoRA (Weight-Decomposed Low-Rank Adaptation)
  • Dataset: bjivanovich/code-py-rust-cpp-50k (50,000 samples)
    • Python: 59.0%
    • C++: 20.4%
    • Rust: 15.5%
    • Reasoning: 5.0%

Prompt Template (ChatML)

<|im_start|>user
Write a thread-safe generic queue in Rust using Arc and Mutex with unit tests.<|im_end|>
<|im_start|>assistant
Downloads last month
317
GGUF
Model size
27B params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for bjivanovich/swift-1.5-27b-coding-GGUF