Views
No views yet
Qwen/Qwen3.5-9BQwen/Qwen3.5-9B frozen regulated sellerNUM_ITERS=2, BATCH_SIZE=16, GROUP_SIZE=8, 128 episodes/iterationMAX_TURNS=6, MAX_NEW_TOKENS=300NATIVE_THINK_TOKENS=300, NATIVE_FINAL_TOKENS=96SDPO_LAMBDA=0.9 at iter0 and 0.88 at iter1LR=3e-6, WARMUP_STEPS=10, WEIGHT_DECAY=0.01, GRAD_CLIP_NORM=1.0torch.inference_mode() self-teacher forward| Iteration | Mean reward | Deal rate | Buyer format errors | Loss | First-offer ratio | Peak reserved VRAM |
|---|---|---|---|---|---|---|
| 0 | -0.0744 | 46.9% | 12/128 | 0.1787 | 0.820 | 79.8 GB |
| 1 | -0.1196 | 38.3% | 19/128 | 0.1669 | 0.706 | 80.3 GB |
iter-1, iter-2, and final main. It early-stopped after two consecutive buyer-format-warning iterations.1e-6) or longer warmup, slower SDPO handoff / more GRPO-heavy early iterations, and consider shorter native-thinking budgets only after testing whether they preserve reward.1from transformers import AutoProcessor, AutoModelForImageTextToText
2
3model_id = "ZeterMordio/anchor-negotiation-sdpo-qwen35-2iter-gen96"
4processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
5model = AutoModelForImageTextToText.from_pretrained(model_id, torch_dtype="auto", device_map="auto")train_negotiation_sdpo.py included in this repository.