Give example on how to handle gradient accumulation with cross-entrop… #1466
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: Build documentation | |
on: | |
push: | |
branches: | |
- main | |
- doc-builder* | |
- v*-release | |
jobs: | |
build: | |
uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main | |
with: | |
commit_sha: ${{ github.sha }} | |
package: accelerate | |
custom_container: huggingface/transformers-doc-builder | |
secrets: | |
hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }} |