Qwen/Qwen2.5-1.5B-InstructIQ3_XS (3.3 bits per weight) calibrated via llama-imatrix.~698 MB (bau-small-1.5b.gguf)< 895 MB RAM (Leaves > 6.1 GB free on an 8 GB budget laptop).| Schema / Mode | Description | Example Trigger |
|---|---|---|
CONVERSATIONAL_CHAT | Natural language business advice, calculations, memos, and operational strategy. | "How can our retail store reduce cashier discrepancy losses during peak hours?" |
GENERATIVE_CHART | Autonomous data extraction into Chart.js-compatible JSON schemas (pie, bar, line). | "Generate a chart of pallet SKU distribution across warehouse zones: Zone A has 400..." |
DEEP_RESEARCH | Forensic multi-source investigation across local DBs and audit records. | "Investigate the audit logs to find why Q3 software license costs exceeded forecast by 25%." |
SHIFT_SCHEDULE | Automated staff rota generation for pharmacists and warehouse technicians. | "Create a shift schedule for next week for 3 pharmacists: Dr. Sarah, Mr. David..." |
RED_FLAG_ALERT | Anomaly detection and security alerts for unauthorized discounts and inventory loss. | "Alert management: Cashier #104 processed an unauthorized 80% discount without approval." |
AUTO_TASK | Action item and ticket dispatching for store managers. | "Create a high-priority follow-up task to review cashier refund overrides by tomorrow." |
DOCUMENT_OUTPUT | Formal markdown reports, SLA breach logs, and compliance checklists. | "Prepare a detailed SLA breach report for the network downtime incident." |
llama.cpp (CLI)1# Clone and build llama.cpp
2git clone https://github.com/ggml-org/llama.cpp
3cd llama.cpp && cmake -B build && cmake --build build -j4
4
5# Download model
6curl -L -o bau-small-1.5b.gguf "https://huggingface.co/cyberknine/bau-qwen/resolve/main/bau-small-1.5b.gguf"
7
8# Run interactive inference (4 threads for standard laptops)
9./build/bin/llama-cli \
10 -m ./bau-small-1.5b.gguf \
11 -t 4 \
12 -c 2048 \
13 -n 384 \
14 --temp 0.2 \
15 -p "How can our retail store reduce cashier discrepancy losses during peak hours without slowing down checkout queues?"llama-cpp-python)1from llama_cpp import Llama
2
3llm = Llama(
4 model_path="bau-small-1.5b.gguf",
5 n_ctx=2048,
6 n_threads=4,
7 verbose=False
8)
9
10response = llm.create_chat_completion(
11 messages=[
12 {"role": "user", "content": "Generate a chart showing the distribution of pallet SKU types across our warehouse zones: Zone A has 400 pallets, Zone B has 350 pallets, Zone C has 150 pallets, and Zone D has 100 pallets."}
13 ],
14 temperature=0.2,
15 max_tokens=384
16)
17
18print(response["choices"][0]["message"]["content"])| Benchmark Metric | Measured Result | Reference Target |
|---|---|---|
| Peak RAM (RSS) | 892.4 MB | < 7.0 GB budget |
| Time to First Token (TTFT) | ~510 ms | < 1,000 ms |
| Generation Throughput | 3.76 t/s (4 threads CPU) | 15.0 t/s reference |
| Prompt Processing Speed | 9.10 t/s | — |
| Thermal Throttling | None observed (Temp < 55°C) | Zero penalty |
| Schema Accuracy Score ($S_{acc}$) | 95.20 / 100 | > 90 / 100 |
cyberknine (Akhimien Clement)