llama2-7b-gsm8k-pt-pruned50-quant-ds / sparsefinetuning.yaml
mwitiderrick's picture
Create sparsefinetuning.yaml
470d8d3 verified
test_stage:
pruning_modifiers:
ConstantPruningModifier:
targets: [
"re:.*self_attn.q_proj",
"re:.*self_attn.k_proj",
"re:.*self_attn.v_proj",
"re:.*self_attn.o_proj",
"re:.*mlp.gate_proj",
"re:.*mlp.up_proj"
]
start: 0
distillation_modifiers:
OutputDistillationModifier:
targets: "__ALL__"
comparison: "square_head"
start: 0