[Backend support] Allow num_logits_to_keep
as Tensor + add flag (#3…
#9779
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: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- doc-builder* | |
- v*-release | |
- use_templates | |
jobs: | |
build: | |
uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main | |
with: | |
commit_sha: ${{ github.sha }} | |
package: transformers | |
notebook_folder: transformers_doc | |
languages: ar de en es fr hi it ko pt tr zh ja te | |
custom_container: huggingface/transformers-doc-builder | |
secrets: | |
token: ${{ secrets.HUGGINGFACE_PUSH }} | |
hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }} |