llmfan46 commited on
Commit
24194e8
Β·
verified Β·
1 Parent(s): f943153

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,17 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ BF16/Laguna-S-2.1-Uncensored-Heretic-BF16.gguf-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
37
+ BF16/Laguna-S-2.1-Uncensored-Heretic-BF16.gguf-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Laguna-S-2.1-Uncensored-Heretic-mmproj-BF16.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Laguna-S-2.1-Uncensored-Heretic-mmproj-F16.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Laguna-S-2.1-Uncensored-Heretic-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Laguna-S-2.1-Uncensored-Heretic-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Laguna-S-2.1-Uncensored-Heretic-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Laguna-S-2.1-Uncensored-Heretic-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Laguna-S-2.1-Uncensored-Heretic-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Laguna-S-2.1-Uncensored-Heretic-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Laguna-S-2.1-Uncensored-Heretic-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Laguna-S-2.1-Uncensored-Heretic-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
48
+ Laguna-S-2.1-Uncensored-Heretic-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ Laguna-S-2.1-Uncensored-Heretic-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
BF16/Laguna-S-2.1-Uncensored-Heretic-BF16.gguf-00001-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae8e4e8e62c939b36377d85547b0df114921fb856793421adefe8d6293b90ba1
3
+ size 198658021056
BF16/Laguna-S-2.1-Uncensored-Heretic-BF16.gguf-00002-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76410bf6d9a0b29be8166f3f5849a99de9e88212e359dad5f63e6480700453ee
3
+ size 36544242048
Laguna-S-2.1-Uncensored-Heretic-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dcf82eaded6a1e9a652c691905c5839ceceb0717b66dfdb3e6bdd06a5084c8a
3
+ size 49207949440
Laguna-S-2.1-Uncensored-Heretic-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c3ed14c32c1c18bec2b9146538766fef8ece5d44d656ddb2ee74605689f2a1e
3
+ size 66761111680
Laguna-S-2.1-Uncensored-Heretic-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5aa1d4aaebc9024561cc1a00f28ebc4dd03850acfd9df60fb5235fa79689787e
3
+ size 62331926656
Laguna-S-2.1-Uncensored-Heretic-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39dffcc8c9881d5940a88537f4a4a7a48f12371859d9e274ca2a33c1bdf674f1
3
+ size 56896108672
Laguna-S-2.1-Uncensored-Heretic-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ab4f849bce1da1d80231b49da98c6d94872c0949426abd956faeba44c479fff
3
+ size 73033103232
Laguna-S-2.1-Uncensored-Heretic-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29ad54c047f41567f2d7a4d1652480d5b2430cbe81222dc7d33e86ac4eebcd71
3
+ size 72687663232
Laguna-S-2.1-Uncensored-Heretic-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2118cd069259a72ee234d01aa62efbeb6186db511876577ef7b9d2f7eab19f1
3
+ size 84911372160
Laguna-S-2.1-Uncensored-Heretic-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a30a703e359abc54abd3d7ed51ba11cff917e9e2e16b57d3af0e8a3029a2adf
3
+ size 86277208192
Laguna-S-2.1-Uncensored-Heretic-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c8021bfe8868a5213c7f2303057b410b39885df7138d80ac346c8514935d5a2
3
+ size 97532032896
Laguna-S-2.1-Uncensored-Heretic-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77fc7d7fc419e5e63fa62946fac120a33b888e5a1db1e889246ea7fa078c8cf8
3
+ size 128750827392
Laguna-S-2.1-Uncensored-Heretic-mmproj-BF16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b26f6f1fd0c31d696f5bf5a9a8d429918a2cc5ea641dec08543bf7ed69b7986
3
+ size 912263136
Laguna-S-2.1-Uncensored-Heretic-mmproj-F16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7338385736f18dc1d4a03284c67f124826aa08e57b2c7f84d70ac57ed71840a
3
+ size 908724192
README.md ADDED
@@ -0,0 +1,304 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ inference: false
4
+ extra_gated_description: >-
5
+ To learn more about how we process your personal data, please read our <a
6
+ href="https://poolside.ai/legal/privacy">Privacy Policy</a>.
7
+ tags:
8
+ - heretic
9
+ - uncensored
10
+ - decensored
11
+ - abliterated
12
+ - laguna-s-2.1
13
+ - vllm
14
+ base_model:
15
+ - llmfan46/Laguna-S-2.1-Uncensored-Heretic
16
+ license: openmdw-1.1
17
+ pipeline_tag: text-generation
18
+ ---
19
+ <div style="background-color: #ff4444; color: white; padding: 20px; border-radius: 10px; text-align: center; margin: 20px 0;">
20
+ <h2 style="color: white; margin: 0 0 10px 0;">🚨⚠️ I HAVE REACHED HUGGING FACE'S FREE STORAGE LIMIT ⚠️🚨</h2>
21
+ <p style="font-size: 18px; margin: 0 0 15px 0;">I can no longer upload new models unless I can cover the cost of additional storage.<br>I host <b>70+ free models</b> as an independent contributor and this work is unpaid.<br><b>Without your support, no more new models can be uploaded.</b></p>
22
+ <p style="font-size: 20px; margin: 0;">
23
+ <a href="https://ko-fi.com/llmfan46" style="color: white; text-decoration: underline;">β˜• Ko-fi</a>
24
+ </p>
25
+ <p style="font-size: 16px; margin: 10px 0 0 0;">Every contribution goes directly toward Hugging Face storage fees to keep models free for everyone.</p>
26
+ </div>
27
+
28
+ ---
29
+
30
+ ### **94% fewer refusals** (6/100 Uncensored vs 97/100 Original) while preserving model quality (0.0300 KL divergence).
31
+
32
+ ## ❀️ Support My Work
33
+ Creating these models takes significant time, work and compute. If you find them useful consider supporting me:
34
+
35
+ ![image/png](https://huggingface.co/llmfan46/Omega-Darker-Gaslight_The-Final-Forgotten-Fever-Dream-24B-ultra-uncensored-heretic-v1/resolve/main/waifu001.webp)
36
+
37
+ | Platform | Link | What you get |
38
+ |----------|------|--------------|
39
+ | β˜• Ko-fi | [Coffee Tips](https://ko-fi.com/llmfan46) | My eternal gratitude |
40
+
41
+ Your help will motivate me and would go into further improving my workflow and coverings fees for storage, compute and may even help uncensoring bigger model with rental Cloud GPUs.
42
+
43
+ -----
44
+
45
+ GGUF quantizations of [llmfan46/Laguna-S-2.1-Uncensored-Heretic](https://huggingface.co/llmfan46/Laguna-S-2.1-Uncensored-Heretic)
46
+
47
+ # This is a decensored version of [poolside/Laguna-S-2.1](https://huggingface.co/poolside/Laguna-S-2.1), made using [Heretic](https://heretic-project.org/)
48
+
49
+ ## Performance
50
+
51
+ | Metric | This model | Original model ([Qwen3-Coder-Next](https://huggingface.co/Qwen/Qwen3-Coder-Next)) |
52
+ | :----- | :--------: | :---------------------------: |
53
+ | **KL divergence** | <span style="color:darkgoldenrod">0.0300</span> | 0 *(by definition)* |
54
+ | **Refusals** | βœ… <span style="color:darkgreen">6/100</span> | ❌ <span style="color:blue">97/100</span> |
55
+
56
+ Lower refusals indicate fewer content restrictions, while lower KL divergence indicates more closeness to the original model's baseline. Higher refusals cause more rejections, objections, pushbacks, lecturing, censorship, softening and deflections.
57
+
58
+ -----
59
+
60
+ ## Quantizations
61
+
62
+ | Filename | Quant | Description |
63
+ |----------|-------|-------------|
64
+ | Laguna-S-2.1-Uncensored-Heretic-BF16.gguf | BF16 | Full precision |
65
+ | Laguna-S-2.1-Uncensored-Heretic-Q8_0.gguf | Q8_0 | Near-lossless, recommended |
66
+ | Laguna-S-2.1-Uncensored-Heretic-Q6_K.gguf | Q6_K | Excellent quality |
67
+ | Laguna-S-2.1-Uncensored-Heretic-Q5_K_M.gguf | Q5_K_M | Good balance |
68
+ | Laguna-S-2.1-Uncensored-Heretic-Q5_K_S.gguf | Q5_K_S | Smaller Q5 |
69
+ | Laguna-S-2.1-Uncensored-Heretic-Q4_K_M.gguf | Q4_K_M | Good for limited VRAM |
70
+ | Laguna-S-2.1-Uncensored-Heretic-Q4_K_S.gguf | Q4_K_S | Smaller Q4 |
71
+ | Laguna-S-2.1-Uncensored-Heretic-Q3_K_L.gguf | Q3_K_L | Low VRAM, decent quality
72
+ | Laguna-S-2.1-Uncensored-Heretic-Q3_K_M.gguf | Q3_K_M | Low VRAM, smaller |
73
+ | Laguna-S-2.1-Uncensored-Heretic-Q3_K_S.gguf | Q3_K_S | Very Low VRAM |
74
+ | Laguna-S-2.1-Uncensored-Heretic-Q2_K.gguf | Q2_K | Very Very Low VRAM, only use if you have no other options |
75
+
76
+ ## Vision Projector
77
+
78
+ | Filename | Quant | Description |
79
+ |----------|-------|-------------|
80
+ | Laguna-S-2.1-Uncensored-Heretic-mmproj-BF16.gguf | BF16 | Native precision |
81
+ | Laguna-S-2.1-Uncensored-Heretic-mmproj-F16.gguf | F16 | F16 precision |
82
+
83
+ A Vision Projector File is Required for vision/multimodal capabilities. Use alongside any quantization above.
84
+
85
+ ## Usage
86
+
87
+ Works with llama.cpp, LM Studio, Ollama, and other GGUF-compatible tools.
88
+
89
+ ## Vision support (experimental)
90
+
91
+ This repo includes two multimodal projector files built from
92
+ [numinousmuses/laguna-s-2.1-vision](https://huggingface.co/numinousmuses/laguna-s-2.1-vision)
93
+ (frozen Qwen3-VL vision tower + a 35.4M-parameter trained projector, MIT β€” all credit
94
+ to its author). Either works with any text quant in this repo; use F16 if your
95
+ backend has trouble with BF16 (e.g. Vulkan or older builds):
96
+
97
+ llama-server -m Laguna-S-2.1-Uncensored-Heretic-Q6_K.gguf \
98
+ --mmproj Laguna-S-2.1-Uncensored-Heretic-mmproj-BF16.gguf -ngl 99 --jinja
99
+
100
+ No extra flags or template overrides are needed β€” these GGUFs embed a chat template
101
+ tuned for llama.cpp/LM Studio multimodal use (images are rendered before the question
102
+ text, matching the projector's training order).
103
+
104
+ **Vision works, but this is a grafted projector, not a natively-trained VLM β€” set
105
+ your expectations:**
106
+
107
+ - **Reliable**: image attached in the **first message** of a conversation, short
108
+ factual questions ("What does the sign say?", "What animal is this?"), low
109
+ temperature (≀ 0.3) for vision turns.
110
+ - **Best-effort**: images added mid-conversation. The model may answer tersely
111
+ ("Answer: X"), misidentify the subject, or occasionally ignore the image β€”
112
+ regenerate, or start a fresh chat with the image first for anything that matters.
113
+ - **Weak by design** (per the upstream projector's training: 2,070 steps of
114
+ short-form VQA, single-turn, no chat template): long detailed descriptions,
115
+ trick/false-premise questions (hallucination-prone), and fine print β€” add
116
+ `--image-min-tokens 1024` for document images.
117
+ - The projector was trained against *stock* Laguna-S-2.1; this repo pairs it with an
118
+ abliterated backbone, so vision quality may sit slightly below the upstream
119
+ author's published benchmarks.
120
+
121
+ -----
122
+
123
+ <p align="center">
124
+ <img alt="poolside-banner" src="https://poolside.ai/assets/laguna/laguna-s-2-1-banner.svg" width="800px">
125
+ </p>
126
+
127
+ <p align="center">
128
+ <a href="https://openrouter.ai/poolside/laguna-s-2.1"><strong>Use on OpenRouter</strong></a> Β·
129
+ <a href="https://vercel.com/ai-gateway/models/laguna-s-2.1"><strong>Use on Vercel AI Gateway</strong></a> Β·
130
+ <a href="https://poolside.ai/blog/introducing-laguna-s-2-1"><strong>Release blog post</strong></a>
131
+ </p>
132
+
133
+ <br>
134
+
135
+ # Laguna S 2.1
136
+
137
+ Laguna S 2.1 is a 118B total parameter Mixture-of-Experts model with 8B activated
138
+ parameters per token, designed for agentic coding and long-horizon work. It sits
139
+ between [Laguna XS 2.1](https://huggingface.co/poolside/Laguna-XS-2.1) (33B-A3B) and
140
+ Laguna M.1 (225B-A23B) in the Laguna series and shares the family recipe: a
141
+ token-choice router with softplus gating over 256 routed experts plus one shared
142
+ expert, grouped-query attention, and interleaved full/sliding-window attention.
143
+
144
+ ## Highlights
145
+
146
+ - **Mixed SWA and global attention layout**: 48 layers in a 1:3 global-to-SWA ratio
147
+ (12 global attention layers, 36 sliding-window layers, window 512), with softplus
148
+ attention gating and per-layer-type rotary scales
149
+ - **1M context**: 1,048,576-token context window
150
+ - **Native reasoning support**: interleaved thinking between tool calls, with
151
+ per-request control via `enable_thinking`
152
+ - **Speculative decoding**: a trained
153
+ [DFlash draft model](https://huggingface.co/poolside/Laguna-S-2.1-DFlash) is available
154
+ for lower-latency serving
155
+ - **Quantized variants**:
156
+ [FP8](https://huggingface.co/poolside/Laguna-S-2.1-FP8),
157
+ [NVFP4](https://huggingface.co/poolside/Laguna-S-2.1-NVFP4),
158
+ [INT4](https://huggingface.co/poolside/Laguna-S-2.1-INT4) and
159
+ [GGUF](https://huggingface.co/poolside/Laguna-S-2.1-GGUF)
160
+ - **OpenMDW-1.1 license**: Use and modify the model and associated materials freely
161
+ for commercial and non-commercial purposes
162
+ ([learn more about OpenMDW](https://openmdw.ai/))
163
+
164
+ ## Model overview
165
+
166
+ - Number of parameters: 118B total, ~8B activated per token
167
+ - Layers: 48 (12 global attention, 36 sliding-window attention)
168
+ - Experts: 256 routed (top-10) plus 1 shared expert
169
+ - Attention: grouped-query, 8 KV heads, head dim 128; per-head softplus output gating
170
+ - Sliding window: 512 tokens
171
+ - Context window: 1,048,576 tokens
172
+ - Vocabulary: 100,352 tokens (Laguna family tokenizer)
173
+ - Modality: text-to-text
174
+ - Reasoning: interleaved thinking with preserved thinking
175
+
176
+ ## Benchmark results
177
+
178
+ <p align="center">
179
+ <img alt="benchmarks" src="https://poolside.ai/assets/laguna/laguna-s-2-1-chart.svg" width="800px">
180
+ </p>
181
+
182
+ | Model | Size | Terminal-Bench 2.1 | SWE-bench Multilingual | SWE-Bench Pro (Public Dataset) | DeepSWE | SWE Atlas (Codebase QnA) | Toolathlon Verified |
183
+ |---|---|---|---|---|---|---|---|
184
+ | **Laguna S 2.1** | 118B-A8B | **70.2%** | **78.5%** | **59.4%** | **40.4%** | **46.2%** | **49.7%** |
185
+ | Tencent Hy3 | 295B-A21B | 71.7% | 75.8% | 57.9% | - | - | - |
186
+ | Inkling | 975B-A41B | 63.8% | - | 54.3% | - | - | 45.5%* |
187
+ | Nemotron 3 Ultra | 550B-A55B | 56.4% | 67.7% | - | - | - | 34.3%* |
188
+ | DeepSeek-V4-Pro Max | 1.6T-A49B | 64.0%* | 76.2% | 55.4% | 9.0%* | 27.2%* | 55.9%* |
189
+ | Kimi K3 | 2800B-A50B | 88.3% | - | - | 69% | - | - |
190
+ | Qwen 3.7 Max | - | 74.5%* | 78.3% | 60.6% | - | - | - |
191
+ | Muse Spark 1.1 | - | 80% | - | 61.5% | 53.3% | 42.2%* | 75.6% |
192
+ | Claude Fable 5 | - | 88% | - | 80.3% | 70% | - | - |
193
+
194
+ Benchmarks as of 21 July 2026. Laguna S 2.1 in **bold**; a dash (-) marks a benchmark a model was not evaluated on. Scores marked * are as reported by third parties: Terminal-Bench 2.1 and DeepSWE via Artificial Analysis, SWE Atlas via Scale AI's official leaderboard, and Toolathlon Verified via its official leaderboard. Full evaluation trajectories: [trajectories.poolside.ai](https://trajectories.poolside.ai).
195
+
196
+ ## Usage
197
+
198
+ Laguna S 2.1 uses the same `laguna` architecture as Laguna XS 2.1, so the same
199
+ engine integrations apply (vLLM, SGLang, Transformers, TRT-LLM, llama.cpp). At 118B
200
+ parameters the BF16 checkpoint needs multiple GPUs (roughly 236GB of weights);
201
+ quantized variants reduce this substantially.
202
+
203
+ ### vLLM
204
+
205
+ ```shell
206
+ vllm serve \
207
+ --model poolside/Laguna-S-2.1 \
208
+ --tensor-parallel-size 4 \
209
+ --tool-call-parser poolside_v1 \
210
+ --reasoning-parser poolside_v1 \
211
+ --enable-auto-tool-choice \
212
+ --served-model-name laguna \
213
+ --default-chat-template-kwargs '{"enable_thinking": true}'
214
+ ```
215
+
216
+ > [!NOTE]
217
+ > **Optional: speculative decoding with DFlash.** Pair with the
218
+ > [Laguna S 2.1 DFlash draft model](https://huggingface.co/poolside/Laguna-S-2.1-DFlash)
219
+ > by adding
220
+ > `--speculative-config '{"model":"poolside/Laguna-S-2.1-DFlash","num_speculative_tokens":7,"method":"dflash"}'`.
221
+
222
+ ### SGLang
223
+
224
+ ```shell
225
+ python -m sglang.launch_server \
226
+ --model-path poolside/Laguna-S-2.1 \
227
+ --tp-size 4 \
228
+ --reasoning-parser poolside_v1 \
229
+ --tool-call-parser poolside_v1 \
230
+ --trust-remote-code
231
+ ```
232
+
233
+ ### TRT-LLM
234
+
235
+ ```shell
236
+ trtllm-serve poolside/Laguna-S-2.1 --trust-remote-code \
237
+ --tool_parser poolside_v1 --reasoning_parser laguna
238
+ ```
239
+
240
+ Note the flag names differ from vLLM's (`--tool_parser`, and the reasoning parser
241
+ is `laguna`, not `poolside_v1`).
242
+
243
+ ### llama.cpp
244
+
245
+ GGUF conversions are available at
246
+ [poolside/Laguna-S-2.1-GGUF](https://huggingface.co/poolside/Laguna-S-2.1-GGUF).
247
+ Serve with poolside's llama.cpp fork, branch
248
+ [`laguna`](https://github.com/poolsideai/llama.cpp/tree/laguna), which carries
249
+ full Laguna support including DFlash speculative decoding. (Base Laguna support
250
+ is also in upstream review:
251
+ [ggml-org/llama.cpp#25165](https://github.com/ggml-org/llama.cpp/pull/25165).)
252
+
253
+ ```shell
254
+ git clone --branch laguna https://github.com/poolsideai/llama.cpp
255
+ cd llama.cpp && cmake -B build && cmake --build build -j
256
+
257
+ ./build/bin/llama-server -m laguna-s-2.1-Q4_K_M.gguf --jinja --port 8000
258
+
259
+ # with DFlash speculative decoding:
260
+ ./build/bin/llama-server -m laguna-s-2.1-Q4_K_M.gguf \
261
+ -md laguna-s-2.1-DFlash-BF16.gguf \
262
+ --spec-type draft-dflash --spec-draft-n-max 7 -fa on --jinja --port 8000
263
+ ```
264
+
265
+ ### Ollama
266
+
267
+ Run directly from the [Ollama library](https://ollama.com/library/laguna-s-2.1):
268
+
269
+ ```shell
270
+ ollama run laguna-s-2.1
271
+ ```
272
+
273
+ Quantization variants are available as tags (`q4_K_M`, `q8_0`, `f16`, `mxfp8`,
274
+ `nvfp4`, `mlx-bf16`), for example `ollama run laguna-s-2.1:q8_0`. The Laguna chat
275
+ template is baked into the model, so tool-calling and interleaved reasoning work
276
+ automatically.
277
+
278
+ ## Controlling reasoning
279
+
280
+ Laguna S 2.1 has native reasoning support and works best with *preserved thinking*:
281
+ keep `reasoning_content` from prior assistant messages in the message history.
282
+ The model will generally reason before calling tools and between tool calls, and
283
+ may stop reasoning in follow-up steps if prior thinking blocks are dropped.
284
+
285
+ Thinking is controlled per request via the chat template:
286
+
287
+ ```python
288
+ extra_body={"chat_template_kwargs": {"enable_thinking": False}}
289
+ ```
290
+
291
+ or at the server level with
292
+ `--default-chat-template-kwargs '{"enable_thinking": true}'`. For agentic coding
293
+ use cases we recommend enabling thinking and preserving reasoning in the message
294
+ history.
295
+
296
+ ## License
297
+
298
+ This model is licensed under the [OpenMDW-1.1 License](https://huggingface.co/poolside/Laguna-S-2.1/blob/main/LICENSE.md).
299
+
300
+ ## Intended and Responsible Use
301
+
302
+ Laguna S 2.1 is designed for software engineering and agentic coding use cases, and you are responsible for confirming that it is appropriate for your intended application. Laguna S 2.1 is subject to the [OpenMDW-1.1 License](https://huggingface.co/poolside/Laguna-S-2.1/blob/main/LICENSE.md), and should be used consistently with Poolside's [Acceptable Use Policy](https://poolside.ai/legal/acceptable-use-policy). We advise against circumventing Laguna S 2.1 safety guardrails without implementing substantially equivalent mitigations appropriate for your use case.
303
+
304
+ Please report security vulnerabilities or safety concerns to [security@poolside.ai](mailto:security@poolside.ai).