Wendy-Fly commited on
Commit
4fcbf82
·
verified ·
1 Parent(s): 585b226

Upload generate_prompt.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. generate_prompt.py +1 -1
generate_prompt.py CHANGED
@@ -36,7 +36,7 @@ parser.add_argument("--prompt_path", type=str, default="/home/zbz5349/WorkSpace/
36
 
37
  args = parser.parse_args()
38
  model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
39
- agrs.model_path,
40
  torch_dtype=torch.bfloat16,
41
  attn_implementation="flash_attention_2",
42
  device_map="auto",
 
36
 
37
  args = parser.parse_args()
38
  model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
39
+ args.model_path,
40
  torch_dtype=torch.bfloat16,
41
  attn_implementation="flash_attention_2",
42
  device_map="auto",