File size: 11,820 Bytes
430debe
23bfcd7
 
97d4f9f
 
23bfcd7
 
97d4f9f
430debe
23bfcd7
97d4f9f
430debe
97d4f9f
 
23bfcd7
 
97d4f9f
23bfcd7
 
97d4f9f
 
 
 
23bfcd7
 
 
97d4f9f
 
430debe
 
23bfcd7
430debe
532dfc6
430debe
532dfc6
430debe
532dfc6
 
 
430debe
 
 
 
 
532dfc6
430debe
532dfc6
 
 
 
 
 
 
430debe
532dfc6
430debe
23bfcd7
430debe
23bfcd7
430debe
23bfcd7
 
 
 
532dfc6
23bfcd7
97d4f9f
23bfcd7
 
 
97d4f9f
430debe
532dfc6
97d4f9f
 
 
 
 
 
 
 
 
 
532dfc6
97d4f9f
 
 
 
532dfc6
97d4f9f
 
 
 
 
 
 
 
 
532dfc6
430debe
23bfcd7
430debe
23bfcd7
430debe
23bfcd7
 
97d4f9f
 
23bfcd7
 
430debe
532dfc6
430debe
23bfcd7
430debe
23bfcd7
430debe
23bfcd7
430debe
23bfcd7
 
 
430debe
97d4f9f
430debe
23bfcd7
 
 
430debe
23bfcd7
430debe
23bfcd7
 
 
 
430debe
23bfcd7
 
 
 
 
 
430debe
23bfcd7
 
430debe
97d4f9f
430debe
23bfcd7
97d4f9f
23bfcd7
97d4f9f
430debe
23bfcd7
532dfc6
430debe
97d4f9f
 
23bfcd7
97d4f9f
 
 
23bfcd7
430debe
97d4f9f
 
 
 
 
23bfcd7
 
430debe
23bfcd7
430debe
23bfcd7
 
 
 
 
 
430debe
97d4f9f
430debe
23bfcd7
97d4f9f
430debe
23bfcd7
97d4f9f
23bfcd7
430debe
97d4f9f
23bfcd7
97d4f9f
23bfcd7
97d4f9f
430debe
97d4f9f
23bfcd7
97d4f9f
 
 
 
 
23bfcd7
430debe
23bfcd7
 
430debe
 
 
97d4f9f
430debe
97d4f9f
430debe
97d4f9f
430debe
97d4f9f
 
 
 
 
 
430debe
97d4f9f
430debe
 
 
23bfcd7
430debe
97d4f9f
430debe
97d4f9f
 
 
 
 
532dfc6
97d4f9f
430debe
 
 
23bfcd7
430debe
97d4f9f
 
 
 
 
430debe
 
 
23bfcd7
430debe
97d4f9f
430debe
97d4f9f
430debe
97d4f9f
 
 
 
 
430debe
 
 
23bfcd7
 
 
 
 
 
 
 
 
 
97d4f9f
 
 
 
23bfcd7
532dfc6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23bfcd7
430debe
 
 
97d4f9f
 
 
 
 
 
 
 
23bfcd7
430debe
97d4f9f
430debe
23bfcd7
 
97d4f9f
23bfcd7
 
 
 
 
 
430debe
 
 
23bfcd7
430debe
97d4f9f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
---
library_name: transformers
pipeline_tag: text-generation
license: apache-2.0
license_link: https://huggingface.co/Qwen/Qwen3.6-27B/blob/main/LICENSE
base_model:
  - Qwen/Qwen3.6-27B
base_model_relation: finetune
language:
  - en
  - zh
tags:
  - veriloop
  - veriloop-coder
  - code
  - coding-agent
  - software-engineering
  - repository-understanding
  - tool-use
  - peft
  - lora
  - safetensors
  - harness-engineering
  - evidence-binding
  - rollback
  - uncertainty-calibration
  - long-context
  - open-weights
---

# VeriLoop Coder-E1

**VeriLoop Coder-E1** is an open-weight coding model release built for harness-ready software engineering workflows. It combines a Qwen3.6-27B-compatible backbone with four focused public PEFT adapters designed to shape coding-agent behavior around tool discipline, evidence awareness, rollback-safe revision, and uncertainty-calibrated decision signals.

This repository is the **public standard release** of VeriLoop Coder-E1. It provides clean Hugging Face-compatible model artifacts for research, evaluation, and downstream experimentation while keeping private production runtime components, training data, and server-side orchestration logic out of the public package.

> **Release status**
>
> This is the first public VeriLoop Coder-E1 27B release package. Formal benchmark results will be added after the dedicated evaluation run. Until then, this model card should be read as a release description and loading guide, not as a leaderboard claim.

---

