Instructions to use junwatu/candi-sailor2-8b-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use junwatu/candi-sailor2-8b-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="junwatu/candi-sailor2-8b-gguf", filename="candi-sailor2-Q4_K_M.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use junwatu/candi-sailor2-8b-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf junwatu/candi-sailor2-8b-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf junwatu/candi-sailor2-8b-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf junwatu/candi-sailor2-8b-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf junwatu/candi-sailor2-8b-gguf: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 junwatu/candi-sailor2-8b-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf junwatu/candi-sailor2-8b-gguf: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 junwatu/candi-sailor2-8b-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf junwatu/candi-sailor2-8b-gguf:Q4_K_M
Use Docker
docker model run hf.co/junwatu/candi-sailor2-8b-gguf:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use junwatu/candi-sailor2-8b-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "junwatu/candi-sailor2-8b-gguf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "junwatu/candi-sailor2-8b-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/junwatu/candi-sailor2-8b-gguf:Q4_K_M
- Ollama
How to use junwatu/candi-sailor2-8b-gguf with Ollama:
ollama run hf.co/junwatu/candi-sailor2-8b-gguf:Q4_K_M
- Unsloth Studio
How to use junwatu/candi-sailor2-8b-gguf 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 junwatu/candi-sailor2-8b-gguf 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 junwatu/candi-sailor2-8b-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for junwatu/candi-sailor2-8b-gguf to start chatting
- Pi
How to use junwatu/candi-sailor2-8b-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf junwatu/candi-sailor2-8b-gguf:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "junwatu/candi-sailor2-8b-gguf:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use junwatu/candi-sailor2-8b-gguf with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf junwatu/candi-sailor2-8b-gguf:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default junwatu/candi-sailor2-8b-gguf:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use junwatu/candi-sailor2-8b-gguf with Docker Model Runner:
docker model run hf.co/junwatu/candi-sailor2-8b-gguf:Q4_K_M
- Lemonade
How to use junwatu/candi-sailor2-8b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull junwatu/candi-sailor2-8b-gguf:Q4_K_M
Run and chat with the model
lemonade run user.candi-sailor2-8b-gguf-Q4_K_M
List all available models
lemonade list
Candi Sailor2 8B GGUF
candi-sailor2-8b-gguf is a GGUF release of Candi Sailor2 8B, a fine-tuned Sailor2 model for Indonesian cultural heritage, temples (candi), and Javanese history.
This repository is intended for local inference with tools such as llama.cpp, Ollama, LM Studio, Jan, and other GGUF-compatible runtimes.
Model Details
- Base model:
sail/Sailor2-8B - Merged model:
junwatu/candi-sailor2-8b - LoRA adapter:
junwatu/candi-sailor2-8b-lora - Fine-tuning method: LoRA SFT, then merged into the base model
- Training quantization: 4-bit NF4
- GGUF quantizations: Q4_K_M and Q5_K_M
- Main languages: Indonesian and Javanese, with inherited multilingual support from Sailor2
Available Files
| File | Quantization | Suggested use |
|---|---|---|
candi-sailor2-Q4_K_M.gguf |
Q4_K_M | Smaller file, good default for most local use |
candi-sailor2-Q5_K_M.gguf |
Q5_K_M | Larger file, better quality if you have enough RAM or VRAM |
Quick Start With Ollama
Create a Modelfile:
FROM ./candi-sailor2-Q4_K_M.gguf
SYSTEM "You are Candi, a helpful assistant specialized in Indonesian cultural heritage, temples (candi), and Javanese history. Answer in clear Indonesian unless the user asks for another language."
PARAMETER temperature 0.7
PARAMETER top_p 0.9
Then run:
ollama create candi-sailor2 -f Modelfile
ollama run candi-sailor2
Example prompt:
Apa itu Candi Borobudur?
Quick Start With llama.cpp
Download one GGUF file, then run:
llama-cli -m candi-sailor2-Q4_K_M.gguf \
-p "Apa itu Candi Prambanan?"
To serve an OpenAI-compatible local API:
llama-server -m candi-sailor2-Q4_K_M.gguf
Intended Use
This model is designed for:
- Indonesian cultural heritage chatbots
- Candi and Javanese history explanation
- Indonesian-language educational assistants
- Local AI demos using GGUF runtimes
- RAG-based assistants that retrieve exact candi facts from a trusted dataset
Important Limitation
For exact facts such as coordinates, address, elevation, site condition, and geo-validation status, use this model with RAG or another trusted source.
The fine-tune improves behavior and answer style, but it should not be treated as a database. If the answer needs exact factual accuracy, retrieve the source record first and ask the model to explain it.
Training Notes
The LoRA training setup used:
| Parameter | Value |
|---|---|
| LoRA rank | 16 |
| LoRA alpha | 32 |
| LoRA dropout | 0.05 |
| Learning rate | 2e-4 |
| Epochs | 2 |
| Max sequence length | 2048 |
| Optimizer | paged_adamw_8bit |
| Scheduler | cosine |
| GPU | L40S |
The behavior goal was to make the assistant more careful with uncertain geographic records and more consistent in Indonesian cultural-heritage answers.
Example Prompts
Jelaskan Candi Borobudur dengan bahasa sederhana.
Apa perbedaan candi Hindu dan candi Buddha?
Kalau data lokasi candi punya geo_flag reverse_geo_needs_review, apakah aman ditulis valid tanpa catatan?
Ceritakan legenda Roro Jonggrang secara singkat.
License
Apache 2.0, following the base Sailor2 model license.
Citation
@misc{junwatu2026candi_sailor2_gguf,
title={Candi Sailor2 8B GGUF},
author={junwatu},
year={2026},
publisher={Hugging Face},
url={https://huggingface.co/junwatu/candi-sailor2-8b-gguf}
}
@article{sailor2,
title={Sailor2: Advancing Multilingual Large Language Models for Southeast Asian Languages},
author={Sea AI Lab},
journal={arXiv preprint arXiv:2502.12982},
year={2025}
}
- Downloads last month
- -
4-bit
5-bit