borealis2-26b-a4b-preview

Public

Model type

Language model

8 Downloads

Capabilities

Vision Input
Reasoning

Minimum system memory

17GB

Tags

26B-A4B
gemma4

README

Borealis 2 26B-A4B (Preview)

Norwegian-centric instruction-tuned model from the AI Lab at the National Library of Norway (Nasjonalbiblioteket). Continued pre-training + SFT on top of google/gemma-4-26B-A4B-it. 26B total parameters, ~4B active per token.

Quantizations by BobTheShoplifter — format conversions only, nothing retrained.

VariantSizeNotes
GGUF Q4_K_M16.8 GBNorwegian-calibrated imatrix. Runs anywhere llama.cpp runs.
GGUF Q6_K22.6 GBNorwegian-calibrated imatrix.
GGUF Q8_026.9 GBEffectively lossless.
MLX 6-bit20.5 GBApple Silicon, fastest of the set.
MLX 8-bit26.8 GBApple Silicon, effectively lossless.

Images / OCR: supported by the GGUF variants only, via the mmproj file in that repo. The MLX builds are text-only — mlx-vlm has no gemma4 support yet, so there is no MLX vision path to ship.

Defaults here ship the model's own sampling settings (temp 1.0 / top-k 64 / top-p 0.95).

Reasoning: use a GGUF variant. LM Studio's llama.cpp runtime supports Gemma 4's reasoning channel and folds it into a collapsible block automatically. Its MLX runtime does not — MLX variants answer directly and cannot be made to reason (measured: GGUF Q6_K 426 reasoning tokens, MLX 8-bit 0, same prompt). This affects every gemma4 MLX model in LM Studio, not just this one. MLX is still faster (94–110 vs 75–109 tok/s) and better at Norwegian OCR.

⚠️ Preview quality and not safety-aligned

This is a preview experiment, not a production model. It has not been fully safety-aligned and may follow harmful instructions. Outputs may be unstable and may hallucinate. Do not use it for safety-critical or high-stakes applications.

License

NB-License 1.0 — Apache 2.0 adapted with additional use-based restrictions. You must not use the model to intentionally recreate its training data, nor use it or its output to power services whose primary purpose is giving access to licensed press publications in that training data.

Model by NbAiLab — https://ai.nb.no · https://huggingface.co/NbAiLab/borealis2-26b-a4b-preview

Custom Fields

Special features defined by the model author

Enable Thinking

: boolean

(default=true)

Let the model write a reasoning block before answering. Borealis 2 tends to reason in English even when answering in Norwegian, and often reasons anyway on hard prompts. Off matches the upstream chat template default.

Parameters

Custom configuration options included with this model

Reasoning Section Parsing
{ "enabled": true, "startString": "<|channel>thought", "endString": "<channel|>" }
Temperature
1
Top K Sampling
64
Top P Sampling
0.95