correct pipline errors #5
This file contains 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 with Hugging Face | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Git LFS | |
run: sudo apt-get install git-lfs | |
- name: Install Hugging Face Hub | |
run: pip install huggingface_hub | |
- name: Sync to Hugging Face | |
env: | |
HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
run: | | |
git lfs install | |
huggingface-cli login --token $HF_TOKEN | |
git push https://huggingface.co/jshuadvd/LongRoPE master:main --force |