This script converts pytorch models to safetensors.
Run the poetry package :
$ poetry shell
$ poetry install
The pytorch files must be in the .bin
extension.
(safetensorsconverter-py3.8) $ poetry run python convert_from_torch_to_safetensors.py <Path_to_Model>