GitHub repo and hugging face repo sync

I would like to sync hugging face repo and personal git repo then i couldn’t find the ways or couldn’t achieve it after multiple tries. I have tried setting up HF token in git repo and build a work flow but didn’t work. Can someone shed some light on this so that my commits, PRs in hugging face hub model repo gets tracked in personal repo? Please provide some insights.

1 Like

You’ll find a lot of them if you do a search. Don’t know if it works or not.

I have seen this but this is not working as I’m trying to sync my model repo on hugging face and personal repo. Any other methods even if it is from collab or some hugging face cli where I can mention the repo that would work. There should be some way but couldn’t figure out. If anyone has some guidelines it would be helpful. Thanks.

You can also access HF repos from git, but personally I often use this official HF library because it is convenient and fast.
Not sure if it helps with syncing with github…