fix(docs): update environment variable name to HF_LEROBOT_HOME in docstring (#2973)

Co-authored-by: Steven Palma <imstevenpmwork@ieee.org>
This commit is contained in:
HUANG TZU-CHUN
2026-02-18 18:27:40 +08:00
committed by GitHub
parent af036ce57e
commit fcbf550952
+1 -1
View File
@@ -656,7 +656,7 @@ class LeRobotDataset(torch.utils.data.Dataset):
repo_id (str): This is the repo id that will be used to fetch the dataset. Locally, the dataset
will be stored under root/repo_id.
root (Path | None, optional): Local directory to use for downloading/writing files. You can also
set the LEROBOT_HOME environment variable to point to a different location. Defaults to
set the HF_LEROBOT_HOME environment variable to point to a different location. Defaults to
'~/.cache/huggingface/lerobot'.
episodes (list[int] | None, optional): If specified, this will only load episodes specified by
their episode_index in this list. Defaults to None.