Skip to content

Commit

Permalink
og checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmeda14960 committed Apr 24, 2024
1 parent 1ea434d commit a86ed4c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/levanter/main/eval_lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ class EvalLmConfig:
def main(config: EvalLmConfig):
# HACK: This is a workaround for the fact that the config is not properly deserialized
# TODO: send to david
config.second_hf_checkpoint.model_name_or_path = config.second_hf_checkpoint.model_name_or_path[
"model_name_or_path"
]
# config.second_hf_checkpoint.model_name_or_path = config.second_hf_checkpoint.model_name_or_path[
# "model_name_or_path"
# ]
#config.second_hf_checkpoint.model_name_or_path
# maybe redo
levanter.initialize(config)
tokenizer = config.data.the_tokenizer
Expand Down

0 comments on commit a86ed4c

Please sign in to comment.