Update bin2safetensors/convert.py

#1
by Thireus - opened
usage: convert.py [-h] input_directory output_directory

Convert pytorch_model model to safetensor and copy JSON and .model files

positional arguments:
  input_directory   Path to the input directory containing pytorch_model 
  output_directory  Path to the output directory for converted safetensor files

options:
  -h, --help        show this help message and exit

Many thanks for this! I just went the lazy way, but this is absolutely better.

Panchovix changed pull request status to merged

Sign up or log in to comment