Skip to content

Sync with Hugging Face Hub #2

Sync with Hugging Face Hub

Sync with Hugging Face Hub #2

name: Sync with Hugging Face Hub
on:
#push:
# branches:
# - main
workflow_dispatch
jobs:
sync-to-hfhub:
name: Sync to Hugging Face Hub
runs-on: ubuntu-latest
steps:
- name: Sync to Hugging Face Hub
uses: juhoinkinen/huggingface-sync-action@v0.0.10
with:
# The Hugging Face repo id you want to sync to. (ex. 'username/reponame')
# A repo with this name will be created if it doesn't exist. Required.
huggingface_repo_id: 'juhoinkinen/FintoAI-data-KAUNO-3'
# Hugging Face token with write access. Required.
# Here, we provide a token that we called `HF_TOKEN` when we added the secret to our GitHub repo.
hf_token: ${{ secrets.HF_TOKEN }}
# The type of repo you are syncing to: model, dataset, or space.
# Defaults to space.
repo_type: 'model'
# If true and the Hugging Face repo doesn't already exist, it will be created
# as a private repo.
#
# Note: this param has no effect if the repo already exists.
private: true