Instructions to use nikowru/koalipi-slm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use nikowru/koalipi-slm with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="nikowru/koalipi-slm", filename="koalipi-slm-q4km.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- 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 Studio
How to use nikowru/koalipi-slm with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for nikowru/koalipi-slm to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for nikowru/koalipi-slm to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for nikowru/koalipi-slm to start chatting
- Atomic Chat new
- 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
llm.create_chat_completion(
messages = "No input example has been defined for this model task."
)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, 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
- Downloads last month
- 651
We're not able to determine the quantization variants.
Model tree for nikowru/koalipi-slm
Base model
Qwen/Qwen2.5-VL-3B-Instruct
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="nikowru/koalipi-slm", filename="", )