diff --git a/docs/source/en/package_reference/serialization.md b/docs/source/en/package_reference/serialization.md index a94f94dc76..0fffd31413 100644 --- a/docs/source/en/package_reference/serialization.md +++ b/docs/source/en/package_reference/serialization.md @@ -77,7 +77,7 @@ The `entries` parameter also supports passing an iterable of paths or bytes. Thi ```python >>> import json ->>> import safetensors.load +>>> import safetensors.torch >>> from huggingface_hub import read_dduf_file # Read DDUF metadata