From 747907dc5e93a23cf5699bf228752526592884d6 Mon Sep 17 00:00:00 2001 From: Lorenzo Ampil Date: Fri, 3 Apr 2020 14:58:53 +0800 Subject: [PATCH] Fix typo in FeatureExtractionPipeline docstring --- src/transformers/pipelines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/pipelines.py b/src/transformers/pipelines.py index 37eafab9e9..85235e14a3 100755 --- a/src/transformers/pipelines.py +++ b/src/transformers/pipelines.py @@ -495,7 +495,7 @@ class Pipeline(_ScikitCompat): class FeatureExtractionPipeline(Pipeline): """ Feature extraction pipeline using Model head. This pipeline extracts the hidden states from the base transformer, - which can be used as features in a downstream tasks. + which can be used as features in downstream tasks. This feature extraction pipeline can currently be loaded from the :func:`~transformers.pipeline` method using the following task identifier(s):