RWKV7-DSH-7.2B (Adapter Release)

RWKV7-DSH-7.2B is the DeepSeek Harness (DSH) autonomous coding agent release developed by RWKV-Agent-Lab.

Built on the linear-state RWKV-7 7.2B architecture with O(1) memory per token, RWKV7-DSH-7.2B performs multi-turn codebase inspection, anchored file editing, shell execution, git workflows, and test verification inside isolated sandboxes via dsh-rwkv-plugin.

This repository distributes a compact Rank-64 NoRA inference adapter (289 MB) extracted cleanly against the public rwkv7-g1l-7.2b-20261031-ctx34304 base checkpoint (98.71% SVD energy retention, 0 non-target tensor diffs), ready for hot-loading on rwkv_lightning_cuda (both full-precision and w8a16 quantized base models).


Model Family & Lineage

rwkv7-g1l-7.2b-20261031-ctx34304           (Public RWKV-7 G1L Base)
  └── RWKV-Agent-Lab/RWKV7-Agent-7.2B      (Shared Agent Foundation, Stage 1 A-D)
        └── RWKV-Agent-Lab/RWKV7-DSH-7.2B  (DSH Coding Agent r64 Adapter β€” this repo)

Available Checkpoints

File Version Format SHA-256 Description
RWKV7-DSH-7.2B-v0.1-adapter-r64.pth v0.1 (v4d-r64-editboost) NoRA r64 BF16 Adapter (vs 20261031 base) acbbca8b62ee722e260111f01f50d6c11f7ce76c7ae8495e7abab24fcb1af01e Recommended Release β€” Stage 1 A-D + r64 annealed coding-agent adapter extracted directly against rwkv7-g1l-7.2b-20261031-ctx34304

Evaluation Highlights (k=1, max_steps=30, auto-fold v2 + tolerant)

Private Long-Horizon Benchmark (PB-20261120-200-Coding, 200 tasks / 2000 pts)

Model Total / 2000 Score % PB-100-Edit (1000) git-eval-35 (350) wspill-30 (300) codefix-15 (150) cf-eval-20 (200)
rwkv7-g1l-7.2b-20261031 (Base) 279.16 13.96% 102.50 98.33 61.66 10.00 6.67
RWKV7-Agent-7.2B (stage1abcd) 728.33 36.42% 273.30 193.34 138.34 90.00 33.33
RWKV7-DSH-7.2B-v0.1 (this adapter) 980.83 49.04% 419.13 243.35 178.33 100.00 40.00

Public Benchmarks (Harbor, k=1, max_steps=30)

Benchmark Tasks RWKV7-DSH-7.2B-v0.1
HumanEvalFix 164 80 / 164 (48.78%)
EditBench-zh 108 24 / 108 (22.22%, valid 22.43%)
EditBench (en) 108 19 / 108 (17.59%, valid 17.76%)
QuixBugs 80 4 / 80 (5.00%)
Aider Polyglot 225 10 / 225 (4.44%, valid 5.03%)

Quick Start (rwkv_lighting_cuda)

  1. Start rwkv_lighting_cuda with the rwkv7-g1l-7.2b-20261031-ctx34304 base model (set RWKV_ADAPTER_STAGING_MIB=512 for Rank-64 adapters):
export RWKV_ADAPTER_STAGING_MIB=512
export RWKV_ADAPTER_GPU_MIB=2048
export RWKV_ADAPTER_RAM_MIB=4096

./rwkv_lighting_cuda \
  --model-path ./rwkv7-g1l-7.2b-20261031-ctx34304.w8a16.rwkvq \
  --vocab-path ./rwkv_vocab_v20230424.txt \
  --host 127.0.0.1 --port 8060
  1. Hot-register the adapter:
curl -sf \
  -F "adapter_id=rwkv7-dsh-7.2b-v0.1-r64" \
  -F "file=@./RWKV7-DSH-7.2B-v0.1-adapter-r64.pth" \
  http://127.0.0.1:8060/v1/adapters
  1. Select adapter_id: "rwkv7-dsh-7.2b-v0.1-r64" in dsh-rwkv-plugin (or pass top-level "adapter_id" in /v1/batch/completions requests).

License

Apache-2.0

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for RWKV-Agent-Lab/RWKV7-DSH-7.2B

Finetuned
(1)
this model