Fix doc deployment

This commit is contained in:
Sylvain Gugger
2021-05-13 10:34:14 -04:00
parent 91cf29153b
commit cbbf49f644
2 changed files with 3 additions and 1 deletions

View File

@@ -379,6 +379,8 @@ jobs:
keys: keys:
- v0.4-deploy_doc-{{ checksum "setup.py" }} - v0.4-deploy_doc-{{ checksum "setup.py" }}
- v0.4-{{ checksum "setup.py" }} - v0.4-{{ checksum "setup.py" }}
- run: sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev
- run: pip install --upgrade pip
- run: pip install ."[docs]" - run: pip install ."[docs]"
- save_cache: - save_cache:
key: v0.4-deploy_doc-{{ checksum "setup.py" }} key: v0.4-deploy_doc-{{ checksum "setup.py" }}

View File

@@ -27,6 +27,7 @@ There are two categories of pipeline abstractions to be aware about:
- :class:`~transformers.ConversationalPipeline` - :class:`~transformers.ConversationalPipeline`
- :class:`~transformers.FeatureExtractionPipeline` - :class:`~transformers.FeatureExtractionPipeline`
- :class:`~transformers.FillMaskPipeline` - :class:`~transformers.FillMaskPipeline`
- :class:`~transformers.ImageClassificationPipeline`
- :class:`~transformers.QuestionAnsweringPipeline` - :class:`~transformers.QuestionAnsweringPipeline`
- :class:`~transformers.SummarizationPipeline` - :class:`~transformers.SummarizationPipeline`
- :class:`~transformers.TextClassificationPipeline` - :class:`~transformers.TextClassificationPipeline`
@@ -36,7 +37,6 @@ There are two categories of pipeline abstractions to be aware about:
- :class:`~transformers.ZeroShotClassificationPipeline` - :class:`~transformers.ZeroShotClassificationPipeline`
- :class:`~transformers.Text2TextGenerationPipeline` - :class:`~transformers.Text2TextGenerationPipeline`
- :class:`~transformers.TableQuestionAnsweringPipeline` - :class:`~transformers.TableQuestionAnsweringPipeline`
- :class:`~transformers.ImageClassificationPipeline`
The pipeline abstraction The pipeline abstraction
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~