This repository provides a LoRA adapter for
Qwen/Qwen3-4B-Instruct-2507.
It represents the
"Surgical Strike" version (v11) of the "struct-eval-comp" series, specifically designed to eliminate Markdown formatting bias while
preserving the core intelligence of the Attention layers.
Based on the failure of v8 (structural collapse) and the stagnation of v9/v10, v11 adopts a "Partial Freezing" philosophy. By using an ultra-low learning rate and a specific Beta value, we effectively protect the reasoning logic stored in the Attention modules while fine-tuning the MLP layers for raw output excellence.
1from unsloth import FastLanguageModel
2import torch
3
4base = "Qwen/Qwen3-4B-Instruct-2507"
5adapter = "satoyutaka/LLM2025_main_0_DPO11"
6
7model, tokenizer = FastLanguageModel.from_pretrained(
8 model_name = base,
9 max_seq_length = 2048,
10 load_in_4bit = True,
11)
12model.load_adapter(adapter)
このリポジトリは、
Qwen/Qwen3-4B-Instruct-2507 用のLoRAアダプターです。
struct-eval-comp プロジェクトの「精密狙撃(V11)」モデルであり、V7/V9で確立した高い推論知能を物理的に保護しつつ、フォーマットの矯正のみを完遂することを目指しています。
V11の最大の特徴は、**「推論の核となるAttention層のロジックを実質的に固定し、出力スタイルを司るMLP層のみを微調整する」**というアプローチにあります。
V10までの分析により、全層(q, k, v, o等を含む)に対して強いDPO圧力をかけると、構造化能力そのものが毀損される(V8のケース)ことが判明しました。
V11では、超低学習率(5e-7)とターゲットモジュールの厳選、そしてBeta値の最適化を組み合わせることで、Attention層に蓄積された「0.77水準の知能」を損なうことなく、Markdownバイアスのみをピンポイントで中和しています。