feat: package model weights, SAE checkpoints, and dynamic trajectorie… #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sync to Hugging Face Spaces | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: # Allows manual syncing from the GitHub Action tab | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Push to Hugging Face | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: | | |
| # Force push repository to Hugging Face Space (URL space name must be strictly lowercase). | |
| git push --force https://sadhumitha-s:$HF_TOKEN@huggingface.co/spaces/sadhumitha-s/dt-explorer main | |