## Highlights

VeriLoop Coder-E1 is designed for coding-agent environments where a model must operate with repository context, tool calls, validation feedback, and iterative repair loops.

- **Harness-ready coding behavior** — optimized for systems that coordinate model generation with tools, validators, execution feedback, and bounded repair loops.
- **Tool-spec alignment** — improves response patterns around tool schemas, argument discipline, preconditions, postconditions, and execution-facing instruction formats.
- **Evidence-bound coding style** — encourages tighter alignment between claims, code edits, validation signals, and supporting repository context.
- **Rollback-aware revision behavior** — strengthens behavior around failed edits, validator negation, worktree-sensitive repair, and safe correction boundaries.
- **Uncertainty-calibrated routing signals** — supports better control decisions around answer uncertainty, evidence gaps, execution necessity, specification mismatch, and risk pressure.
- **Repository-scale workflow orientation** — intended for code understanding, patch drafting, debugging, refactoring assistance, and agentic software-engineering experiments.
- **Standard open artifacts** — released with sharded `safetensors` backbone weights and PEFT-compatible adapter checkpoints.

VeriLoop Coder-E1 should be understood as a **coding model foundation for harness-centric systems**. The full VeriLoop product experience may involve additional private runtime components such as tool orchestration, sandbox validation, evidence handling, memory, observability, and API-side routing.

---

## Model Overview

| Property | Value |
|---|---|
| Model family | VeriLoop Coder-E1 |
| Backbone | Qwen3.6-27B-compatible backbone |
| Public release type | Open-weight backbone + four public PEFT adapters |
| Primary domain | Coding, software engineering, coding-agent workflows |
| Languages | English, Chinese |
| Weight format | `safetensors` |
| Adapter format | PEFT / LoRA-style adapter checkpoints |
| Runtime target | Harness-driven coding systems, tool-mediated agents, repository workflows |
| Public benchmark status | Formal benchmark results pending |

The public release separates standard model assets from private production runtime infrastructure. Users can load the backbone directly, or mount one public PEFT adapter at a time for targeted experiments.

---

## Public Release Contents

### Included

- Qwen3.6-27B-compatible backbone files in the repository root.
- Standard sharded `safetensors` model weights.
- Tokenizer, generation, and configuration files.
- Four public PEFT adapter folders:
  - `toolspec_adapter/adapter`
  - `uncertainty_adapter/adapter`
  - `rollback_adapter/adapter`
  - `evidence_adapter/adapter`
- Public adapter README files, metric summaries, and public adapter manifests.

### Not Included

- Private runtime heads.
- Internal Harness orchestration code.
- Training JSONL files and evaluation JSONL files.
- Internal logs, checkpoints, optimizer states, and scheduler states.
- Private routing, sandbox, memory, evidence-gate, or production-serving logic.

This separation is intentional: the repository provides standard open model assets, while production-grade coding-agent behavior may require a full runtime system around the model.

---

## Adapter Overview

| Adapter | Folder | Public files | Role |
|---|---|---|---|
| ToolSpec | `toolspec_adapter/adapter` | `adapter_config.json`, `adapter_model.safetensors` | Tool-call discipline, schema obedience, precondition/postcondition sensitivity |
| Uncertainty | `uncertainty_adapter/adapter` | `adapter_config.json`, `adapter_model.safetensors` | Runtime uncertainty calibration across answer, evidence, execution, specification, and risk signals |
| Rollback | `rollback_adapter/adapter` | `adapter_config.json`, `adapter_model.safetensors` | Validator-aware repair behavior, rollback discipline, bounded revision control |
| Evidence Binding | `evidence_adapter/adapter` | `adapter_config.json`, `adapter_model.safetensors` | Stronger alignment between claims, evidence, provenance, and validation context |

Each adapter is published independently. For standard PEFT loading, use one adapter at a time unless your runtime explicitly implements adapter composition or routing.

---

## Quickstart

### Install

```bash
pip install -U transformers peft accelerate safetensors
```

### Load the Backbone

```python
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

repo_id = "veriloop-lab/veriloop-coder-e1"

tokenizer = AutoTokenizer.from_pretrained(
    repo_id,
    trust_remote_code=True,
)

model = AutoModelForCausalLM.from_pretrained(
    repo_id,
    torch_dtype=torch.bfloat16,
    device_map="auto",
    trust_remote_code=True,
)

model.eval()
```

### Load One Public PEFT Adapter

```python
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
import torch

repo_id = "veriloop-lab/veriloop-coder-e1"
adapter_subfolder = "evidence_adapter/adapter"  # choose one public adapter

tokenizer = AutoTokenizer.from_pretrained(repo_id, trust_remote_code=True)
base_model = AutoModelForCausalLM.from_pretrained(
    repo_id,
    torch_dtype=torch.bfloat16,
    device_map="auto",
    trust_remote_code=True,
)

model = PeftModel.from_pretrained(
    base_model,
    repo_id,
    subfolder=adapter_subfolder,
)
model.eval()
```

Available adapter subfolders:

```text
toolspec_adapter/adapter
uncertainty_adapter/adapter
rollback_adapter/adapter
evidence_adapter/adapter
```

### Minimal Generation Example

```python
prompt = "Write a Python function that validates whether a patch should be accepted after unit tests."

messages = [
    {"role": "user", "content": prompt},
]

text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
)

inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(
    **inputs,
    max_new_tokens=1024,
    temperature=0.6,
    top_p=0.95,
    do_sample=True,
)

print(tokenizer.decode(outputs[0], skip_special_tokens=True))
```

---

## Serving Notes

The repository root contains the backbone model files and can be served with standard inference engines that support the underlying architecture. PEFT adapters may require framework-specific LoRA loading support.

### vLLM Backbone Serving

```bash
vllm serve veriloop-lab/veriloop-coder-e1 \
  --trust-remote-code \
  --tensor-parallel-size 2 \
  --max-model-len 131072
```

For public PEFT adapters, use the serving engine's LoRA/adapter loading mechanism if supported by your deployment configuration. The full VeriLoop production setup may use additional private runtime components that are not part of this public release.

---

## Recommended Use Cases

VeriLoop Coder-E1 is intended for research and development in:

- Coding-agent model evaluation.
- Tool-mediated code generation.
- Repository understanding and patch drafting.
- Validator-aware repair experiments.
- Evidence-aware coding workflows.
- Uncertainty-aware software-engineering agents.
- Harness and runtime policy research.

---

## Limitations

- Public benchmark numbers are not yet included in this release and will be added after formal evaluation.
- The public repository does not include private runtime heads or internal Harness orchestration.
- Public adapter loading does not reproduce the complete VeriLoop production API behavior.
- Long-context and high-throughput serving require appropriate GPU memory, KV-cache planning, and inference-engine configuration.
- Users should validate generated code with tests, static analysis, sandboxing, and security review before deployment.

---

## Safety and Responsible Use

VeriLoop Coder-E1 is a coding-focused model and may produce incorrect, insecure, incomplete, or environment-specific code. Users are responsible for validating outputs before use.

Recommended safeguards include:

- Run generated code in isolated environments.
- Review dependencies and shell commands before execution.
- Use automated tests and linters.
- Treat security-sensitive code paths as high risk.
- Avoid using generated code for destructive actions without human review.

---

## File Layout

```text
README.md
config.json
configuration.json
model.safetensors.index.json
veriloop-coder-e1-model-00001-of-00010.safetensors
...
veriloop-coder-e1-model-00010-of-00010.safetensors
tokenizer.json
tokenizer_config.json
generation_config.json
special_tokens_map.json

toolspec_adapter/
  README.md
  metrics_summary.json
  veriloop_adapter_manifest.json
  adapter/
    README.md
    adapter_config.json
    adapter_model.safetensors

uncertainty_adapter/
  README.md
  metrics_summary.json
  veriloop_adapter_manifest.json
  adapter/
    README.md
    adapter_config.json
    adapter_model.safetensors

rollback_adapter/
  README.md
  metrics_summary.json
  veriloop_adapter_manifest.json
  adapter/
    README.md
    adapter_config.json
    adapter_model.safetensors

evidence_adapter/
  README.md
  metrics_summary.json
  veriloop_adapter_manifest.json
  adapter/
    README.md
    adapter_config.json
    adapter_model.safetensors
```

---

## Evaluation Status

Formal benchmark results are planned. Future updates may include coding-agent benchmarks, repository-level tasks, tool-use evaluations, validation/rollback tests, and long-context software-engineering workflows.

Until benchmark numbers are published, this model card should be interpreted as a release description and loading guide, not as a performance leaderboard claim.

---

## Citation

If you use VeriLoop Coder-E1 in research, prototypes, or agent systems, please cite:

```bibtex
@misc{veriloop_coder_e1_2026,
  title        = {VeriLoop Coder-E1: Harness-Ready Open-Weight Coding Model Release},
  author       = {VeriLoop Lab},
  year         = {2026},
  howpublished = {Hugging Face model repository},
  url          = {https://huggingface.co/veriloop-lab/veriloop-coder-e1}
}
```

---

## Acknowledgements

VeriLoop Coder-E1 is built on top of the Qwen3.6-27B open-weight backbone. We thank the open-source model and tooling communities for enabling reproducible model development, adapter-based experimentation, and open deployment workflows.