Skip to content

Commit

Permalink
fixed the assert statement in the docstring
Browse files Browse the repository at this point in the history
Signed-off-by: Minura Punchihewa <[email protected]>
  • Loading branch information
MinuraPunchihewa committed Nov 27, 2024
1 parent cf06f15 commit 4b03df0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class SafetensorsDataset(AbstractVersionedDataset[Any, Any]):
... )
>>> dataset.save(data)
>>> reloaded = dataset.load()
>>> assert data.equals(reloaded)
>>> assert torch.equal(data["embeddings"], reloaded["embeddings"])
"""

DEFAULT_LOAD_ARGS: dict[str, Any] = {}
Expand Down

0 comments on commit 4b03df0

Please sign in to comment.