Download LAB-Bench/.github/workflows/hf-upload.yaml from czty/BioOcto: direct link, hf CLI and curl.
- Browser
- Download file 561 Bytes
-
https://huggingface.co/datasets/czty/BioOcto/resolve/main/LAB-Bench/.github/workflows/hf-upload.yaml
- Command line
-
hf download hf://datasets/czty/BioOcto/LAB-Bench/.github/workflows/hf-upload.yaml
-
curl -L -o hf-upload.yaml https://huggingface.co/datasets/czty/BioOcto/resolve/main/LAB-Bench/.github/workflows/hf-upload.yaml
561 Bytes
| name: Upload Dataset to Hugging Face | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| upload: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.12 | |
| - name: 📦 Install dependencies | |
| run: | | |
| python -m pip install -U pip | |
| python -m pip install -e .[dev] | |
| - name: 🚀 Run dataset upload script | |
| run: | | |
| python scripts/update_datasets_in_hub.py --token $HF_TOKEN | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |