Text Generation
PEFT
Safetensors
English
jumplander
jx
qwen2.5
qwen2.5-coder
coding-agent
agentic-ai
software-engineering
repository-understanding
goal-grounding
tool-use
behavioral-policy
qlora
lora
conversational
Instructions to use jumplander/JX-Coder-7B-Agent-Behavior with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use jumplander/JX-Coder-7B-Agent-Behavior with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-7B-Instruct") model = PeftModel.from_pretrained(base_model, "jumplander/JX-Coder-7B-Agent-Behavior") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,62 +1,1246 @@
|
|
| 1 |
---
|
| 2 |
base_model: Qwen/Qwen2.5-Coder-7B-Instruct
|
| 3 |
library_name: peft
|
| 4 |
-
model_name: jx-coder-7b-agent
|
| 5 |
-
tags:
|
| 6 |
-
- base_model:adapter:Qwen/Qwen2.5-Coder-7B-Instruct
|
| 7 |
-
- lora
|
| 8 |
-
- sft
|
| 9 |
-
- transformers
|
| 10 |
-
- trl
|
| 11 |
-
licence: license
|
| 12 |
pipeline_tag: text-generation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 58 |
-
|
| 59 |
-
|
| 60 |
-
|
|
|
|
| 61 |
}
|
| 62 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
base_model: Qwen/Qwen2.5-Coder-7B-Instruct
|
| 3 |
library_name: peft
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
pipeline_tag: text-generation
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- jumplander
|
| 10 |
+
- jx
|
| 11 |
+
- qwen2.5
|
| 12 |
+
- qwen2.5-coder
|
| 13 |
+
- coding-agent
|
| 14 |
+
- agentic-ai
|
| 15 |
+
- software-engineering
|
| 16 |
+
- repository-understanding
|
| 17 |
+
- goal-grounding
|
| 18 |
+
- tool-use
|
| 19 |
+
- behavioral-policy
|
| 20 |
+
- qlora
|
| 21 |
+
- lora
|
| 22 |
+
- peft
|
| 23 |
+
datasets:
|
| 24 |
+
- jumplander/JL-AgentBehavior-10K
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
<div align="center">
|
| 28 |
+
|
| 29 |
+
<a href="https://jumplander.org">
|
| 30 |
+
<img src="https://jumplander.org/favicon.ico" alt="JumpLander logo" width="96">
|
| 31 |
+
</a>
|
| 32 |
+
|
| 33 |
+
# JX Coder 7B Agent Behavior
|
| 34 |
+
|
| 35 |
+
### A specialized behavioral-policy adapter for controlled software-engineering agents
|
| 36 |
+
|
| 37 |
+
[](https://jumplander.org)
|
| 38 |
+
[](https://huggingface.co/Qwen/Qwen2.5-Coder-7B-Instruct)
|
| 39 |
+
[](https://huggingface.co/datasets/jumplander/JL-AgentBehavior-10K)
|
| 40 |
+
[](https://github.com/huggingface/peft)
|
| 41 |
+
[](https://www.apache.org/licenses/LICENSE-2.0)
|
| 42 |
+
|
| 43 |
+
[Website](https://jumplander.org) ·
|
| 44 |
+
[Hugging Face](https://huggingface.co/jumplander) ·
|
| 45 |
+
[Dataset](https://huggingface.co/datasets/jumplander/JL-AgentBehavior-10K) ·
|
| 46 |
+
[Base Model](https://huggingface.co/Qwen/Qwen2.5-Coder-7B-Instruct)
|
| 47 |
+
|
| 48 |
+
</div>
|
| 49 |
+
|
| 50 |
+
---
|
| 51 |
+
|
| 52 |
+
## Table of Contents
|
| 53 |
+
|
| 54 |
+
- [Model Overview](#model-overview)
|
| 55 |
+
- [Why This Model Exists](#why-this-model-exists)
|
| 56 |
+
- [Release Positioning](#release-positioning)
|
| 57 |
+
- [Model Architecture](#model-architecture)
|
| 58 |
+
- [Training Data](#training-data)
|
| 59 |
+
- [Training Objective](#training-objective)
|
| 60 |
+
- [Behavioral Capabilities](#behavioral-capabilities)
|
| 61 |
+
- [Training Configuration](#training-configuration)
|
| 62 |
+
- [Installation](#installation)
|
| 63 |
+
- [Quick Start](#quick-start)
|
| 64 |
+
- [Four-Bit Loading](#four-bit-loading)
|
| 65 |
+
- [Chat Inference](#chat-inference)
|
| 66 |
+
- [Structured Agent Inference](#structured-agent-inference)
|
| 67 |
+
- [Merging the Adapter](#merging-the-adapter)
|
| 68 |
+
- [Using the Model in an Agent Runtime](#using-the-model-in-an-agent-runtime)
|
| 69 |
+
- [Recommended Prompts](#recommended-prompts)
|
| 70 |
+
- [Expected Output Behavior](#expected-output-behavior)
|
| 71 |
+
- [Limitations](#limitations)
|
| 72 |
+
- [Evaluation Status](#evaluation-status)
|
| 73 |
+
- [Safety and Deployment Notes](#safety-and-deployment-notes)
|
| 74 |
+
- [Versioning](#versioning)
|
| 75 |
+
- [Roadmap](#roadmap)
|
| 76 |
+
- [License and Attribution](#license-and-attribution)
|
| 77 |
+
- [Citation](#citation)
|
| 78 |
+
- [About JumpLander](#about-jumplander)
|
| 79 |
+
|
| 80 |
+
---
|
| 81 |
+
|
| 82 |
+
## Model Overview
|
| 83 |
+
|
| 84 |
+
**JX Coder 7B Agent Behavior** is a Parameter-Efficient Fine-Tuning adapter developed by [JumpLander](https://jumplander.org) for controlled software-engineering agents.
|
| 85 |
+
|
| 86 |
+
The release is built on top of:
|
| 87 |
+
|
| 88 |
+
- **Base model:** [`Qwen/Qwen2.5-Coder-7B-Instruct`](https://huggingface.co/Qwen/Qwen2.5-Coder-7B-Instruct)
|
| 89 |
+
- **Fine-tuning method:** 4-bit QLoRA / PEFT
|
| 90 |
+
- **Primary dataset:** [`jumplander/JL-AgentBehavior-10K`](https://huggingface.co/datasets/jumplander/JL-AgentBehavior-10K)
|
| 91 |
+
- **Primary language:** English
|
| 92 |
+
- **Artifact type:** LoRA adapter
|
| 93 |
+
- **Primary purpose:** coding-agent behavioral policy
|
| 94 |
+
- **Developer:** [JumpLander](https://jumplander.org)
|
| 95 |
+
|
| 96 |
+
This repository contains the trained adapter weights, not a standalone copy of the full 7B base model.
|
| 97 |
+
|
| 98 |
+
At inference time, the adapter is loaded on top of Qwen2.5-Coder-7B-Instruct:
|
| 99 |
+
|
| 100 |
+
```text
|
| 101 |
+
Qwen2.5-Coder-7B-Instruct
|
| 102 |
+
+
|
| 103 |
+
JX Coder 7B Agent Behavior Adapter
|
| 104 |
+
=
|
| 105 |
+
JX Coder 7B Agent Behavior
|
| 106 |
+
```
|
| 107 |
+
|
| 108 |
+
The small adapter file size is expected. The base model provides general language and coding capability, while the JX adapter modifies the model toward a more controlled agent policy.
|
| 109 |
+
|
| 110 |
+
---
|
| 111 |
+
|
| 112 |
+
## Why This Model Exists
|
| 113 |
+
|
| 114 |
+
Many coding models are optimized to generate an answer or code block immediately after receiving a request.
|
| 115 |
+
|
| 116 |
+
That behavior is useful for code completion, but it is not sufficient for a reliable software-engineering agent operating on a real repository.
|
| 117 |
+
|
| 118 |
+
A repository-level agent must make a sequence of bounded decisions:
|
| 119 |
+
|
| 120 |
+
```text
|
| 121 |
+
user request
|
| 122 |
+
↓
|
| 123 |
+
interpret the task
|
| 124 |
+
↓
|
| 125 |
+
identify constraints and approval boundaries
|
| 126 |
+
↓
|
| 127 |
+
inspect repository evidence
|
| 128 |
+
↓
|
| 129 |
+
build a proportional plan
|
| 130 |
+
↓
|
| 131 |
+
select the correct tool
|
| 132 |
+
↓
|
| 133 |
+
make a scoped change
|
| 134 |
+
↓
|
| 135 |
+
run relevant verification
|
| 136 |
+
↓
|
| 137 |
+
diagnose failures
|
| 138 |
+
↓
|
| 139 |
+
report only what evidence supports
|
| 140 |
+
```
|
| 141 |
+
|
| 142 |
+
The objective of this release is not to replace the coding ability of the base model. Qwen2.5-Coder already provides strong code-oriented language-model capabilities.
|
| 143 |
+
|
| 144 |
+
The objective is to specialize the model toward behaviors that matter inside an agent runtime:
|
| 145 |
+
|
| 146 |
+
- understanding the actual requested outcome;
|
| 147 |
+
- separating facts from assumptions;
|
| 148 |
+
- grounding repository references in available evidence;
|
| 149 |
+
- respecting explicit constraints;
|
| 150 |
+
- avoiding unrelated edits;
|
| 151 |
+
- requesting approval before sensitive operations;
|
| 152 |
+
- validating changes before claiming success;
|
| 153 |
+
- changing the hypothesis after a failed attempt;
|
| 154 |
+
- producing structured decisions that a runtime can execute.
|
| 155 |
+
|
| 156 |
+
JumpLander is developing JX as a controlled environment connecting language models to repositories, files, terminal commands, tests, memory, diffs, and user approval. This model is one component of that larger system.
|
| 157 |
+
|
| 158 |
+
Learn more about the project at [jumplander.org](https://jumplander.org).
|
| 159 |
+
|
| 160 |
+
---
|
| 161 |
+
|
| 162 |
+
## Release Positioning
|
| 163 |
+
|
| 164 |
+
This release should be understood as:
|
| 165 |
+
|
| 166 |
+
> A behavioral-policy warm-start for software-engineering agents.
|
| 167 |
+
|
| 168 |
+
It should not be described as:
|
| 169 |
+
|
| 170 |
+
- a model trained from random initialization;
|
| 171 |
+
- a fully autonomous coding agent;
|
| 172 |
+
- a runtime-verified repository repair model;
|
| 173 |
+
- a replacement for repository execution;
|
| 174 |
+
- a standalone benchmark winner;
|
| 175 |
+
- a fully bilingual English–Persian model.
|
| 176 |
+
|
| 177 |
+
The adapter is developed and fine-tuned by JumpLander, while the underlying language-model architecture and base weights come from Qwen2.5-Coder-7B-Instruct.
|
| 178 |
+
|
| 179 |
+
---
|
| 180 |
+
|
| 181 |
+
## Model Architecture
|
| 182 |
+
|
| 183 |
+
| Property | Value |
|
| 184 |
+
|---|---|
|
| 185 |
+
| Model family | JX Coder |
|
| 186 |
+
| Release name | JX Coder 7B Agent Behavior |
|
| 187 |
+
| Base model | Qwen2.5-Coder-7B-Instruct |
|
| 188 |
+
| Approximate base parameters | 7B |
|
| 189 |
+
| Adaptation method | QLoRA |
|
| 190 |
+
| Adapter framework | PEFT |
|
| 191 |
+
| Quantization during training | 4-bit NF4 |
|
| 192 |
+
| Adapter rank | 16 |
|
| 193 |
+
| Sequence length | 1,024 tokens |
|
| 194 |
+
| Output artifact | LoRA adapter |
|
| 195 |
+
| Primary modality | Text |
|
| 196 |
+
| Primary task | Structured coding-agent behavior |
|
| 197 |
+
| Primary language | English |
|
| 198 |
+
| Persian support | Experimental and limited |
|
| 199 |
+
|
| 200 |
+
The adapter is designed to be loaded with the [`peft`](https://github.com/huggingface/peft) library.
|
| 201 |
+
|
| 202 |
+
---
|
| 203 |
+
|
| 204 |
+
## Training Data
|
| 205 |
+
|
| 206 |
+
### Primary Dataset
|
| 207 |
+
|
| 208 |
+
The primary data source is:
|
| 209 |
+
|
| 210 |
+
### [`jumplander/JL-AgentBehavior-10K`](https://huggingface.co/datasets/jumplander/JL-AgentBehavior-10K)
|
| 211 |
+
|
| 212 |
+
JL-AgentBehavior-10K is a JumpLander research-preview dataset designed to study and train behavioral policy for repository-level coding agents.
|
| 213 |
+
|
| 214 |
+
The dataset emphasizes the process around software changes rather than only the final answer.
|
| 215 |
+
|
| 216 |
+
Its behavioral structure includes concepts such as:
|
| 217 |
+
|
| 218 |
+
```text
|
| 219 |
+
task
|
| 220 |
+
→ repository evidence
|
| 221 |
+
→ bounded plan
|
| 222 |
+
→ tool selection
|
| 223 |
+
→ scoped edit strategy
|
| 224 |
+
→ verification
|
| 225 |
+
→ failure diagnosis and repair
|
| 226 |
+
→ evidence-based final report
|
| 227 |
+
```
|
| 228 |
+
|
| 229 |
+
The dataset contains structured supervision for:
|
| 230 |
+
|
| 231 |
+
- trajectory decisions;
|
| 232 |
+
- selected and rejected behaviors;
|
| 233 |
+
- failure diagnosis and repair;
|
| 234 |
+
- repository grounding;
|
| 235 |
+
- tool selection;
|
| 236 |
+
- bounded editing;
|
| 237 |
+
- verification;
|
| 238 |
+
- approval boundaries;
|
| 239 |
+
- evidence-aware reporting.
|
| 240 |
+
|
| 241 |
+
### Local Training Snapshot
|
| 242 |
+
|
| 243 |
+
The local preprocessing pipeline used for this adapter produced:
|
| 244 |
+
|
| 245 |
+
| Item | Count |
|
| 246 |
+
|---|---:|
|
| 247 |
+
| Canonical records used by the local training snapshot | 7,500 |
|
| 248 |
+
| Generated supervised training views | 15,000 |
|
| 249 |
+
| Additional identity examples | 16 |
|
| 250 |
+
| Total prepared examples | 15,016 |
|
| 251 |
+
| Training examples | 14,265 |
|
| 252 |
+
| Validation examples | 751 |
|
| 253 |
+
|
| 254 |
+
The local snapshot and preprocessing view counts describe this training run. They should not be interpreted as replacing the official dataset card, package splits, or version history.
|
| 255 |
+
|
| 256 |
+
### Data Language
|
| 257 |
+
|
| 258 |
+
The behavioral supervision used in this release is primarily English.
|
| 259 |
+
|
| 260 |
+
Persian-language examples were not present at a scale sufficient to claim strong Persian generation quality.
|
| 261 |
+
|
| 262 |
+
### Data Evidence Level
|
| 263 |
+
|
| 264 |
+
The dataset is intended for behavioral-policy research and training. Synthetic tool descriptions, candidate commands, expected observations, or repair paths do not prove that real repository operations were executed.
|
| 265 |
+
|
| 266 |
+
Users should review the complete dataset documentation before making claims about runtime correctness:
|
| 267 |
+
|
| 268 |
+
- [Dataset card](https://huggingface.co/datasets/jumplander/JL-AgentBehavior-10K)
|
| 269 |
+
- [JumpLander organization](https://huggingface.co/jumplander)
|
| 270 |
+
- [JumpLander website](https://jumplander.org)
|
| 271 |
+
|
| 272 |
+
---
|
| 273 |
+
|
| 274 |
+
## Training Objective
|
| 275 |
+
|
| 276 |
+
The adapter was trained to make the base model more likely to follow a controlled software-engineering policy.
|
| 277 |
+
|
| 278 |
+
### Core Objectives
|
| 279 |
+
|
| 280 |
+
1. **Goal grounding**
|
| 281 |
+
|
| 282 |
+
Identify the requested outcome instead of reacting only to keywords.
|
| 283 |
+
|
| 284 |
+
2. **Constraint extraction**
|
| 285 |
+
|
| 286 |
+
Preserve restrictions such as:
|
| 287 |
+
|
| 288 |
+
- do not modify unrelated files;
|
| 289 |
+
- do not add dependencies;
|
| 290 |
+
- keep the public API stable;
|
| 291 |
+
- inspect before editing;
|
| 292 |
+
- ask before destructive actions.
|
| 293 |
+
|
| 294 |
+
3. **Repository grounding**
|
| 295 |
+
|
| 296 |
+
Avoid inventing files, functions, tests, command outputs, or repository state.
|
| 297 |
+
|
| 298 |
+
4. **Authority awareness**
|
| 299 |
+
|
| 300 |
+
Distinguish actions that can proceed automatically from actions requiring explicit approval.
|
| 301 |
+
|
| 302 |
+
5. **Tool selection**
|
| 303 |
+
|
| 304 |
+
Select a tool that matches the current information need.
|
| 305 |
+
|
| 306 |
+
6. **Bounded planning**
|
| 307 |
+
|
| 308 |
+
Build a plan proportional to the task rather than producing unnecessary broad changes.
|
| 309 |
+
|
| 310 |
+
7. **Verification discipline**
|
| 311 |
+
|
| 312 |
+
Avoid claiming a fix is complete without relevant evidence.
|
| 313 |
+
|
| 314 |
+
8. **Failure diagnosis**
|
| 315 |
+
|
| 316 |
+
Update the hypothesis after a failed test or unexpected observation.
|
| 317 |
+
|
| 318 |
+
9. **Critique and repair**
|
| 319 |
+
|
| 320 |
+
Identify why a trajectory was unsafe, unsupported, or ineffective and propose a bounded correction.
|
| 321 |
+
|
| 322 |
+
10. **Evidence-aware reporting**
|
| 323 |
+
|
| 324 |
+
Clearly separate:
|
| 325 |
+
|
| 326 |
+
- verified results;
|
| 327 |
+
- observed facts;
|
| 328 |
+
- assumptions;
|
| 329 |
+
- unresolved risks;
|
| 330 |
+
- suggested next actions.
|
| 331 |
+
|
| 332 |
+
---
|
| 333 |
+
|
| 334 |
+
## Behavioral Capabilities
|
| 335 |
+
|
| 336 |
+
This release is intended to improve policy behavior in the following areas.
|
| 337 |
+
|
| 338 |
+
### Goal Grounding
|
| 339 |
+
|
| 340 |
+
The model can structure an incoming task into an interpreted request, missing information, relevant constraints, and a next action.
|
| 341 |
+
|
| 342 |
+
### Repository-Aware Planning
|
| 343 |
+
|
| 344 |
+
When repository evidence is available, the model can use it to recommend an inspection or edit sequence.
|
| 345 |
+
|
| 346 |
+
### Tool-Oriented Decisions
|
| 347 |
+
|
| 348 |
+
The model can produce decisions suitable for mapping to runtime tools such as:
|
| 349 |
+
|
| 350 |
+
```text
|
| 351 |
+
search
|
| 352 |
+
list_directory
|
| 353 |
+
read_file
|
| 354 |
+
update_plan
|
| 355 |
+
apply_patch
|
| 356 |
+
run_tests
|
| 357 |
+
run_linter
|
| 358 |
+
git_diff
|
| 359 |
+
diagnose_failure
|
| 360 |
+
review_diff
|
| 361 |
+
request_approval
|
| 362 |
+
```
|
| 363 |
+
|
| 364 |
+
The runtime must map these abstract actions to its actual interfaces.
|
| 365 |
+
|
| 366 |
+
### Constraint Handling
|
| 367 |
+
|
| 368 |
+
The model is trained to treat user constraints as part of the task contract, not as optional preferences.
|
| 369 |
+
|
| 370 |
+
### Failure Recovery
|
| 371 |
+
|
| 372 |
+
The model can critique a failed attempt, revise the diagnosis, and suggest a more bounded repair sequence.
|
| 373 |
+
|
| 374 |
+
### Evidence-Based Completion
|
| 375 |
+
|
| 376 |
+
The model is intended to avoid unsupported statements such as “the issue is fixed” when no test or runtime evidence has been provided.
|
| 377 |
+
|
| 378 |
+
---
|
| 379 |
+
|
| 380 |
+
## Training Configuration
|
| 381 |
+
|
| 382 |
+
The following configuration describes the training setup used for this adapter.
|
| 383 |
+
|
| 384 |
+
| Setting | Value |
|
| 385 |
+
|---|---|
|
| 386 |
+
| Base model | `Qwen/Qwen2.5-Coder-7B-Instruct` |
|
| 387 |
+
| Training method | Supervised fine-tuning |
|
| 388 |
+
| PEFT method | QLoRA |
|
| 389 |
+
| Quantization | 4-bit |
|
| 390 |
+
| Quantization type | NF4 |
|
| 391 |
+
| Double quantization | Enabled |
|
| 392 |
+
| LoRA rank | 16 |
|
| 393 |
+
| Maximum sequence length | 1,024 |
|
| 394 |
+
| Per-device batch size | 1 |
|
| 395 |
+
| Gradient accumulation | 16 |
|
| 396 |
+
| Epochs | 1 |
|
| 397 |
+
| Optimizer steps | 892 |
|
| 398 |
+
| Reported training hardware | NVIDIA GeForce RTX 3090 24GB |
|
| 399 |
+
| Output format | PEFT LoRA adapter |
|
| 400 |
+
|
| 401 |
+
> **Hardware note:** RTX 3090 24GB is recorded here as the reported hardware for the release. Maintainers should reconcile this field with the archived training log before treating it as independently verified metadata.
|
| 402 |
+
|
| 403 |
+
### Training Behavior Observed
|
| 404 |
+
|
| 405 |
+
Training loss decreased rapidly and token-level training accuracy became very high.
|
| 406 |
+
|
| 407 |
+
This indicates that the adapter strongly learned the structured output patterns present in the training views. It also creates a risk of over-structuring: the model may emit agent-style JSON for ordinary conversational requests.
|
| 408 |
+
|
| 409 |
+
This behavior is documented as a limitation rather than hidden.
|
| 410 |
+
|
| 411 |
+
---
|
| 412 |
+
|
| 413 |
+
## Installation
|
| 414 |
+
|
| 415 |
+
Create a Python environment and install the required libraries:
|
| 416 |
+
|
| 417 |
+
```bash
|
| 418 |
+
pip install -U torch transformers accelerate peft bitsandbytes safetensors
|
| 419 |
+
```
|
| 420 |
+
|
| 421 |
+
Recommended versions should be selected according to the local CUDA and PyTorch environment.
|
| 422 |
+
|
| 423 |
+
Check CUDA availability:
|
| 424 |
+
|
| 425 |
+
```python
|
| 426 |
+
import torch
|
| 427 |
+
|
| 428 |
+
print("PyTorch:", torch.__version__)
|
| 429 |
+
print("CUDA available:", torch.cuda.is_available())
|
| 430 |
+
|
| 431 |
+
if torch.cuda.is_available():
|
| 432 |
+
print("GPU:", torch.cuda.get_device_name(0))
|
| 433 |
+
```
|
| 434 |
+
|
| 435 |
+
---
|
| 436 |
+
|
| 437 |
+
## Quick Start
|
| 438 |
+
|
| 439 |
+
This adapter requires the base model.
|
| 440 |
+
|
| 441 |
+
Replace the adapter identifier below with the final Hugging Face repository ID if it differs.
|
| 442 |
+
|
| 443 |
+
```python
|
| 444 |
+
import torch
|
| 445 |
+
from peft import PeftModel
|
| 446 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 447 |
+
|
| 448 |
+
BASE_MODEL_ID = "Qwen/Qwen2.5-Coder-7B-Instruct"
|
| 449 |
+
ADAPTER_ID = "jumplander/JX-Coder-7B-Agent-Behavior"
|
| 450 |
+
|
| 451 |
+
tokenizer = AutoTokenizer.from_pretrained(
|
| 452 |
+
ADAPTER_ID,
|
| 453 |
+
trust_remote_code=True,
|
| 454 |
+
)
|
| 455 |
+
|
| 456 |
+
base_model = AutoModelForCausalLM.from_pretrained(
|
| 457 |
+
BASE_MODEL_ID,
|
| 458 |
+
torch_dtype="auto",
|
| 459 |
+
device_map="auto",
|
| 460 |
+
trust_remote_code=True,
|
| 461 |
+
)
|
| 462 |
+
|
| 463 |
+
model = PeftModel.from_pretrained(
|
| 464 |
+
base_model,
|
| 465 |
+
ADAPTER_ID,
|
| 466 |
+
)
|
| 467 |
+
|
| 468 |
+
model.eval()
|
| 469 |
+
|
| 470 |
+
messages = [
|
| 471 |
+
{
|
| 472 |
+
"role": "system",
|
| 473 |
+
"content": (
|
| 474 |
+
"You are JX Coder 7B Agent Behavior, developed by JumpLander "
|
| 475 |
+
"on top of Qwen2.5-Coder-7B-Instruct. "
|
| 476 |
+
"Ground decisions in available evidence. "
|
| 477 |
+
"Do not claim that repository operations were executed unless "
|
| 478 |
+
"the runtime provides execution results."
|
| 479 |
+
),
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"role": "user",
|
| 483 |
+
"content": (
|
| 484 |
+
"A user reports that authentication redirects back to the login "
|
| 485 |
+
"page after a successful sign-in. Do not edit files yet. "
|
| 486 |
+
"Explain what repository evidence should be inspected first."
|
| 487 |
+
),
|
| 488 |
+
},
|
| 489 |
+
]
|
| 490 |
+
|
| 491 |
+
prompt = tokenizer.apply_chat_template(
|
| 492 |
+
messages,
|
| 493 |
+
tokenize=False,
|
| 494 |
+
add_generation_prompt=True,
|
| 495 |
+
)
|
| 496 |
+
|
| 497 |
+
inputs = tokenizer(
|
| 498 |
+
prompt,
|
| 499 |
+
return_tensors="pt",
|
| 500 |
+
).to(model.device)
|
| 501 |
+
|
| 502 |
+
with torch.inference_mode():
|
| 503 |
+
output_ids = model.generate(
|
| 504 |
+
**inputs,
|
| 505 |
+
max_new_tokens=512,
|
| 506 |
+
temperature=0.2,
|
| 507 |
+
do_sample=True,
|
| 508 |
+
top_p=0.9,
|
| 509 |
+
repetition_penalty=1.05,
|
| 510 |
+
)
|
| 511 |
+
|
| 512 |
+
generated_ids = output_ids[0, inputs["input_ids"].shape[-1]:]
|
| 513 |
+
|
| 514 |
+
response = tokenizer.decode(
|
| 515 |
+
generated_ids,
|
| 516 |
+
skip_special_tokens=True,
|
| 517 |
+
)
|
| 518 |
+
|
| 519 |
+
print(response)
|
| 520 |
+
```
|
| 521 |
+
|
| 522 |
+
---
|
| 523 |
+
|
| 524 |
+
## Four-Bit Loading
|
| 525 |
+
|
| 526 |
+
For lower VRAM usage, load the base model in 4-bit.
|
| 527 |
+
|
| 528 |
+
```python
|
| 529 |
+
import torch
|
| 530 |
+
from peft import PeftModel
|
| 531 |
+
from transformers import (
|
| 532 |
+
AutoModelForCausalLM,
|
| 533 |
+
AutoTokenizer,
|
| 534 |
+
BitsAndBytesConfig,
|
| 535 |
+
)
|
| 536 |
+
|
| 537 |
+
BASE_MODEL_ID = "Qwen/Qwen2.5-Coder-7B-Instruct"
|
| 538 |
+
ADAPTER_ID = "jumplander/JX-Coder-7B-Agent-Behavior"
|
| 539 |
+
|
| 540 |
+
compute_dtype = (
|
| 541 |
+
torch.bfloat16
|
| 542 |
+
if torch.cuda.is_available() and torch.cuda.is_bf16_supported()
|
| 543 |
+
else torch.float16
|
| 544 |
+
)
|
| 545 |
+
|
| 546 |
+
quantization_config = BitsAndBytesConfig(
|
| 547 |
+
load_in_4bit=True,
|
| 548 |
+
bnb_4bit_quant_type="nf4",
|
| 549 |
+
bnb_4bit_use_double_quant=True,
|
| 550 |
+
bnb_4bit_compute_dtype=compute_dtype,
|
| 551 |
+
)
|
| 552 |
+
|
| 553 |
+
tokenizer = AutoTokenizer.from_pretrained(
|
| 554 |
+
ADAPTER_ID,
|
| 555 |
+
trust_remote_code=True,
|
| 556 |
+
)
|
| 557 |
+
|
| 558 |
+
base_model = AutoModelForCausalLM.from_pretrained(
|
| 559 |
+
BASE_MODEL_ID,
|
| 560 |
+
quantization_config=quantization_config,
|
| 561 |
+
device_map="auto",
|
| 562 |
+
trust_remote_code=True,
|
| 563 |
+
)
|
| 564 |
+
|
| 565 |
+
model = PeftModel.from_pretrained(
|
| 566 |
+
base_model,
|
| 567 |
+
ADAPTER_ID,
|
| 568 |
+
)
|
| 569 |
+
|
| 570 |
+
model.eval()
|
| 571 |
+
```
|
| 572 |
+
|
| 573 |
+
---
|
| 574 |
+
|
| 575 |
+
## Chat Inference
|
| 576 |
+
|
| 577 |
+
The adapter is strongly biased toward structured agent outputs.
|
| 578 |
+
|
| 579 |
+
For normal conversational usage, use an explicit chat-mode system instruction.
|
| 580 |
+
|
| 581 |
+
```python
|
| 582 |
+
CHAT_SYSTEM_PROMPT = """
|
| 583 |
+
You are JX Coder 7B Agent Behavior, developed by JumpLander.
|
| 584 |
+
Respond naturally and directly.
|
| 585 |
+
Do not return agent JSON unless the user explicitly requests structured output.
|
| 586 |
+
Do not claim to have accessed files, executed commands, or run tests.
|
| 587 |
+
"""
|
| 588 |
+
|
| 589 |
+
messages = [
|
| 590 |
+
{"role": "system", "content": CHAT_SYSTEM_PROMPT},
|
| 591 |
+
{"role": "user", "content": "Explain dependency injection in PHP."},
|
| 592 |
+
]
|
| 593 |
+
```
|
| 594 |
+
|
| 595 |
+
A system prompt can reduce unnecessary structuring, but it cannot fully remove behavior learned during fine-tuning.
|
| 596 |
+
|
| 597 |
+
For production use, JumpLander recommends a runtime-level mode selector.
|
| 598 |
+
|
| 599 |
+
```text
|
| 600 |
+
chat
|
| 601 |
+
coding
|
| 602 |
+
debug
|
| 603 |
+
review
|
| 604 |
+
agent
|
| 605 |
+
```
|
| 606 |
+
|
| 607 |
+
Each mode should use a distinct system prompt and output contract.
|
| 608 |
+
|
| 609 |
+
---
|
| 610 |
+
|
| 611 |
+
## Structured Agent Inference
|
| 612 |
+
|
| 613 |
+
Use an explicit schema when the output will be consumed by software.
|
| 614 |
+
|
| 615 |
+
```python
|
| 616 |
+
import json
|
| 617 |
+
|
| 618 |
+
AGENT_SYSTEM_PROMPT = """
|
| 619 |
+
You are JX Coder 7B Agent Behavior, a behavioral-policy model developed by JumpLander.
|
| 620 |
+
|
| 621 |
+
Return one valid JSON object with these keys:
|
| 622 |
+
|
| 623 |
+
- mode
|
| 624 |
+
- interpreted_request
|
| 625 |
+
- constraints
|
| 626 |
+
- missing_information
|
| 627 |
+
- recommended_action
|
| 628 |
+
- tool
|
| 629 |
+
- arguments
|
| 630 |
+
- evidence_required
|
| 631 |
+
- approval_required
|
| 632 |
+
- completion_status
|
| 633 |
+
|
| 634 |
+
Rules:
|
| 635 |
+
1. Do not invent repository evidence.
|
| 636 |
+
2. Do not claim that a command was executed.
|
| 637 |
+
3. Prefer inspection before mutation.
|
| 638 |
+
4. Respect the user's explicit scope.
|
| 639 |
+
5. Request approval before sensitive or destructive actions.
|
| 640 |
+
6. completion_status must be "pending" unless fresh evidence proves completion.
|
| 641 |
+
"""
|
| 642 |
+
|
| 643 |
+
messages = [
|
| 644 |
+
{"role": "system", "content": AGENT_SYSTEM_PROMPT},
|
| 645 |
+
{
|
| 646 |
+
"role": "user",
|
| 647 |
+
"content": (
|
| 648 |
+
"Fix the PHP login redirect loop. Preserve the public API, "
|
| 649 |
+
"do not add dependencies, and do not modify unrelated files. "
|
| 650 |
+
"No repository files have been provided yet."
|
| 651 |
+
),
|
| 652 |
+
},
|
| 653 |
+
]
|
| 654 |
+
```
|
| 655 |
+
|
| 656 |
+
Example target shape:
|
| 657 |
+
|
| 658 |
+
```json
|
| 659 |
+
{
|
| 660 |
+
"mode": "repository_grounding",
|
| 661 |
+
"interpreted_request": {
|
| 662 |
+
"goal": "Diagnose and repair the PHP login redirect loop",
|
| 663 |
+
"task_type": "bug_fix"
|
| 664 |
+
},
|
| 665 |
+
"constraints": [
|
| 666 |
+
"Preserve the public API",
|
| 667 |
+
"Do not add dependencies",
|
| 668 |
+
"Do not modify unrelated files"
|
| 669 |
+
],
|
| 670 |
+
"missing_information": [
|
| 671 |
+
"Authentication controller or handler",
|
| 672 |
+
"Session initialization code",
|
| 673 |
+
"Login success redirect logic",
|
| 674 |
+
"Relevant route or middleware configuration"
|
| 675 |
+
],
|
| 676 |
+
"recommended_action": "Inspect authentication and session flow before editing",
|
| 677 |
+
"tool": "search",
|
| 678 |
+
"arguments": {
|
| 679 |
+
"query": "login session redirect authentication middleware"
|
| 680 |
+
},
|
| 681 |
+
"evidence_required": [
|
| 682 |
+
"Relevant file paths",
|
| 683 |
+
"Session creation path",
|
| 684 |
+
"Redirect condition",
|
| 685 |
+
"Existing authentication tests"
|
| 686 |
+
],
|
| 687 |
+
"approval_required": false,
|
| 688 |
+
"completion_status": "pending"
|
| 689 |
+
}
|
| 690 |
+
```
|
| 691 |
+
|
| 692 |
+
The generated output may not always conform perfectly to a schema. Production systems should validate and repair model output before tool execution.
|
| 693 |
+
|
| 694 |
---
|
| 695 |
|
| 696 |
+
## Merging the Adapter
|
| 697 |
|
| 698 |
+
The published artifact is an adapter.
|
|
|
|
| 699 |
|
| 700 |
+
To create a merged model locally:
|
| 701 |
|
| 702 |
```python
|
| 703 |
+
import torch
|
| 704 |
+
from peft import PeftModel
|
| 705 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 706 |
+
|
| 707 |
+
BASE_MODEL_ID = "Qwen/Qwen2.5-Coder-7B-Instruct"
|
| 708 |
+
ADAPTER_ID = "jumplander/JX-Coder-7B-Agent-Behavior"
|
| 709 |
+
OUTPUT_DIR = "./jx-coder-7b-agent-behavior-merged"
|
| 710 |
+
|
| 711 |
+
tokenizer = AutoTokenizer.from_pretrained(
|
| 712 |
+
BASE_MODEL_ID,
|
| 713 |
+
trust_remote_code=True,
|
| 714 |
+
)
|
| 715 |
+
|
| 716 |
+
base_model = AutoModelForCausalLM.from_pretrained(
|
| 717 |
+
BASE_MODEL_ID,
|
| 718 |
+
torch_dtype=torch.float16,
|
| 719 |
+
device_map="cpu",
|
| 720 |
+
trust_remote_code=True,
|
| 721 |
+
)
|
| 722 |
+
|
| 723 |
+
model = PeftModel.from_pretrained(
|
| 724 |
+
base_model,
|
| 725 |
+
ADAPTER_ID,
|
| 726 |
+
)
|
| 727 |
+
|
| 728 |
+
merged_model = model.merge_and_unload()
|
| 729 |
+
|
| 730 |
+
merged_model.save_pretrained(
|
| 731 |
+
OUTPUT_DIR,
|
| 732 |
+
safe_serialization=True,
|
| 733 |
+
max_shard_size="4GB",
|
| 734 |
+
)
|
| 735 |
+
|
| 736 |
+
tokenizer.save_pretrained(OUTPUT_DIR)
|
| 737 |
+
|
| 738 |
+
print(f"Merged model saved to: {OUTPUT_DIR}")
|
| 739 |
+
```
|
| 740 |
+
|
| 741 |
+
### Important Notes
|
| 742 |
+
|
| 743 |
+
- Merging requires enough system RAM or VRAM.
|
| 744 |
+
- The merged output will be much larger than the adapter.
|
| 745 |
+
- The merged model remains a derivative of Qwen2.5-Coder-7B-Instruct.
|
| 746 |
+
- Review the base-model license before redistribution.
|
| 747 |
+
- Validate the merged model before publishing it as a separate repository.
|
| 748 |
+
|
| 749 |
+
---
|
| 750 |
+
|
| 751 |
+
## Using the Model in an Agent Runtime
|
| 752 |
+
|
| 753 |
+
This adapter does not provide repository access by itself.
|
| 754 |
+
|
| 755 |
+
A complete runtime should supply tools, state, permission controls, and validation.
|
| 756 |
+
|
| 757 |
+
### Recommended Runtime Layers
|
| 758 |
+
|
| 759 |
+
```text
|
| 760 |
+
User Interface
|
| 761 |
+
↓
|
| 762 |
+
Mode Router
|
| 763 |
+
↓
|
| 764 |
+
Prompt and Context Builder
|
| 765 |
+
↓
|
| 766 |
+
JX Coder 7B Agent Behavior
|
| 767 |
+
↓
|
| 768 |
+
Schema Validator
|
| 769 |
+
↓
|
| 770 |
+
Permission Gateway
|
| 771 |
+
↓
|
| 772 |
+
Tool Runtime
|
| 773 |
+
↓
|
| 774 |
+
Repository / Terminal / Tests
|
| 775 |
+
↓
|
| 776 |
+
Observation Normalizer
|
| 777 |
+
↓
|
| 778 |
+
Model Re-evaluation
|
| 779 |
+
↓
|
| 780 |
+
Evidence-Based Final Report
|
| 781 |
+
```
|
| 782 |
+
|
| 783 |
+
### Recommended Tool Interface
|
| 784 |
+
|
| 785 |
+
A runtime may expose tools such as:
|
| 786 |
+
|
| 787 |
+
```json
|
| 788 |
+
{
|
| 789 |
+
"name": "read_file",
|
| 790 |
+
"description": "Read a repository file without modifying it.",
|
| 791 |
+
"parameters": {
|
| 792 |
+
"path": "string",
|
| 793 |
+
"start_line": "integer or null",
|
| 794 |
+
"end_line": "integer or null"
|
| 795 |
+
}
|
| 796 |
+
}
|
| 797 |
+
```
|
| 798 |
+
|
| 799 |
+
```json
|
| 800 |
+
{
|
| 801 |
+
"name": "apply_patch",
|
| 802 |
+
"description": "Apply a bounded patch to an allowed repository file.",
|
| 803 |
+
"parameters": {
|
| 804 |
+
"path": "string",
|
| 805 |
+
"patch": "unified diff string"
|
| 806 |
+
}
|
| 807 |
+
}
|
| 808 |
+
```
|
| 809 |
+
|
| 810 |
+
```json
|
| 811 |
+
{
|
| 812 |
+
"name": "run_tests",
|
| 813 |
+
"description": "Run an approved test command and return structured output.",
|
| 814 |
+
"parameters": {
|
| 815 |
+
"command": "string",
|
| 816 |
+
"timeout_seconds": "integer"
|
| 817 |
+
}
|
| 818 |
+
}
|
| 819 |
+
```
|
| 820 |
+
|
| 821 |
+
### Runtime Responsibilities
|
| 822 |
+
|
| 823 |
+
The runtime, not the model, must enforce:
|
| 824 |
+
|
| 825 |
+
- allowed directories;
|
| 826 |
+
- command allowlists;
|
| 827 |
+
- network permissions;
|
| 828 |
+
- secret handling;
|
| 829 |
+
- approval boundaries;
|
| 830 |
+
- timeouts;
|
| 831 |
+
- process isolation;
|
| 832 |
+
- patch-size limits;
|
| 833 |
+
- test execution;
|
| 834 |
+
- log capture;
|
| 835 |
+
- rollback;
|
| 836 |
+
- output-schema validation.
|
| 837 |
+
|
| 838 |
+
Never execute model-generated commands without validation.
|
| 839 |
+
|
| 840 |
+
---
|
| 841 |
+
|
| 842 |
+
## Recommended Prompts
|
| 843 |
+
|
| 844 |
+
### Repository Grounding
|
| 845 |
+
|
| 846 |
+
```text
|
| 847 |
+
A user reports that updating a session returns stale state.
|
| 848 |
+
|
| 849 |
+
Constraints:
|
| 850 |
+
- Preserve the public API.
|
| 851 |
+
- Do not add dependencies.
|
| 852 |
+
- Do not edit files yet.
|
| 853 |
+
|
| 854 |
+
List the repository evidence required before proposing a patch.
|
| 855 |
+
```
|
| 856 |
+
|
| 857 |
+
### Bounded Planning
|
| 858 |
+
|
| 859 |
+
```text
|
| 860 |
+
Create a minimal plan for fixing a login redirect loop.
|
| 861 |
+
|
| 862 |
+
Known files:
|
| 863 |
+
- auth/login.php
|
| 864 |
+
- auth/session.php
|
| 865 |
+
- middleware/guest.php
|
| 866 |
+
- tests/auth/LoginTest.php
|
| 867 |
+
|
| 868 |
+
Do not produce code. Identify the likely inspection order and the evidence needed.
|
| 869 |
+
```
|
| 870 |
+
|
| 871 |
+
### Failure Diagnosis
|
| 872 |
+
|
| 873 |
+
```text
|
| 874 |
+
The targeted authentication test still fails after the first patch.
|
| 875 |
+
|
| 876 |
+
Observed result:
|
| 877 |
+
Expected redirect: /panel
|
| 878 |
+
Actual redirect: /login
|
| 879 |
+
|
| 880 |
+
The session cookie is present.
|
| 881 |
+
|
| 882 |
+
Revise the hypothesis and propose the next diagnostic action.
|
| 883 |
+
```
|
| 884 |
+
|
| 885 |
+
### Diff Review
|
| 886 |
+
|
| 887 |
+
```text
|
| 888 |
+
Review the following patch for:
|
| 889 |
+
- unrelated changes;
|
| 890 |
+
- public API breakage;
|
| 891 |
+
- missing tests;
|
| 892 |
+
- unsupported success claims;
|
| 893 |
+
- security risks.
|
| 894 |
+
|
| 895 |
+
Return findings in severity order.
|
| 896 |
+
```
|
| 897 |
+
|
| 898 |
+
### Approval Boundary
|
| 899 |
+
|
| 900 |
+
```text
|
| 901 |
+
The proposed fix requires deleting cached session files in production.
|
| 902 |
+
|
| 903 |
+
Determine whether approval is required and explain the safest next action.
|
| 904 |
+
```
|
| 905 |
+
|
| 906 |
+
---
|
| 907 |
+
|
| 908 |
+
## Expected Output Behavior
|
| 909 |
+
|
| 910 |
+
The model may produce structured objects containing fields such as:
|
| 911 |
+
|
| 912 |
+
```text
|
| 913 |
+
mode
|
| 914 |
+
interaction
|
| 915 |
+
user_input
|
| 916 |
+
interpreted_request
|
| 917 |
+
constraints
|
| 918 |
+
missing_information
|
| 919 |
+
response
|
| 920 |
+
recommended_action
|
| 921 |
+
tool
|
| 922 |
+
arguments
|
| 923 |
+
request_user_action
|
| 924 |
+
```
|
| 925 |
+
|
| 926 |
+
This is expected because the adapter was trained primarily on structured behavioral supervision.
|
| 927 |
+
|
| 928 |
+
### Recommended Deployment Strategy
|
| 929 |
+
|
| 930 |
+
Use separate modes:
|
| 931 |
+
|
| 932 |
+
| Mode | Purpose | Output Style |
|
| 933 |
+
|---|---|---|
|
| 934 |
+
| Chat | Natural technical conversation | Plain text |
|
| 935 |
+
| Coding | Code generation from a sufficiently specified task | Code plus concise explanation |
|
| 936 |
+
| Debug | Evidence-oriented diagnosis | Hypotheses and next checks |
|
| 937 |
+
| Review | Diff, architecture, or security review | Structured findings |
|
| 938 |
+
| Agent | Tool-oriented repository workflow | Validated JSON |
|
| 939 |
+
|
| 940 |
+
Mode selection should happen in the application layer rather than relying entirely on the model to infer the desired format.
|
| 941 |
+
|
| 942 |
+
---
|
| 943 |
+
|
| 944 |
+
## Limitations
|
| 945 |
|
| 946 |
+
### 1. English-First Release
|
| 947 |
+
|
| 948 |
+
The primary training data is English.
|
| 949 |
+
|
| 950 |
+
Persian understanding and generation are experimental and limited. The model may:
|
| 951 |
+
|
| 952 |
+
- answer in English after a Persian request;
|
| 953 |
+
- generate broken Persian;
|
| 954 |
+
- misinterpret Persian technical instructions;
|
| 955 |
+
- return structured JSON instead of natural Persian.
|
| 956 |
+
|
| 957 |
+
Do not market this release as fully bilingual.
|
| 958 |
+
|
| 959 |
+
### 2. Over-Structured Responses
|
| 960 |
+
|
| 961 |
+
The model may return agent-style JSON for simple questions.
|
| 962 |
+
|
| 963 |
+
This is a direct consequence of the training objective and data distribution.
|
| 964 |
+
|
| 965 |
+
### 3. No Native Tool Execution
|
| 966 |
+
|
| 967 |
+
The model cannot independently:
|
| 968 |
+
|
| 969 |
+
- read repository files;
|
| 970 |
+
- apply patches;
|
| 971 |
+
- run terminal commands;
|
| 972 |
+
- execute tests;
|
| 973 |
+
- inspect a browser;
|
| 974 |
+
- access private systems;
|
| 975 |
+
- verify production state.
|
| 976 |
+
|
| 977 |
+
These capabilities require an external runtime.
|
| 978 |
+
|
| 979 |
+
### 4. Synthetic Behavioral Data
|
| 980 |
+
|
| 981 |
+
Synthetic trajectories can teach useful policies, but they do not replace:
|
| 982 |
+
|
| 983 |
+
- real repository snapshots;
|
| 984 |
+
- executed patches;
|
| 985 |
+
- hidden tests;
|
| 986 |
+
- human code review;
|
| 987 |
+
- production incident evidence;
|
| 988 |
+
- contamination analysis;
|
| 989 |
+
- independent benchmarks.
|
| 990 |
+
|
| 991 |
+
### 5. No Standalone Correctness Claim
|
| 992 |
+
|
| 993 |
+
This release has not established general repository-repair correctness.
|
| 994 |
+
|
| 995 |
+
A model can produce a plausible plan while still being wrong.
|
| 996 |
+
|
| 997 |
+
### 6. Template Memorization Risk
|
| 998 |
+
|
| 999 |
+
Rapid loss reduction and high token-level training accuracy indicate strong adaptation to training templates.
|
| 1000 |
+
|
| 1001 |
+
This may reduce output diversity and increase schema repetition.
|
| 1002 |
+
|
| 1003 |
+
### 7. Base-Model Dependency
|
| 1004 |
+
|
| 1005 |
+
The adapter requires a compatible Qwen2.5-Coder-7B-Instruct base model.
|
| 1006 |
+
|
| 1007 |
+
Behavior can vary across:
|
| 1008 |
+
|
| 1009 |
+
- Transformers versions;
|
| 1010 |
+
- PEFT versions;
|
| 1011 |
+
- quantization settings;
|
| 1012 |
+
- generation parameters;
|
| 1013 |
+
- chat templates;
|
| 1014 |
+
- runtime prompts.
|
| 1015 |
+
|
| 1016 |
+
### 8. Context Length Used During Fine-Tuning
|
| 1017 |
+
|
| 1018 |
+
The adapter was trained with a maximum sequence length of 1,024 tokens.
|
| 1019 |
+
|
| 1020 |
+
Long repository contexts were not directly represented at their full deployment length during this training run.
|
| 1021 |
+
|
| 1022 |
+
---
|
| 1023 |
+
|
| 1024 |
+
## Evaluation Status
|
| 1025 |
+
|
| 1026 |
+
This release is a research and engineering artifact.
|
| 1027 |
+
|
| 1028 |
+
At publication time, claims should remain limited to:
|
| 1029 |
+
|
| 1030 |
+
- successful adapter training;
|
| 1031 |
+
- strong learning of structured behavioral formats;
|
| 1032 |
+
- observed identity and agent-policy adaptation;
|
| 1033 |
+
- compatibility with the declared base model;
|
| 1034 |
+
- local inference through PEFT.
|
| 1035 |
+
|
| 1036 |
+
The release does not yet provide a complete independent benchmark report covering:
|
| 1037 |
+
|
| 1038 |
+
- HumanEval;
|
| 1039 |
+
- MBPP;
|
| 1040 |
+
- MultiPL-E;
|
| 1041 |
+
- SWE-bench;
|
| 1042 |
+
- repository-level executable repair;
|
| 1043 |
+
- tool-call accuracy;
|
| 1044 |
+
- schema-validity rate;
|
| 1045 |
+
- Persian benchmarks;
|
| 1046 |
+
- safety-policy adherence;
|
| 1047 |
+
- regression against the unmodified base model.
|
| 1048 |
+
|
| 1049 |
+
### Recommended Evaluation Plan
|
| 1050 |
+
|
| 1051 |
+
Future evaluation should compare:
|
| 1052 |
+
|
| 1053 |
+
```text
|
| 1054 |
+
Base Qwen2.5-Coder-7B-Instruct
|
| 1055 |
+
vs.
|
| 1056 |
+
Base + JX Agent Behavior Adapter
|
| 1057 |
```
|
| 1058 |
|
| 1059 |
+
Suggested metrics:
|
| 1060 |
+
|
| 1061 |
+
- goal extraction accuracy;
|
| 1062 |
+
- constraint retention;
|
| 1063 |
+
- repository hallucination rate;
|
| 1064 |
+
- correct first tool choice;
|
| 1065 |
+
- invalid tool-argument rate;
|
| 1066 |
+
- approval-boundary accuracy;
|
| 1067 |
+
- success-claim calibration;
|
| 1068 |
+
- failure-recovery quality;
|
| 1069 |
+
- JSON schema validity;
|
| 1070 |
+
- patch-scope compliance;
|
| 1071 |
+
- targeted test selection;
|
| 1072 |
+
- natural-chat degradation.
|
| 1073 |
+
|
| 1074 |
+
---
|
| 1075 |
+
|
| 1076 |
+
## Safety and Deployment Notes
|
| 1077 |
|
| 1078 |
+
This model can generate code, shell commands, configuration changes, and operational instructions.
|
| 1079 |
|
| 1080 |
+
Deployment systems should:
|
| 1081 |
|
| 1082 |
+
1. treat generated content as untrusted;
|
| 1083 |
+
2. validate all JSON outputs;
|
| 1084 |
+
3. restrict filesystem access;
|
| 1085 |
+
4. restrict command execution;
|
| 1086 |
+
5. isolate processes;
|
| 1087 |
+
6. protect credentials and secrets;
|
| 1088 |
+
7. require approval for destructive actions;
|
| 1089 |
+
8. log tool calls and observations;
|
| 1090 |
+
9. run targeted tests;
|
| 1091 |
+
10. review diffs before application;
|
| 1092 |
+
11. separate model proposals from verified results;
|
| 1093 |
+
12. provide rollback.
|
| 1094 |
|
| 1095 |
+
The model should never be the sole authority for production deployment, security remediation, database migration, credential rotation, destructive file operations, or other high-impact actions.
|
| 1096 |
|
| 1097 |
+
---
|
| 1098 |
+
|
| 1099 |
+
## Versioning
|
| 1100 |
+
|
| 1101 |
+
### Model Release
|
| 1102 |
|
| 1103 |
+
Recommended repository name:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1104 |
|
| 1105 |
+
```text
|
| 1106 |
+
jumplander/JX-Coder-7B-Agent-Behavior
|
| 1107 |
+
```
|
| 1108 |
+
|
| 1109 |
+
Recommended initial release label:
|
| 1110 |
|
| 1111 |
+
```text
|
| 1112 |
+
1.0 Research Preview
|
| 1113 |
+
```
|
| 1114 |
|
| 1115 |
+
This label communicates that:
|
| 1116 |
+
|
| 1117 |
+
- the adapter is a real public release;
|
| 1118 |
+
- the behavioral specialization is defined;
|
| 1119 |
+
- the model is still under active evaluation;
|
| 1120 |
+
- runtime-level capabilities remain outside the adapter;
|
| 1121 |
+
- future revisions may change data balance, schemas, and inference behavior.
|
| 1122 |
+
|
| 1123 |
+
### Suggested Version Policy
|
| 1124 |
+
|
| 1125 |
+
| Change | Version Increment |
|
| 1126 |
+
|---|---|
|
| 1127 |
+
| Documentation or metadata fix | Patch |
|
| 1128 |
+
| Compatible data expansion or improved prompt templates | Minor |
|
| 1129 |
+
| New output contract or materially different training objective | Major |
|
| 1130 |
+
|
| 1131 |
+
---
|
| 1132 |
+
|
| 1133 |
+
## Roadmap
|
| 1134 |
+
|
| 1135 |
+
Planned research directions for the JX model family include:
|
| 1136 |
+
|
| 1137 |
+
- conversational and agent mode switching;
|
| 1138 |
+
- Persian technical alignment;
|
| 1139 |
+
- repository-grounded code repair;
|
| 1140 |
+
- executable tool calling;
|
| 1141 |
+
- schema-constrained decoding;
|
| 1142 |
+
- tool-result interpretation;
|
| 1143 |
+
- patch generation and review;
|
| 1144 |
+
- test selection;
|
| 1145 |
+
- failure recovery loops;
|
| 1146 |
+
- long-context repository understanding;
|
| 1147 |
+
- memory-aware agent behavior;
|
| 1148 |
+
- human approval policy;
|
| 1149 |
+
- evaluation against real repository tasks;
|
| 1150 |
+
- smaller specialized JX models for routing, debugging, review, and verification.
|
| 1151 |
+
|
| 1152 |
+
Follow development through:
|
| 1153 |
+
|
| 1154 |
+
- [JumpLander](https://jumplander.org)
|
| 1155 |
+
- [JumpLander on Hugging Face](https://huggingface.co/jumplander)
|
| 1156 |
+
- [JL-AgentBehavior-10K](https://huggingface.co/datasets/jumplander/JL-AgentBehavior-10K)
|
| 1157 |
+
|
| 1158 |
+
---
|
| 1159 |
+
|
| 1160 |
+
## License and Attribution
|
| 1161 |
+
|
| 1162 |
+
### Adapter
|
| 1163 |
+
|
| 1164 |
+
This repository is released under the license declared in the Hugging Face metadata and repository files.
|
| 1165 |
+
|
| 1166 |
+
### Base Model
|
| 1167 |
+
|
| 1168 |
+
The adapter is derived from:
|
| 1169 |
+
|
| 1170 |
+
[`Qwen/Qwen2.5-Coder-7B-Instruct`](https://huggingface.co/Qwen/Qwen2.5-Coder-7B-Instruct)
|
| 1171 |
+
|
| 1172 |
+
Users must review and comply with the base model's license and usage terms.
|
| 1173 |
+
|
| 1174 |
+
### Dataset
|
| 1175 |
+
|
| 1176 |
+
The primary JumpLander dataset is:
|
| 1177 |
+
|
| 1178 |
+
[`jumplander/JL-AgentBehavior-10K`](https://huggingface.co/datasets/jumplander/JL-AgentBehavior-10K)
|
| 1179 |
+
|
| 1180 |
+
Users should review the dataset card, provenance statements, limitations, and license before use.
|
| 1181 |
+
|
| 1182 |
+
### Required Technical Description
|
| 1183 |
+
|
| 1184 |
+
When describing the model, use language similar to:
|
| 1185 |
+
|
| 1186 |
+
> JX Coder 7B Agent Behavior is a PEFT/QLoRA adapter developed by JumpLander on top of Qwen2.5-Coder-7B-Instruct and trained with behavioral supervision derived from JL-AgentBehavior-10K.
|
| 1187 |
+
|
| 1188 |
+
Do not describe the adapter as a 7B model trained from scratch by JumpLander.
|
| 1189 |
+
|
| 1190 |
+
---
|
| 1191 |
+
|
| 1192 |
+
## Citation
|
| 1193 |
+
|
| 1194 |
+
### Model
|
| 1195 |
+
|
| 1196 |
+
```bibtex
|
| 1197 |
+
@software{jumplander_jx_coder_7b_agent_behavior_2026,
|
| 1198 |
+
author = {JumpLander},
|
| 1199 |
+
title = {JX Coder 7B Agent Behavior},
|
| 1200 |
+
year = {2026},
|
| 1201 |
+
version = {1.0-research-preview},
|
| 1202 |
+
publisher = {Hugging Face},
|
| 1203 |
+
url = {https://huggingface.co/jumplander/JX-Coder-7B-Agent-Behavior},
|
| 1204 |
+
base_model = {Qwen/Qwen2.5-Coder-7B-Instruct}
|
| 1205 |
+
}
|
| 1206 |
+
```
|
| 1207 |
+
|
| 1208 |
+
### Dataset
|
| 1209 |
|
|
|
|
|
|
|
| 1210 |
```bibtex
|
| 1211 |
+
@dataset{jumplander_agentbehavior_10k_2026,
|
| 1212 |
+
author = {JumpLander},
|
| 1213 |
+
title = {JL-AgentBehavior-10K: Structured Behavioral Supervision for Coding Agents},
|
| 1214 |
+
year = {2026},
|
| 1215 |
+
version = {1.0.0},
|
| 1216 |
+
publisher = {Hugging Face},
|
| 1217 |
+
url = {https://huggingface.co/datasets/jumplander/JL-AgentBehavior-10K}
|
| 1218 |
}
|
| 1219 |
+
```
|
| 1220 |
+
|
| 1221 |
+
---
|
| 1222 |
+
|
| 1223 |
+
## About JumpLander
|
| 1224 |
+
|
| 1225 |
+
[JumpLander](https://jumplander.org) is an AI research and engineering project focused on:
|
| 1226 |
+
|
| 1227 |
+
- agent systems;
|
| 1228 |
+
- specialized models and training;
|
| 1229 |
+
- agentic datasets and evaluation;
|
| 1230 |
+
- intelligent software engineering;
|
| 1231 |
+
- repository intelligence;
|
| 1232 |
+
- controlled tool execution;
|
| 1233 |
+
- knowledge systems;
|
| 1234 |
+
- developer infrastructure.
|
| 1235 |
+
|
| 1236 |
+
JX is JumpLander's controlled software-engineering agent environment. Its purpose is to connect models to repositories, files, diffs, tools, terminal commands, tests, memory, and human approval through an observable and bounded workflow.
|
| 1237 |
+
|
| 1238 |
+
<div align="center">
|
| 1239 |
+
|
| 1240 |
+
### Build. Learn. Research. Innovate.
|
| 1241 |
+
|
| 1242 |
+
[Visit JumpLander](https://jumplander.org) ·
|
| 1243 |
+
[Explore the Dataset](https://huggingface.co/datasets/jumplander/JL-AgentBehavior-10K) ·
|
| 1244 |
+
[View the Base Model](https://huggingface.co/Qwen/Qwen2.5-Coder-7B-Instruct)
|
| 1245 |
+
|
| 1246 |
+
</div>
|