CoolFace
Modelpublic

marcodsn/qwen3.5-4b-sft-flint-section-v2-nosys

sourceHugging Faceapache-2.0updated 3mo agoView on Hugging Face
0likes
Model Card

qwen3.5-4b-sft-flint-section-v2-nosys

sft-flint-section-v2-nosys arm of the caveman reasoning-compression ablation study: Qwen/Qwen3.5-4B fine-tuned (LoRA adapter) on flint/data/flint-section-aware.jsonl (552 rows, 2 epochs, LoRA r=64).

The study asks whether compressed ("caveman") reasoning traces can train a model to reason in fewer tokens without losing accuracy — and which parts of a trace are compressible. See the run manifest below for the exact recipe; eval results live in the study's report.

Eval summary (t=0, max_tokens 8192)

Accuracy (avg reasoning tokens, loop rate) — this arm vs the original model it was fine-tuned from (Qwen/Qwen3.5-4B), same harness and prompts.

suitethis modeloriginal Qwen3.5-4B
gsm8k@t0.00.82 (1524.2 tok, loops 0.12)0.575 (4413.4 tok, loops 0.2167)
loops:gsm8k@t0.00.86 (1228.1 tok, loops 0.1)0.64 (3915.1 tok, loops 0.28)
loops:gsm8k@t0.60.82 (1910.5 tok, loops 0.12)0.68 (3827.4 tok, loops 0.12)
loops:gsm8k@t1.00.74 (3373.1 tok, loops 0.16)0.74 (4140.6 tok, loops 0.0)
math500@t0.00.57 (3821.3 tok, loops 0.25)0.3083 (6631.6 tok, loops 0.2833)

Run manifest

json
{
  "arm": "sft-flint-section-v2-nosys",
  "dataset": "flint/data/flint-section-aware.jsonl",
  "rows": 552,
  "dropped_overlong": 0,
  "epochs": 2,
  "system_prompts": false,
  "lora": {
    "r": 64,
    "alpha": 128,
    "dropout": 0.0,
    "target": "all"
  },
  "train": {
    "epochs": 2,
    "lr": 0.0002,
    "batch_size": 1,
    "grad_accum": 16,
    "warmup_ratio": 0.03,
    "lr_scheduler": "cosine",
    "weight_decay": 0.01,
    "seed": 3407,
    "logging_steps": 10,
    "save_strategy": "epoch"
  },
  "model": {
    "name": "Qwen/Qwen3.5-4B",
    "max_seq_length": 13312,
    "load_in_4bit": true,
    "chat_template": "qwen3.5"
  },
  "train_runtime_s": 4719.9689,
  "final_loss": 0.24563591480255126,
  "log_history": [
    {
      "loss": 0.3625801086425781,
      "grad_norm": 0.21063491702079773,
      "learning_rate": 0.000196068518757684,
      "epoch": 0.2898550724637681,
      "step": 10
    },
    {
      "loss": 0.34383134841918944,
      "grad_norm": 0.17989248037338257,
      "learning_rate": 0.0001731531335263669,
      "epoch": 0.5797101449275363,
      "step": 20
    },
    {
      "loss": 0.3463049650192261,
      "grad_norm": 0.16688695549964905,
      "learning_rate": 0.0001344466850284333,
      "epoch": 0.8695652173913043,
      "step": 30
    },
    {
      "loss": 0.26919605731964114,
      "grad_norm": 0.1326628178358078,
      "learning_rate": 8.830446780279176e-05,
      "epoch": 1.144927536231884,
      "step": 40
    },
    {
      "loss": 0.23740313053131104,
      "grad_norm": 0.16017284989356995,
      "learning_rate": 4.468688458748006e-05,
      "epoch": 1.434782608695652,
      "step": 50
    },
    {
      "loss": 0.24311013221740724,
      "grad_norm": 0.15696598589420319,
      "learning_rate": 1.300936275912098e-05,
      "epoch": 1.7246376811594204,
      "step": 60
    },
    {
      "loss": 0.24563591480255126,
      "grad_norm": 0.2839740216732025,
      "learning_rate": 1.0991085142886271e-07,
      "epoch": 2.0,
      "step": 70
    },
    {
      "train_runtime": 4719.9689,
      "train_samples_per_second": 0.234,
      "train_steps_per_second": 0.015,
      "total_flos": 1.3309379122167398e+17,
      "train_loss": 0.2925802367074149,
      "epoch": 2.0,
      "step": 70
    }
  ]
}