Skip to content

Commit

Permalink
Update prepare.py
Browse files Browse the repository at this point in the history
  • Loading branch information
thuanz123 authored Jun 27, 2024
1 parent c109e1f commit c932274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def process_prompt_data(index, batch_start, prompt_embed, output_path):
prompt_dict = {
"prompt_embeds": prompt_embed,
}
np.savez(output_path / f"{batch_start+index}.npz", **prompt_dict)
np.save(output_path / f"{batch_start+index}.npy", **prompt_dict)
return index


Expand Down

0 comments on commit c932274

Please sign in to comment.