]> khamidou — GitHub mirrors - safetensors.git/commit
Adding `convert.py` utility tool to convert models on the hub easily. (#24)
authorNicolas Patry <patry.nicolas@protonmail.com>
Wed, 19 Oct 2022 17:30:51 +0000 (19:30 +0200)
committerGitHub <noreply@github.com>
Wed, 19 Oct 2022 17:30:51 +0000 (19:30 +0200)
commit6aeb60106f99eff4f94cbcb9612122614fa4725f
tree947e4e5085fc9c6871a532ded0b582bdcb4f1280
parentb7a40e97a619929f8a06782cd0861a2e6b7170f2
Adding `convert.py` utility tool to convert models on the hub easily. (#24)

* Adding `convert.py` utility tool to convert models on the hub easily.

It creates a PR so it should be safe to use on any repo.

* Fixing the `convert.py` script for multi

Catching on EntryNotFoundError.

* Update bindings/python/convert.py

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
bindings/python/convert.py [new file with mode: 0644]