🌌 Borealis Preview
Collection
Preview release of the Borealis family of instruction tuned models by the National Library of Norway. • 20 items • Updated • 14
How to use NbAiLab/borealis-4b-instruct-preview-gguf with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf NbAiLab/borealis-4b-instruct-preview-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf NbAiLab/borealis-4b-instruct-preview-gguf:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf NbAiLab/borealis-4b-instruct-preview-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf NbAiLab/borealis-4b-instruct-preview-gguf:Q4_K_M
# 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 NbAiLab/borealis-4b-instruct-preview-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf NbAiLab/borealis-4b-instruct-preview-gguf:Q4_K_M
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 NbAiLab/borealis-4b-instruct-preview-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf NbAiLab/borealis-4b-instruct-preview-gguf:Q4_K_M
docker model run hf.co/NbAiLab/borealis-4b-instruct-preview-gguf:Q4_K_M
How to use NbAiLab/borealis-4b-instruct-preview-gguf with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "NbAiLab/borealis-4b-instruct-preview-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": "NbAiLab/borealis-4b-instruct-preview-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"
}
}
]
}
]
}'docker model run hf.co/NbAiLab/borealis-4b-instruct-preview-gguf:Q4_K_M
How to use NbAiLab/borealis-4b-instruct-preview-gguf with Ollama:
ollama run hf.co/NbAiLab/borealis-4b-instruct-preview-gguf:Q4_K_M
How to use NbAiLab/borealis-4b-instruct-preview-gguf with Docker Model Runner:
docker model run hf.co/NbAiLab/borealis-4b-instruct-preview-gguf:Q4_K_M
How to use NbAiLab/borealis-4b-instruct-preview-gguf with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull NbAiLab/borealis-4b-instruct-preview-gguf:Q4_K_M
lemonade run user.borealis-4b-instruct-preview-gguf-Q4_K_M
lemonade list
Release: Dec 22nd, 2025.
NbAiLab/borealis-4b-instruct-preview-gguf are quantized versions in GGUF format of a 4B-parameter instruction-tuned preview model intended for early testing and feedback. It is an experiment and should be treated as pre-release quality.
The original model is NbAiLab/borealis-4b-instruct-preview.
| Model | Bits | Format |
|---|---|---|
| NbAiLab/borealis-4b-instruct-preview | BF16 | Transformers (safetensors) |
| NbAiLab/borealis-4b-instruct-preview-gguf | 4 | GGUF (q4_K_M) |
| NbAiLab/borealis-4b-instruct-preview-gguf | 8 | GGUF (q8_0) |
| NbAiLab/borealis-4b-instruct-preview-gguf | BF16 | GGUF (bf16) |
| NbAiLab/borealis-4b-instruct-preview-mlx | 32 | MLX |
| NbAiLab/borealis-4b-instruct-preview-mlx-8bits | 8 | MLX (quantized) |
4-bit
8-bit
16-bit
Base model
google/gemma-3-4b-pt