Is it possible to clone a dataset/repo from huggingface over ssh?

I.e. for blimp · Datasets at Hugging Face, you can

git clone https://huggingface.co/datasets/blimp

but

git clone git@huggingface.co:datasets/blimp.git

and various alternatives don’t seem to work.

Am I missing something?

Nope! We don’t support git over SSH right now, but if there’s demand for it we could definitely explore implementing it in the future.

Cloning a dataset over SSH:
git clone git@hf.co:datasets/<username>/<name of dataset>

To clone a space over SSH, replace datasets with spaces. To clone a model, use git@hf.co:<username>/<name of model>.

Reference: Getting Started with Repositories

5 Likes