"""List RoadData.AI's robotics model and datasets on Hugging Face (no login needed)."""
from huggingface_hub import HfApi

api = HfApi()
m = api.model_info("roaddata-ai/gr00t-n1.7-h1-street-crossing")
print(f"model    {m.id}\n         fine-tuned from {m.card_data.base_model}, pipeline: {m.pipeline_tag}")
for d in sorted(api.list_datasets(author="roaddata-ai", filter="task_categories:robotics"), key=lambda d: d.id):
    print(f"dataset  {d.id:52s} {'accept terms first' if d.gated else 'open'}")
