]> khamidou — GitHub mirrors - safetensors.git/commitdiff
Update README.md (#163)
authorThomas Wang <24695242+thomasw21@users.noreply.github.com>
Tue, 17 Jan 2023 09:02:28 +0000 (10:02 +0100)
committerGitHub <noreply@github.com>
Tue, 17 Jan 2023 09:02:28 +0000 (10:02 +0100)
* Update README.md

Link to huggingface.co documentation

* Make rust doc match

* Why is the documentation at three different places?

README.md
safetensors/README.md
safetensors/src/lib.rs

index 7bf1ab66c39e289716d504cb2d60679dab2dbc1a..f545dfd37a4550ba6f91bc266488e9cbe43e9734 100644 (file)
--- a/README.md
+++ b/README.md
@@ -47,7 +47,7 @@ with safe_open("model.safetensors", framework="pt", device="cpu") as f:
        tensors[key] = f.get_tensor(key)
 ```
 
-[Python documentation](https://github.com/huggingface/safetensors/tree/main/bindings/python)
+[Python documentation](https://huggingface.co/docs/safetensors/index)
 
 
 ### Format
index 7bf1ab66c39e289716d504cb2d60679dab2dbc1a..f545dfd37a4550ba6f91bc266488e9cbe43e9734 100644 (file)
@@ -47,7 +47,7 @@ with safe_open("model.safetensors", framework="pt", device="cpu") as f:
        tensors[key] = f.get_tensor(key)
 ```
 
-[Python documentation](https://github.com/huggingface/safetensors/tree/main/bindings/python)
+[Python documentation](https://huggingface.co/docs/safetensors/index)
 
 
 ### Format
index eb4a1ae882c0fcc6252a7cf97282331a1a552833..fd7a88e34ab2cf576d8349bf4d073145ca38f350 100644 (file)
@@ -46,7 +46,7 @@
 //!        tensors[key] = f.get_tensor(key)
 //!```
 //!
-//![Python documentation](https://github.com/huggingface/safetensors/tree/main/bindings/python)
+//![Python documentation](https://huggingface.co/docs/safetensors/index)
 //!
 //!
 //!## Format