Run this model with HF Jobs
Run Logics-MLLM/Logics-SWE-Qwen3.6-27B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/Logics-MLLM/Logics-SWE-Qwen3.6-27B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Logics-MLLM/Logics-SWE-Qwen3.6-27B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/Logics-MLLM/Logics-SWE-Qwen3.6-27B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/Logics-MLLM/Logics-SWE-Qwen3.6-27B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use Logics-MLLM/Logics-SWE-Qwen3.6-27B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Logics-MLLM/Logics-SWE-Qwen3.6-27B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Logics-MLLM/Logics-SWE-Qwen3.6-27B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Logics-MLLM/Logics-SWE-Qwen3.6-27B") model = AutoModelForMultimodalLM.from_pretrained("Logics-MLLM/Logics-SWE-Qwen3.6-27B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Logics-MLLM/Logics-SWE-Qwen3.6-27B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Logics-MLLM/Logics-SWE-Qwen3.6-27B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Logics-MLLM/Logics-SWE-Qwen3.6-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Logics-MLLM/Logics-SWE-Qwen3.6-27B
- SGLang
How to use Logics-MLLM/Logics-SWE-Qwen3.6-27B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Logics-MLLM/Logics-SWE-Qwen3.6-27B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Logics-MLLM/Logics-SWE-Qwen3.6-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Logics-MLLM/Logics-SWE-Qwen3.6-27B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Logics-MLLM/Logics-SWE-Qwen3.6-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Logics-MLLM/Logics-SWE-Qwen3.6-27B with Docker Model Runner:
docker model run hf.co/Logics-MLLM/Logics-SWE-Qwen3.6-27B
Logics-SWE-Qwen3.6-27B
Official model release for One to More, More to One: Category-Aware Iterative Expert Training for Software Engineering Agents.
π Paper Β· π€ Dataset: Logics-SWE-Env-2.5K Β· π» GitHub: AgenticBigBang
π° News
- [2026.10.30] Submitted the expanded paper as arXiv v2 and added results on Pro V2, Hard-51, Multilingual, SWE-bench Pro, and LiveCodeBench v6. We also report a 35B-A3B student trained with the same three 27B category experts.
- [2026.09.20] Released the RREβMOPD paper on arXiv.
- [2026.09.18] Released Logics-SWE-Qwen3.6-27B under the Apache-2.0 license.
π Overview
Logics-SWE-Qwen3.6-27B is a 27B-parameter model developed for repository-level software engineering agents. Starting from the Qwen3.6-27B model used in our study, it combines category-aware expert development with multi-teacher on-policy distillation into a single deployment policy.
Repository-level tasks require agents to navigate code, edit files, execute commands, inspect feedback, and iteratively repair their solutions. Our work starts from the category see-saw: aggregate progress during joint RL can conceal opposing changes across task categories. Category splitting alone does not guarantee stronger experts. We therefore develop the experts through RRE before integrating their learned behaviors into one model.
Stage 1: RefreshβRepairβExpand expert development
SWE Labeler organizes training tasks into three repository-domain categories:
- A: service, data, and security.
- B: user-facing applications.
- C: systems, tooling, and runtimes.
All experts start from the same base model. RefreshβRepairβExpand (RRE) alternates executable-reward RL with supervised replay of each expert's own verified successful trajectories. Mastery refreshes track how task success rates change; repair consolidates successful behavior, and expansion revisits additional tasks to identify the next training frontier. Agentic-miniRL provides the shared long-horizon RL recipe.
Stage 2: Single-policy integration with MOPD
The student starts from the common base and generates its own trajectories. Each training task is routed to its corresponding category expert for token-level supervision. Reference-anchored extrapolation augments imitation, using a positive teacherβreference gap gate. The student receives no direct environment-reward term during this pure distillation stage.
Neither expert development nor integration uses an external model to provide solution trajectories or action targets.
Here, integration means on-policy distillation, not arithmetic averaging of expert weights. Inference uses one model; category labels and separate expert models are not required for deployment.
Intended use: research on repository-level issue resolution, coding agents, long-horizon post-training, expert development, and policy distillation.
π Experimental Results
Expanded evaluation
Logics-SWE-Qwen3.6-27B improves on Qwen3.6-27B across four software-engineering and coding evaluations. Scores are three-round means (%); gains are in percentage points and calculated before rounding.
| Evaluation | Tasks per round | Qwen3.6-27B | Logics-SWE-Qwen3.6-27B | Gain |
|---|---|---|---|---|
| SWE-bench Pro V2 | 642 | 81.62 | 86.19 | +4.57 |
| Pro V2 Hard-51 | 51 | 37.25 | 42.48 | +5.23 |
| SWE-bench Multilingual | 300 | 67.89 | 71.78 | +3.89 |
| Pro-618 | 618 | 52.64 | 58.04 | +5.39 |
| SWE-bench Pro | 731 | 52.94 | 56.41 | +3.47 |
| LiveCodeBench v6 | 175 | 82.48 | 84.57 | +2.10 |
The figure also shows a Qwen3.6-35B-A3B student distilled using the same three 27B category experts. Qwen baseline scores are from our own evaluations under the same settings as Logics-SWE.
Pro-618 in the original paper
The original paper reports 58.04 Β± 0.20% for Logics-SWE-Qwen3.6-27B and 52.64 Β± 0.28% for Qwen3.6-27B on Pro-618, a 618-task subset of SWE-bench Pro. Values are the mean Β± population standard deviation over three evaluation rounds.
π Quickstart
Transformers: text-generation smoke test
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "Logics-MLLM/Logics-SWE-Qwen3.6-27B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
dtype=torch.bfloat16,
device_map="auto",
)
model.eval()
messages = [{
"role": "user",
"content": "A parser crashes on an empty input file. Describe how you would "
"investigate the cause, implement a fix, and test for regressions.",
}]
inputs = tokenizer.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
with torch.inference_mode():
output = model.generate(
**inputs,
max_new_tokens=1024,
do_sample=True,
temperature=1.0,
top_p=0.95,
top_k=20,
)
completion = output[0, inputs["input_ids"].shape[-1]:]
print(tokenizer.decode(completion, skip_special_tokens=True))
The example follows the Transformers chat-template interface. Its short generation budget is for demonstration only. Repository-level agent use additionally requires the matching system prompt, tool schema, action parser, sandbox, and verifier. Model-generated commands should not be executed automatically outside an isolated, permission-controlled environment.
π¦ Training Data and Release Scope
The public Logics-SWE-Env-2.5K release provides 2,553 software-engineering task instances and their matching environment-image references. It is a curated subset of the training tasks used in the paper; it does not contain the complete training corpus or agent trajectories.
The AgenticBigBang GitHub repository additionally provides the label taxonomy, SWE Labeler code, anonymous training manifests, benchmark outcomes, aggregate results, and training and evaluation configuration specifications.
π Citation
If you use this model, please cite:
@misc{zhao2026onetomoremoretoone,
title = {One to More, More to One: Category-Aware Iterative Expert Training for Software Engineering Agents},
author = {Jie Zhao and Ziyu Jiang and Suhang Zheng and Minghui Shan and Xiaoxiao Xu and Lin Qu},
year = {2026},
eprint = {2609.23377},
archivePrefix = {arXiv},
primaryClass = {cs.SE},
url = {https://arxiv.org/abs/2609.23377}
}
π Acknowledgements
We thank the Qwen, ROLL, R2E-Gym, SWE-agent, SWE-bench, SWE-bench Pro, and SWE-bench Multilingual contributors, and the research communities behind MiniRL, MOPD, and ExOPD.
License
The model weights are released under the Apache License 2.0.
- Downloads last month
- 269
Model tree for Logics-MLLM/Logics-SWE-Qwen3.6-27B
Dataset used to train Logics-MLLM/Logics-SWE-Qwen3.6-27B
Paper for Logics-MLLM/Logics-SWE-Qwen3.6-27B
Evaluation results
- ScaleAI/SWE-bench_Pro leaderboard
- SWE Bench Pro View evaluation resultsSWE-bench Pro V2, 642 tasks; mean of three rounds; mini-SWE-agent 2.4.6 with patch replay.86.19 *
- SWE Bench Pro Hard View evaluation resultsThree-round mean; 51-task Pro V2 subset; mini-SWE-agent 2.4.6 with patch replay.42.48 *
- SWE-bench/SWE-bench_Multilingual Β· Swe Bench Multilingual Resolved View evaluation results leaderboard 71.78 *
