Run this model with HF Jobs

Run koreanhole/qwen2.5-coder-superpower-7b 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 to fine-tune https://huggingface.co/koreanhole/qwen2.5-coder-superpower-7b. 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/koreanhole/qwen2.5-coder-superpower-7b 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/koreanhole/qwen2.5-coder-superpower-7b. 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/koreanhole/qwen2.5-coder-superpower-7b. 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.

android-testing-superpower / qwen2.5-coder-superpower-7b (v3.0-rl-dpo-v13b)

MLX 4-bit LoRA adapters, zero-leakage SFT/DPO datasets, training configs, and benchmark summaries for android-testing-superpower.

  • Default Flagship Adapter (adapters/e2e-dpo-lora-v13b, mirrored at repo root): Best cross-app generalization on Google Research AndroidControl (+12.8 pp Low, +2.8 pp High over Base 7B) while preserving +12.5 pp hard_test and +12.8 offline score vs Base.
  • In-House E2E Peak Adapter (adapters/e2e-dpo-lora-v11): Peak on internal Fossify/AOSP hard_test (79.2%, strict math 2/2) and 24-case offline (81.7).
  • Base Model: mlx-community/Qwen2.5-Coder-7B-Instruct-4bit (rank=8, scale=20.0, num_layers=16).

Benchmarks

1. External Public Benchmark: Google Research AndroidControl (test split, n=250 per mode)

Evaluated with PrunedUIHierarchy.to_llm_view() text prompts on frozen 250 steps (107 episodes, 81 packages; --max-tokens 512 --temp 0.1 --top-p 0.95).

Arm Adapter Path Low Step Acc (95% Wilson CI) High Step Acc (95% Wilson CI) Low ฮ” vs Base High ฮ” vs Base
P1-Base-7B โ€” 65.2% (163/250, 59.1%โ€“70.8%) 41.6% (104/250, 35.7%โ€“47.8%) โ€” โ€”
P8b-SFT-v12b adapters/e2e-sft-lora-v12b 76.8% (192/250, 71.2%โ€“81.6%) 41.6% (104/250, 35.7%โ€“47.8%) +11.6 pp +0.0 pp
P9b-RL-DPO-v13b adapters/e2e-dpo-lora-v13b 78.0% (195/250, 72.5%โ€“82.7%) 44.4% (111/250, 38.4%โ€“50.6%) +12.8 pp +2.8 pp

Official subsplit generalization (Base-7B โ†’ SFT-v12b โ†’ RL-DPO-v13b):

Subsplit Low Accuracy High Accuracy
IDD (n=112) 68.8% โ†’ 77.7% โ†’ 77.7% 46.4% โ†’ 47.3% โ†’ 49.1%
app_unseen (n=107) 66.4% โ†’ 77.6% โ†’ 79.4% 35.5% โ†’ 36.4% โ†’ 40.2%
category_unseen (n=119) 63.9% โ†’ 77.3% โ†’ 79.8% 35.3% โ†’ 35.3% โ†’ 39.5%
task_unseen (n=136) 62.5% โ†’ 77.2% โ†’ 79.4% 37.5% โ†’ 36.8% โ†’ 40.4%

2. Internal Non-Regression Benchmark (hard_test 24 trials & 24-case offline)

Arm Hard Test TSR Strict Math 24-Case Offline Score
P1-Base-7B 58.3% (14/24) 0/2 (0.0%) 68.4 (Evaluated)
P7-RL-DPO-v11 (adapters/e2e-dpo-lora-v11) 79.2% (19/24) 2/2 (100.0%) 81.7 (Enterprise Grade)
P9b-RL-DPO-v13b (adapters/e2e-dpo-lora-v13b) 70.8% (17/24) 1/2 (50.0%) 81.2 (Enterprise Grade)

3. Zero-Leakage Verification

Audited across episode-disjoint Pool A (SFT, 352 episodes), Pool B (on-policy DPO mining, 88 episodes), Official Val (12 episodes), Frozen Test (107 episodes / 250 steps), and 52 internal holdout targets (evals/leakage_audit_v12b.json): leaks_count = 0, passed = true.


Quickstart

1. Serve with mlx_lm.server + android-testing-superpower

# Option A: Load the flagship root adapter directly with mlx_lm.server
huggingface-cli download koreanhole/android-testing-superpower \
  --include "adapters.safetensors" "adapter_config.json" --local-dir ./models/e2e-dpo-lora-v13b
mlx_lm.server --model mlx-community/Qwen2.5-Coder-7B-Instruct-4bit --adapter-path ./models/e2e-dpo-lora-v13b --port 8000

# Option B: Serve the unadapted 4-bit base and select an adapter per request via MLXProvider
mlx_lm.server --model mlx-community/Qwen2.5-Coder-7B-Instruct-4bit --port 8000
from superpower.llm.mlx_provider import MLXProvider

provider = MLXProvider(
    model="mlx-community/Qwen2.5-Coder-7B-Instruct-4bit",
    base_url="http://127.0.0.1:8000/v1",
    adapters="./models/e2e-dpo-lora-v13b",
)

2. Legacy Ollama Modelfile (Compatible with OllamaManager)

curl -O https://huggingface.co/koreanhole/android-testing-superpower/raw/main/Modelfile
ollama create qwen2.5-coder-superpower-7b:v2.0-dpo -f Modelfile

Repository Contents

  • Root fallback / flagship files: adapters.safetensors, adapter_config.json (v13b), Modelfile, dpo_pairs.jsonl, config.json, README.md
  • adapters/{e2e-dpo-lora-v13b, e2e-dpo-lora-v11, e2e-sft-lora-v12b, e2e-sft-lora-v10, e2e-sft-lora-v12, e2e-dpo-lora-v13}/: final MLX LoRA adapter weights (adapters.safetensors, adapter_config.json)
  • datasets/: leak-free SFT/DPO train.jsonl / valid.jsonl splits (sft_data_v10, dpo_data_v11, sft_data_v12b, dpo_data_v13b) and frozen android_control_test_250.json
  • configs/: training configs (sft_7b_v10..dpo_7b_v13b.json)
  • evals/: benchmark comparisons and leakage audit JSON reports (v11_comparison.json, android_control_comparison.json, leakage_audit_v{9,12,12b}.json)

License & Attribution

  • Model adapters, configs, scripts, and cards: Apache License 2.0.
  • Base weights: subject to the Qwen Community License (Qwen/Qwen2.5-Coder-7B-Instruct / mlx-community/Qwen2.5-Coder-7B-Instruct-4bit).
  • External benchmark & derived SFT/DPO samples: derived from Google Research AndroidControl (Apache License 2.0).
Downloads last month
86
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for koreanhole/qwen2.5-coder-superpower-7b

Base model

Qwen/Qwen2.5-7B
Adapter
(6)
this model