How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf wesam3/qu-llm-assistant:Q4_K_M
# Run inference directly in the terminal:
llama-cli -hf wesam3/qu-llm-assistant:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf wesam3/qu-llm-assistant:Q4_K_M
# Run inference directly in the terminal:
llama-cli -hf wesam3/qu-llm-assistant:Q4_K_M
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 wesam3/qu-llm-assistant:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf wesam3/qu-llm-assistant:Q4_K_M
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 wesam3/qu-llm-assistant:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf wesam3/qu-llm-assistant:Q4_K_M
Use Docker
docker model run hf.co/wesam3/qu-llm-assistant:Q4_K_M
Quick Links

QU-LLM Assistant — wesam3/qu-llm-assistant

A fine-tuned Qwen2.5-1.5B-Instruct model specialised in answering student advisory questions for Qassim University (جامعة القصيم). The model is distributed as a Q4_K_M GGUF file for efficient local inference with llama.cpp / Ollama.


Model Details

Property Value
Base model Qwen/Qwen2.5-1.5B-Instruct
Fine-tuning method LoRA (MLX framework)
Quantisation Q4_K_M (GGUF)
File size ~940 MB
Language Arabic-primary, English-secondary
License Apache-2.0
Domain University student advisory (academic rules, registration, scholarships, etc.)

Training Data

  • Dataset: 15,903 curated Q&A pairs extracted from official Qassim University documents (bylaws, handbooks, academic calendars, policy circulars).
  • Source: Publicly available PDFs and web pages from qu.edu.sa.
  • Language split: ~80 % Arabic, ~20 % English.
  • Date range: Multi-year corpus covering historical and current university policies.

Usage

Ollama (recommended)

ollama run wesamhamad/qu-llm-assistant

Or pull the GGUF manually and create a local Modelfile:

FROM ./qassim-gpt-q4_k_m.gguf
SYSTEM "أنت مساعد ذكاء اصطناعي متخصص في الإجابة على استفسارات طلاب جامعة القصيم."
ollama create qu-llm-assistant -f Modelfile
ollama run qu-llm-assistant

llama.cpp

llama-cli -m qassim-gpt-q4_k_m.gguf \
  --chat-template qwen \
  -p "ما هي متطلبات التسجيل في الفصل الدراسي الأول؟"

Python (llama-cpp-python)

from llama_cpp import Llama

llm = Llama(model_path="qassim-gpt-q4_k_m.gguf", chat_format="qwen")
response = llm.create_chat_completion(messages=[
    {"role": "system",  "content": "أنت مساعد أكاديمي لجامعة القصيم."},
    {"role": "user",    "content": "كيف أتقدم لطلب إعادة تقييم الدرجات؟"},
])
print(response["choices"][0]["message"]["content"])

Intended Use & Limitations

  • Intended use: Helping students navigate university regulations, registration procedures, scholarship requirements, and academic policies at Qassim University.
  • Out-of-scope: General-purpose chat, medical/legal advice, topics unrelated to the university.
  • Hallucinations: Like all LLMs the model may occasionally produce incorrect information. Always verify critical details with the official university portal.

Citation

@misc{qu-llm-assistant-2025,
  author    = {Wesam Hamad},
  title     = {QU-LLM Assistant: Fine-tuned Qwen2.5-1.5B for Qassim University Advisory},
  year      = {2025},
  publisher = {HuggingFace},
  url       = {https://huggingface.co/wesam3/qu-llm-assistant}
}

License

Apache-2.0 — see LICENSE.

Downloads last month
11
GGUF
Model size
2B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for wesam3/qu-llm-assistant

Quantized
(184)
this model