Instructions to use aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF", device_map="auto") - llama-cpp-python
How to use aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF", filename="Qwen-SEA-LION-v4.5-27B-IT-F16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF 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 aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf aisingapore/Qwen-SEA-LION-v4.5-27B-IT-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 aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf aisingapore/Qwen-SEA-LION-v4.5-27B-IT-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 aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF:Q4_K_M
Use Docker
docker model run hf.co/aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "aisingapore/Qwen-SEA-LION-v4.5-27B-IT-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": "aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF:Q4_K_M
- SGLang
How to use aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Ollama
How to use aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF with Ollama:
ollama run hf.co/aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF:Q4_K_M
- Unsloth Studio
How to use aisingapore/Qwen-SEA-LION-v4.5-27B-IT-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 aisingapore/Qwen-SEA-LION-v4.5-27B-IT-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 aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF to start chatting
- Pi
How to use aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf aisingapore/Qwen-SEA-LION-v4.5-27B-IT-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": "aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf aisingapore/Qwen-SEA-LION-v4.5-27B-IT-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 aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF with Docker Model Runner:
docker model run hf.co/aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF:Q4_K_M
- Lemonade
How to use aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen-SEA-LION-v4.5-27B-IT-GGUF-Q4_K_M
List all available models
lemonade list
Qwen-SEA-LION-v4.5-27B-IT-GGUF
Last update: 2026-06-18
This repository contains the GGUF quantized weights for Qwen-SEA-LION-v4.5-27B-IT, our flagship 27-billion parameter instruction-tuned model built upon the state-of-the-art Qwen3.6-27B architecture.
The model is heavily optimized for Southeast Asian (SEA) languages, cultures, and contexts. It has undergone rigorous post-training—consisting of knowledge distillation, supervised fine-tuning (SFT) on curated regional datasets, and reinforcement learning (RL). This model brings high-capacity reasoning, tool-use, and advanced agentic workflows to local server environments and high-end consumer hardware with minimized memory requirements.
Model Details
Model Description
SEA-LION stands for Southeast Asian Languages In One Network.
We performed post-training in English and SEA languages on Qwen3.6-27B, a multimodal learning model using the Qwen3.6 architecture, to create Qwen-SEA-LION-v4.5-27B-IT.
For tokenization, the model employs the default tokenizer used in Qwen3.6.
- Developed by: AI Products Pillar, AI Singapore
- Funded by: Singapore NRF
- Shared by: AI Products Pillar, AI Singapore
- Model type: Causal Language Model with Vision Encoder
- Training Stage: Post-Training (Logit Distillation & Model Merging))
- Context length: 262k
- Language(s): fine-tuned on Burmese, Indonesian, Filipino, Malay, Tamil, Thai, and Vietnamese
- License: MIT
- Finetuned from model: aisingapore/Qwen-SEA-LION-v4.5-27B-IT
Available Quantized Versions
We provide multiple quantization formats to optimize deployment trade-offs between memory footprint and output quality.
| File / Quantization | File Size |
|---|---|
| Q4_K_M | 16.8 GB |
| Q6_K | 22.4 GB |
| Q8_0 | 29 GB |
| F16 | 54.7 GB |
Model Strengths
- High-Capacity Foundation: Derived from the Qwen3.6-27B architecture, delivering advanced multi-turn reasoning, complex logical planning, and code generation.
- Native Context Window (262K): Supports long-context parsing, extensive document retrieval (RAG), and persistent history retention in complex multi-turn chats.
- Broad Linguistic Coverage: Fine-tuned on native language data covering Burmese, Indonesian, Filipino (Tagalog), Malay, Tamil, Thai, and Vietnamese, alongside competitive English and Chinese capabilities.
- Advanced Agentic Capabilities: Highly precise tool-use, schema validation, and nested function-calling, backed by specialized reinforcement learning checkpoints.
How to Get Started
Using llama.cpp
You can serve the model using llama.cpp (add other flags to customize your setup):
llama-server -ngl -1 \
--mmproj /directory/path/to/mmproj-Qwen-SEA-LION-v4.5-27B-IT-F16.gguf \
-m /directory/path/to/Qwen-SEA-LION-v4.5-27B-IT-Q4_K_M.gguf
You can proceed to make API calls to the model:
curl -X POST http://localhost:8080/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "Qwen-SEA-LION-v4.5-27B-IT-Q4_K_M.gguf",
"messages": [
{
"role": "user",
"content": "Teach me a greeting in Bahasa Indonesia."
}
],
"chat_template_kwargs": {
"enable_thinking": false
}
}'
You can also access the UI at http://localhost:8080 to chat with the model directly.
Uses
Out-of-Scope Use
The model has not been aligned for safety. Developers and users should perform their own safety fine-tuning and related security measures. In no event shall the authors be held liable for any claims, damages, or other liabilities arising from the use of the released weights and codes.
Bias, Risks, and Limitations
The model was not tested for robustness against adversarial prompting. It is important for users to be aware that our model exhibits certain limitations that warrant consideration. Like many LLMs, the model can hallucinate and occasionally generates irrelevant content, introducing fictional elements that are not grounded in the provided context. Users should also exercise caution in interpreting and validating the model's responses due to the potential inconsistencies.
More Information
This is the repository for the commercial instruction-tuned model. The model has not been aligned for safety. Developers and users should perform their own safety fine-tuning and related security measures. In no event shall the authors be held liable for any claims, damages, or other liabilities arising from the use of the released weights and codes.
For more info, please contact us at sealion@aisingapore.org
Acknowledgement
This project is supported by the National Research Foundation Singapore and Infocomm Media Development Authority (IMDA), Singapore under its National Large Language Model Funding Initiative.
Contact
- Downloads last month
- 1,538
4-bit
6-bit
8-bit
16-bit
Model tree for aisingapore/Qwen-SEA-LION-v4.5-27B-IT-GGUF
Base model
Qwen/Qwen3.6-27B
