model layer stuff

This commit is contained in:
Jai Suphavadeeprasit 2026-02-18 10:52:20 -05:00
parent 16ac332880
commit fa22bf58d1
4 changed files with 131 additions and 1 deletions

View file

@ -154,6 +154,13 @@ class TrainingConfig(BaseModel):
"If None, defaults to ['q_proj', 'v_proj'] for most models."
),
)
lora_layer_indices: Optional[List[int]] = Field(
None,
description=(
"Optional list of transformer layer indices to apply LoRA to. "
"If None, applies LoRA to all matching layers."
),
)
# === Single-Copy Mode Configuration ===
single_copy: bool = Field(