vectionlabs commited on
Commit
f3a7352
·
verified ·
1 Parent(s): a5b2666

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +241 -0
README.md ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ pipeline_tag: image-text-to-text
6
+ base_model: Qwen/Qwen3.8-27B
7
+ library_name: transformers
8
+ tags:
9
+ - multimodal
10
+ - vision-language
11
+ - reasoning
12
+ - thinking
13
+ - efficient-reasoning
14
+ - code
15
+ - software-engineering
16
+ - swe
17
+ - agentic
18
+ - terminal
19
+ - tool-use
20
+ - long-context
21
+ - qwen3.8
22
+ - thinking-efficiency
23
+ model-index:
24
+ - name: Salience-27B-R5
25
+ results: []
26
+ ---
27
+
28
+ <div align="center">
29
+
30
+ # Salience — 27B
31
+ <p align="center">
32
+ <img src="Salience-27B-R5-Banner.png" alt="Vection Labs Salience 27B R5 Banner" width="100%">
33
+ </p>
34
+
35
+ **A 27B dense vision-language engineer that stops thinking once it has the answer.**
36
+
37
+ *Vection Labs*
38
+
39
+ [Weights](https://huggingface.co/vectionlabs/Salience-27B-R5) ·
40
+ [Reasoning effort](#reasoning-effort) ·
41
+ [Quickstart](#quickstart) ·
42
+ [Limitations](#limitations--responsible-use)
43
+
44
+ </div>
45
+
46
+ ---
47
+ > [!Note]
48
+ > **R5.** Fifth revision of the Salience Ridge 27B tier, rebuilt on the Qwen3.8 architecture.
49
+ > Stable for daily use; rough edges get fixed in the stable release — report them in the
50
+ > Community tab.
51
+
52
+ ## Abstract
53
+
54
+ Salience 27B is a **27-billion-parameter dense** vision-language model built for **hard,
55
+ practical engineering work**: writing and debugging real code, repo-scale edits, multi-step
56
+ terminal agency, and quantitative reasoning — with native vision and **1,048,576 tokens** of
57
+ context.
58
+
59
+ Where the MoE tiers of the family (Pro, Flash) route a few billion active parameters per token,
60
+ Salience 27B runs **all 27B on every token** — maximum per-token capacity, a hybrid
61
+ linear+full attention stack for long-context speed, and an **MTP head** for self-speculative
62
+ decoding.
63
+
64
+ R5's headline change is **reasoning economy**. A reasoning model pays for accuracy in tokens,
65
+ and most of them pay the same price for *"what does this flag do"* as for *"why does this
66
+ deadlock under load"*. R5 does not: it reasons hard when the problem needs it and answers
67
+ directly when it does not — and unlike the stock configuration, that is the **default**
68
+ behaviour rather than something you have to ask for.
69
+
70
+ ## Highlights
71
+
72
+ - **Reasoning economy by default.** Deliberation is proportional to difficulty. The model is no
73
+ longer instructed to validate assumptions and weigh alternatives on every single turn — it
74
+ decides. Ask for depth explicitly and you still get it.
75
+ - **Dense capacity.** All 27B parameters active on every token — no routing, no expert misses,
76
+ maximum depth on every step of a hard problem.
77
+ - **SWE-agent first.** Tuned to produce runnable code, repo-scale edits, methodical debugging,
78
+ and well-formed native tool calls.
79
+ - **Lives in a terminal.** Plans the command sequence, checks each result before the next step,
80
+ and recovers from failures instead of repeating them.
81
+ - **A million tokens.** Paste the repository, not the fragment.
82
+ - **Genuinely multimodal.** Images and video are first-class inputs — read a diagram, a UI
83
+ screenshot, a stack-trace screenshot, or a whiteboard photo mid-task.
84
+ - **Fast decode for its size.** Hybrid linear+full attention (full every 4th layer) plus an MTP
85
+ head for self-speculative decoding.
86
+ - **Direct.** Reduced refusal behaviour: it answers the question you asked. See
87
+ [responsible use](#limitations--responsible-use).
88
+ - **Open weights.** Apache-2.0, `transformers`-native.
89
+
90
+ ## Model overview
91
+
92
+ | | |
93
+ |---|---|
94
+ | **Parameters** | 27.8B dense (all active) |
95
+ | **Modalities** | text, image, video -> text |
96
+ | **Context window** | 1,048,576 tokens (YaRN + Dual Chunk Attention) |
97
+ | **Attention** | hybrid linear + full attention (full every 4th layer) |
98
+ | **Decoding** | MTP head included (self-speculative decoding) |
99
+ | **Precision** | bfloat16 |
100
+ | **Architecture** | Qwen3.8 dense (27B) + native vision encoder |
101
+ | **License** | Apache-2.0 |
102
+ | **Library** | 🤗 `transformers` (`AutoModelForImageTextToText`) |
103
+
104
+ The family: [Pro (35B-A3B MoE)](https://huggingface.co/vectionlabs/Salience-1.5-Pro) ·
105
+ [Flash (30B-A3B MoE)](https://huggingface.co/vectionlabs/Salience-1.5-Flash) ·
106
+ **27B R5 (dense)** ·
107
+ [Nano (9B dense)](https://huggingface.co/vectionlabs/Salience-1.5-Nano)
108
+
109
+ ## Capabilities
110
+
111
+ - **Code & SWE execution** — runnable code, repo-scale edits, methodical debugging, robust backends.
112
+ - **Terminal & agentic work** — multi-step planning, tool orchestration, long-horizon task execution.
113
+ - **Deep reasoning** — structured, inspectable chains of thought for hard, multi-step problems.
114
+ - **Multimodal perception** — diagrams, screenshots, documents, and video as first-class inputs.
115
+
116
+ ## Reasoning effort
117
+
118
+ Thinking is **on by default**: the model reasons inside `<think>...</think>` before answering,
119
+ and serving stacks expose it as `reasoning_content`. What R5 changes is **how much**.
120
+
121
+ | value | behaviour | use it for |
122
+ |---|---|---|
123
+ | `low` | keeps the chain short and moves straight to the conclusion | chat, lookups, formatting, refactors |
124
+ | `medium` | **default** — no deliberation instruction; the model decides | everyday engineering work |
125
+ | `xhigh` | deliberate at length, validate assumptions, weigh alternatives | hard debugging, architecture, math |
126
+
127
+ ```python
128
+ # default: proportional reasoning, nothing to configure
129
+ text = proc.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
130
+
131
+ # ask for depth when the problem earns it
132
+ text = proc.apply_chat_template(messages, tokenize=False, add_generation_prompt=True,
133
+ reasoning_effort="xhigh")
134
+
135
+ # skip thinking entirely
136
+ text = proc.apply_chat_template(messages, tokenize=False, add_generation_prompt=True,
137
+ enable_thinking=False)
138
+ ```
139
+
140
+ Reasoning is native — you never have to write *think step by step*. Doing so makes a model of
141
+ this kind *perform* reasoning instead of doing it.
142
+
143
+ ## Tool calling
144
+
145
+ The model emits **XML-style tool calls** (`<tool_call><function=...><parameter=...>`), parsed
146
+ natively by vLLM / SGLang tool parsers for this model family, and by `llama-server --jinja`.
147
+ Provide tool schemas via the chat template `tools` argument.
148
+
149
+ ## Intended use
150
+
151
+ Salience 27B R5 targets **software engineering, coding agents, and technical research**:
152
+
153
+ - Code generation, explanation, debugging, review, and repo-scale tasks.
154
+ - Terminal / tool-using agent workflows (CLI agents, browsing, ML engineering, DevOps).
155
+ - Backend and systems design, infrastructure-as-code.
156
+ - Step-by-step reasoning and quantitative problem solving.
157
+ - Screenshot / diagram / document understanding inside engineering workflows.
158
+
159
+ It is **not** intended for high-stakes decisions without human review, nor as a source of truth
160
+ for medical, legal, or financial advice.
161
+
162
+ ## Quickstart
163
+
164
+ ```python
165
+ from transformers import AutoModelForImageTextToText, AutoProcessor
166
+ import torch
167
+
168
+ repo = "vectionlabs/Salience-27B-R5"
169
+ proc = AutoProcessor.from_pretrained(repo)
170
+ model = AutoModelForImageTextToText.from_pretrained(
171
+ repo, dtype="auto", device_map="auto"
172
+ )
173
+
174
+ messages = [{
175
+ "role": "user",
176
+ "content": [{"type": "text", "text": "Implement an LRU cache in Python with O(1) get/put."}],
177
+ }]
178
+ text = proc.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
179
+ inputs = proc(text=[text], return_tensors="pt").to(model.device)
180
+ out = model.generate(**inputs, max_new_tokens=2048)
181
+ print(proc.batch_decode(out[:, inputs.input_ids.shape[1]:], skip_special_tokens=True)[0])
182
+ ```
183
+
184
+ Requires a recent `transformers` (>= 5.8). Vision works the same way with
185
+ `{"type": "image", "image": ...}` content items.
186
+
187
+ ## Quantized GGUF (local)
188
+
189
+ ```bash
190
+ llama-server -m Salience-27B-R5-Q4_K_M.gguf \
191
+ --jinja --reasoning-format deepseek \
192
+ -c 32768 -ngl 999
193
+ ```
194
+
195
+ `--jinja` is not optional for agent use: it applies the model's own chat template, which is
196
+ what turns XML tool calls into proper OpenAI-style `tool_calls` — and what makes the reasoning
197
+ defaults above take effect. Without it you get malformed calls and stock behaviour.
198
+
199
+ This is a **dense** model, so standard quant intuition applies: **Q4_K_M and up** hold quality
200
+ well; use Q5_K_M/Q6_K when VRAM allows. (The MoE tiers of the family need Q5/Q6 minimum — that
201
+ constraint does *not* apply here.) Keep the MTP layers if your quant includes them: they enable
202
+ self-speculative decoding for free extra speed.
203
+
204
+ ## Long context
205
+
206
+ Ships with YaRN (`factor 4.0`, `original_max_position_embeddings 262144`) and a
207
+ `dual_chunk_attention_config` block. Static YaRN taxes short prompts slightly; that is the cost
208
+ of having the full window available by default. vLLM and SGLang read the DCA block,
209
+ `transformers` ignores it.
210
+
211
+ ## Prompting tips
212
+
213
+ - **Let it think.** No "think step by step" — reasoning is native. Reach for `reasoning_effort`
214
+ instead of prompt scaffolding.
215
+ - **Give it the repo.** A million tokens: paste whole files or repositories, not fragments.
216
+ - **Agentic loops.** Use `--jinja` with llama-server (or vLLM/SGLang parsers) so XML tool calls
217
+ become proper OpenAI-style `tool_calls`.
218
+ - **Vision mid-task.** Screenshots of stack traces and UI states work as debugging inputs.
219
+
220
+ ## Benchmarks
221
+
222
+ Published when they come from a run that reproduces. Not before.
223
+
224
+ ## Limitations & responsible use
225
+
226
+ - May hallucinate APIs or facts under ambiguity; verify critical output.
227
+ - Review generated code before running it, especially anything touching production systems.
228
+ - **Reduced refusal behaviour.** There is no content filter in the weights and no system-level
229
+ guardrail — the model will attempt requests a stock model declines, and it will not decline
230
+ on your behalf. Whatever policy your deployment needs is yours to add at the application
231
+ layer. You are responsible for what you generate and for complying with the law where you
232
+ operate.
233
+ - `medium` reasoning by default means shorter chains on genuinely hard problems than a model
234
+ pinned to maximum effort. Pass `reasoning_effort="xhigh"` when the problem deserves it.
235
+
236
+ ---
237
+
238
+ <sub>Built on Qwen3.8 (Apache-2.0).</sub>
239
+ <sub>Build with love by the vectionlabs' team (Apache-2.0).</sub>
240
+
241
+ <div align="center"><sub>© 2026 Vection Labs</sub></div>