Skip to content

Commit

Permalink
CLIP conversion script - Change fairseq to OpenAI (#35384)
Browse files Browse the repository at this point in the history
Change fairseq to OpenAI
  • Loading branch information
gau-nernst authored Dec 27, 2024
1 parent 7f97d01 commit f63da20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def convert_clip_checkpoint(checkpoint_path, pytorch_dump_folder_path, config_pa
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--pytorch_dump_folder_path", default=None, type=str, help="Path to the output PyTorch model.")
parser.add_argument("--checkpoint_path", default=None, type=str, help="Path to fairseq checkpoint")
parser.add_argument("--checkpoint_path", default=None, type=str, help="Path to OpenAI checkpoint")
parser.add_argument("--config_path", default=None, type=str, help="Path to hf config.json of model to convert")
args = parser.parse_args()

Expand Down

0 comments on commit f63da20

Please sign in to comment.