From af4b32fb09810d0c407e7b3d277730f1409a8a1d Mon Sep 17 00:00:00 2001 From: Thomas Wang <24695242+thomasw21@users.noreply.github.com> Date: Tue, 17 Jan 2023 10:02:28 +0100 Subject: [PATCH] Update README.md (#163) * Update README.md Link to huggingface.co documentation * Make rust doc match * Why is the documentation at three different places? --- README.md | 2 +- safetensors/README.md | 2 +- safetensors/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7bf1ab6..f545dfd 100644 --- 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 diff --git a/safetensors/README.md b/safetensors/README.md index 7bf1ab6..f545dfd 100644 --- a/safetensors/README.md +++ b/safetensors/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 diff --git a/safetensors/src/lib.rs b/safetensors/src/lib.rs index eb4a1ae..fd7a88e 100644 --- a/safetensors/src/lib.rs +++ b/safetensors/src/lib.rs @@ -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 -- 2.43.0