Skip to content

Commit

Permalink
Update run_clm_llms.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lyuchenyang committed Jul 1, 2023
1 parent 8d41f30 commit d03e59d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_clm_llms.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ def compute_metrics(eval_preds):
trainer.save_state()

if training_args.do_eval:
tokenizer = AutoTokenizer.from_pretrained('trained_models/llama_tokenizer')
tokenizer = LlamaTokenizer.from_pretrained('trained_models/llama_tokenizer')
model = trainer.get_model()
image_dirs = ['None', 'None', 'None']
video_dirs = ['None', 'data/avsd/frames/7UPGT', 'data/avsd/frames/3MSZA']
Expand Down

0 comments on commit d03e59d

Please sign in to comment.