Update convert.py
Browse files- convert.py +0 -6
convert.py
CHANGED
|
@@ -14,8 +14,6 @@ from safetensors.torch import _find_shared_tensors, _is_complete, load_file, sav
|
|
| 14 |
|
| 15 |
|
| 16 |
COMMIT_DESCRIPTION = """
|
| 17 |
-
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert
|
| 18 |
-
|
| 19 |
This new file is equivalent to `pytorch_model.bin` but safe in the sense that
|
| 20 |
no arbitrary code can be put into it.
|
| 21 |
|
|
@@ -24,10 +22,6 @@ https://colab.research.google.com/github/huggingface/notebooks/blob/main/safeten
|
|
| 24 |
|
| 25 |
The widgets on your model page will run using this model even if this is not merged
|
| 26 |
making sure the file actually works.
|
| 27 |
-
|
| 28 |
-
If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions
|
| 29 |
-
|
| 30 |
-
Feel free to ignore this PR.
|
| 31 |
"""
|
| 32 |
|
| 33 |
ConversionResult = Tuple[List["CommitOperationAdd"], List[Tuple[str, "Exception"]]]
|
|
|
|
| 14 |
|
| 15 |
|
| 16 |
COMMIT_DESCRIPTION = """
|
|
|
|
|
|
|
| 17 |
This new file is equivalent to `pytorch_model.bin` but safe in the sense that
|
| 18 |
no arbitrary code can be put into it.
|
| 19 |
|
|
|
|
| 22 |
|
| 23 |
The widgets on your model page will run using this model even if this is not merged
|
| 24 |
making sure the file actually works.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
"""
|
| 26 |
|
| 27 |
ConversionResult = Tuple[List["CommitOperationAdd"], List[Tuple[str, "Exception"]]]
|