CoolFace
Modelpublic

tianzl66/Llama-3.1-8B-Instruct-CommonSense170K-Spectral-Surgery-AllModules-8Plus2

sourceHugging Faceupdated 21d agoView on Hugging Face
0likes27downloads
Model Card

Llama-3.1-8B-Instruct + Commonsense170K — Spectral Surgery (All Modules 8+2)

Spectral Surgery adapter for Llama-3.1-8B-Instruct fine-tuned on Commonsense170K.

Post-hoc Spectral Surgery applies Hybrid Newton-Schulz (HNS) editing directly to the LoRA adapter. No additional gradient-based training is performed during Spectral Surgery.

Adapter

  • —Dataset: Commonsense170K
  • —Training epochs: 2
  • —LoRA rank: 16
  • —LoRA alpha: 32
  • —Target modules: qproj, kproj, vproj, oproj, gateproj, upproj, down_proj
  • —HNS target modules: all_modules
  • —Fast HNS steps: 8
  • —Stable HNS steps: 2
  • —See spectral_edit_meta.json for exact edit metadata.

Evaluation

TaskLoRA (GBS64 final)+ Spectral Surgery (all modules, 8+2)
BoolQ87.4924%88.3486%
PIQA89.4450%88.7922%
SocialIQA80.3992%80.1945%
HellaSwag92.3621%90.4103%
WinoGrande86.8193%85.7143%
ARC-Easy93.4764%93.8131%
ARC-Challenge84.2150%84.9829%
OpenBookQA89.0000%89.4000%
Macro87.9012%87.7070%
Micro89.6739%88.8755%
Correct20,104 / 22,41919,925 / 22,419

Evaluation uses the Llama-3.1-Instruct tokenizer chat template, greedy decoding, max_new_tokens=8, the vLLM backend, max model length 2048, and seed 42.

Files

  • —adapter_model.safetensors: PEFT LoRA weights
  • —adapter_config.json: PEFT configuration
  • —eval-commonsense8/summary.json: eight-task aggregate metrics
  • —eval-commonsense8/summary.csv: compact task metrics
  • —spectral_edit_meta.json: exact HNS edit metadata