pere commited on
Commit
26addf8
1 Parent(s): 966f7fa

Update export_models.sh

Browse files
Files changed (1) hide show
  1. export_models.sh +1 -1
export_models.sh CHANGED
@@ -12,7 +12,7 @@ shutil.copyfile('./generation_config.json', './generation_config_backup.json')
12
  print("Saving model to PyTorch...", end=" ")
13
  model = WhisperForConditionalGeneration.from_pretrained("./", from_flax=True)
14
  model.save_pretrained("./", safe_serialization=True)
15
- model.save_pretrained("./")
16
  print("Done.")
17
 
18
  print("Saving model to TensorFlow...", end=" ")
 
12
  print("Saving model to PyTorch...", end=" ")
13
  model = WhisperForConditionalGeneration.from_pretrained("./", from_flax=True)
14
  model.save_pretrained("./", safe_serialization=True)
15
+ model.save_pretrained("./", safe_serialization=False)
16
  print("Done.")
17
 
18
  print("Saving model to TensorFlow...", end=" ")