Skip to content

Commit

Permalink
small fix in hf_config
Browse files Browse the repository at this point in the history
  • Loading branch information
jmercat committed Apr 18, 2024
1 parent 07661b4 commit 6e97ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_lm/utils/transformers/hf_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ def __init__(

def set_params(self, params: Params):
self.tie_word_embeddings = params.weight_tying
for field in fields(params):
for field in fields(Params):
setattr(self, field.name, getattr(params, field.name))

0 comments on commit 6e97ff6

Please sign in to comment.