Downloads · 30 days
39
44% of all-time downloads
khadim-hussain/qwen3-14b-stem-qa
qwen3-14b-stem-qa is a text generation model from khadim-hussain. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
This is a LoRA adapter fine-tuned on Qwen3-14B for STEM Q&A tasks.
Downloads · 30 days
39
44% of all-time downloads
All-time downloads
89
Public
Repo size
525 MB
Likes
0
Public
Click a slice to open those files.
.safetensors514 MB · 97%
From the Hugging Face model README
This is a LoRA adapter fine-tuned on Qwen3-14B for STEM Q&A tasks.
Author: Khadim Hussain · Project write-up: STEM reasoning LLMs
For the merged full model (larger download, standalone use), see: khadim-hussain/qwen3-14b-stem-qa-merged
from unsloth import FastLanguageModel
# Load model with adapter
model, tokenizer = FastLanguageModel.from_pretrained(
"khadim-hussain/qwen3-14b-stem-qa",
max_seq_length=2048,
load_in_4bit=True,
)
prompt = "<|im_start|>user\nWhat is DNA?<|im_end|>\n<|im_start|>assistant\n"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
| Metric | Value |
|---|---|
| Train Loss | 0.461 |
| Eval Loss | 0.692 |
| Training Examples | 4,260 |
| Evaluation Examples | 474 |
| LoRA Rank | 32 |
| LoRA Alpha | 64 |
GGUF quantized versions are available for use with Ollama/llama.cpp:
Ollama 0.34.1 and later no longer load LoRA adapters, so in Ollama use the merged GGUF above. To keep the adapter separate, convert it with llama.cpp's convert_lora_to_gguf.py (pass --base-model-id Qwen/Qwen3-14B, because the adapter config points at Unsloth's 4-bit training copy) and load it with llama-server --lora on top of a Qwen3-14B GGUF. Tested steps and numbers: Running a LoRA adapter after Ollama removed support.
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}
}
Apache 2.0 (inherited from Qwen3)