Skip to content

Commit

Permalink
added missing args
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepingcat4 authored Aug 12, 2024
1 parent 132ebb4 commit 2bcde55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/run_hf.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,6 @@ def run_inference(dataset_names, dataset_split, hf_dataset_name, prompt_types, m
pipe, tokenizer = load_model(hf_model_name, load_in_4bit, load_in_8bit, cache_dir)

# run inference
run_inference(dataset_names, dataset_split, hf_dataset_name, prompt_types, model_name, half, use_20_fewshot, pipe, tokenizer)
run_inference(dataset_names, dataset_split, hf_dataset_name, prompt_types, model_name, half, use_20_fewshot, pipe, tokenizer, prompt_dir, res_dir)


0 comments on commit 2bcde55

Please sign in to comment.