Instructions to use nikowru/koalipi-slm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use nikowru/koalipi-slm with 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 nikowru/koalipi-slm:F16 # Run inference directly in the terminal: llama cli -hf nikowru/koalipi-slm:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf nikowru/koalipi-slm:F16 # Run inference directly in the terminal: llama cli -hf nikowru/koalipi-slm: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 nikowru/koalipi-slm:F16 # Run inference directly in the terminal: ./llama-cli -hf nikowru/koalipi-slm: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 nikowru/koalipi-slm:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf nikowru/koalipi-slm:F16
Use Docker
docker model run hf.co/nikowru/koalipi-slm:F16
- LM Studio
- Jan
- Ollama
How to use nikowru/koalipi-slm with Ollama:
ollama run hf.co/nikowru/koalipi-slm:F16
- Unsloth Desktop
- Docker Model Runner
How to use nikowru/koalipi-slm with Docker Model Runner:
docker model run hf.co/nikowru/koalipi-slm:F16
- Lemonade
How to use nikowru/koalipi-slm with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull nikowru/koalipi-slm:F16
Run and chat with the model
lemonade run user.koalipi-slm-F16
List all available models
lemonade list
- Atomic Chat
| base_model: Qwen/Qwen2.5-VL-3B-Instruct | |
| language: | |
| - fil | |
| - en | |
| license: apache-2.0 | |
| tags: | |
| - qwen2.5-vl | |
| - education | |
| - filipino | |
| - fine-tuned | |
| - gguf | |
| # KoaliPi SLM β Qwen2.5-VL-3B Fine-tune | |
| KoaliPi SLM is a fine-tuned vision-language model built on top of | |
| [Qwen2.5-VL-3B-Instruct](https://huggingface.co/Qwen/Qwen2.5-VL-3B-Instruct), | |
| trained for AI-powered STEM study assistance for Filipino students | |
| (high school and college level). | |
| ## Files | |
| | File | Size | Description | | |
| |------|------|-------------| | |
| | `koalipi-slm-q4km.gguf` | ~1.9 GB | Q4_K_M quantized β recommended for on-device use | | |
| | `koalipi-slm.gguf` | 3.29 GB | Q8_0 quantized β higher precision | | |
| ## Training Details | |
| - **Base model:** Qwen/Qwen2.5-VL-3B-Instruct | |
| - **Method:** LoRA fine-tuning via Unsloth | |
| - **Training steps:** 30 | |
| - **Quantization:** 16-bit during training, exported to Q4_K_M via llama.cpp | |
| ## Training Data | |
| The model was fine-tuned on a custom KoaliPi dataset covering: | |
| - Handwriting parsing (IAM handwriting dataset + custom Filipino notes) | |
| - Filipino Q&A (Taglish STEM explanations) | |
| - English Q&A (STEM concepts) | |
| - MCQ generation | |
| - Practice problem generation | |
| - Study plan generation | |
| ## Instruction Format | |
| No system prompt needed. Uses ChatML format: | |
| **Document parsing:** | |
| Parse this document. Return ONLY a valid JSON with these fields: | |
| topics, difficulty, subject, key_concepts, has_equations, equations, summary. | |
| No explanation, just JSON. | |
| **MCQ generation:** | |
| Generate 3 multiple choice questions about {topic}. | |
| Return ONLY valid JSON array. | |
| **Filipino Q&A:** | |
| {question in Filipino or English} | |
| ## Intended Use | |
| - Filipino high school and college STEM students | |
| - On-device inference via llama.rn | |
| - Part of the KoaliPi AI study app | |
| ## Limitations | |
| - mmproj (vision encoder) not yet exportable via llama.cpp for Qwen2.5-VL | |
| - Image/VL features require mmproj β text features fully functional | |
| - 30 training steps β suitable for demo, expand dataset for production |