mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 18:22:34 +06:00
Activate check on the CI (#6427)
* Activate check on the CI * Fix repo inconsistencies * Don't document too much
This commit is contained in:
parent
34fabe1697
commit
a8db954cda
@ -245,6 +245,7 @@ jobs:
|
|||||||
- run: black --check --line-length 119 --target-version py35 examples templates tests src utils
|
- run: black --check --line-length 119 --target-version py35 examples templates tests src utils
|
||||||
- run: isort --check-only --recursive examples templates tests src utils
|
- run: isort --check-only --recursive examples templates tests src utils
|
||||||
- run: flake8 examples templates tests src utils
|
- run: flake8 examples templates tests src utils
|
||||||
|
- run: python utils/check_repo.py
|
||||||
check_repository_consistency:
|
check_repository_consistency:
|
||||||
working_directory: ~/transformers
|
working_directory: ~/transformers
|
||||||
docker:
|
docker:
|
||||||
|
@ -67,7 +67,7 @@ This class inherits all functionality from ``BartForConditionalGeneration``, see
|
|||||||
Available models are listed at `Model List <https://huggingface.co/models?search=pegasus>`__
|
Available models are listed at `Model List <https://huggingface.co/models?search=pegasus>`__
|
||||||
|
|
||||||
.. autoclass:: transformers.PegasusForConditionalGeneration
|
.. autoclass:: transformers.PegasusForConditionalGeneration
|
||||||
:members: generate, forward
|
:members:
|
||||||
|
|
||||||
|
|
||||||
PegasusConfig
|
PegasusConfig
|
||||||
|
Loading…
Reference in New Issue
Block a user