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 khadim-hussain/qwen3-14b-stem-qa-gguf:F16
# Run inference directly in the terminal:
llama cli -hf khadim-hussain/qwen3-14b-stem-qa-gguf:F16
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf khadim-hussain/qwen3-14b-stem-qa-gguf:F16
# Run inference directly in the terminal:
llama cli -hf khadim-hussain/qwen3-14b-stem-qa-gguf:F16
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf khadim-hussain/qwen3-14b-stem-qa-gguf:F16
# Run inference directly in the terminal:
./llama-cli -hf khadim-hussain/qwen3-14b-stem-qa-gguf:F16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf khadim-hussain/qwen3-14b-stem-qa-gguf:F16
# Run inference directly in the terminal:
./build/bin/llama-cli -hf khadim-hussain/qwen3-14b-stem-qa-gguf:F16
Use Docker
docker model run hf.co/khadim-hussain/qwen3-14b-stem-qa-gguf:F16
Quick Links

Qwen3-14B STEM Q&A (GGUF)

GGUF quantized version of Qwen3-14B fine-tuned for STEM Q&A tasks. Ready for use with Ollama, llama.cpp, LM Studio, and other GGUF-compatible tools.

Author: Khadim Hussain

Available Versions

Model Size Description
qwen3-14b-stem-qa ~117MB LoRA adapter only
qwen3-14b-stem-qa-merged ~28GB Full merged model (bf16)
qwen3-14b-stem-qa-gguf 9-30GB GGUF quantized (this repo)

Files

Filename Quant Size Description
qwen3-14b-stem-qa-f16.gguf F16 29.5GB Full 16-bit precision, best quality
qwen3-14b-stem-qa-q4_k_m.gguf Q4_K_M 9GB 4-bit quantization, good balance of size/quality

Usage with Ollama

# Download the GGUF file and Modelfile
# Then create and run:
ollama create qwen3-14b-stem -f Modelfile
ollama run qwen3-14b-stem

Modelfile

FROM ./qwen3-14b-stem-qa-q4_k_m.gguf

TEMPLATE """<|im_start|>system
You are a helpful assistant specialized in STEM subjects.<|im_end|>
<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
"""

PARAMETER stop "<|im_end|>"
PARAMETER temperature 0.7
PARAMETER top_p 0.9
PARAMETER num_ctx 4096
PARAMETER num_predict 2048

Usage with llama.cpp

./llama-cli -m qwen3-14b-stem-qa-q4_k_m.gguf \
  -p "<|im_start|>user\nWhat is DNA?<|im_end|>\n<|im_start|>assistant\n" \
  -n 512

Usage with LM Studio

  1. Download qwen3-14b-stem-qa-q4_k_m.gguf
  2. Import into LM Studio
  3. Use the ChatML template

Training Details

Metric Value
Base Model Qwen/Qwen3-14B
Train Loss 0.461
Eval Loss 0.692
Training Examples 4,260
Evaluation Examples 474

Acknowledgments

Citation

If you use this model, please cite:

@misc{hussain2026qwen3-stem,
  author = {Hussain, Khadim},
  title = {Qwen3-14B STEM Q&A: Fine-tuned for Science Education},
  year = {2026},
  publisher = {Hugging Face},
  url = {https://huggingface.co/khadim-hussain/qwen3-14b-stem-qa-gguf}
}

License

Apache 2.0 (inherited from Qwen3)

Downloads last month
9
GGUF
Model size
15B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

4-bit

16-bit

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

Model tree for khadim-hussain/qwen3-14b-stem-qa-gguf

Finetuned
Qwen/Qwen3-14B
Quantized
(203)
this model