Skip to content

Commit

Permalink
hint for dpo
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmeda14960 committed Sep 18, 2024
1 parent a1c6765 commit f27def8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/levanter/main/lora_lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def loraize_hf_model(model):
model = loraize_hf_model(model)

lora_param_filter = lora_trainable_params_filter(model)

# change this take in reference model
state = trainer.initial_state(training_key, model=model, is_trainable=lora_param_filter)

all_param_count = parameter_count(state.model)
Expand Down

0 comments on commit f27def8

Please sign in to comment.