Files
lerobot-clone/loop_datasets.py

11 lines
276 B
Python
Raw Normal View History

2025-11-03 19:23:24 +01:00
from huggingface_hub import HfApi, list_datasets
api = HfApi()
datasets = list_datasets(author="lerobot-data-collection")
2025-11-17 10:46:22 +01:00
print('"[', end="")
i=0
2025-11-03 19:23:24 +01:00
for dataset in datasets:
2025-11-17 10:46:22 +01:00
if "three-folds-dataset" in dataset.id:
print("'" + dataset.id + "',", end="")
print(']"',)