Fix typo in FeatureExtractionPipeline docstring
This commit is contained in:
committed by
Julien Chaumond
parent
715aa5b135
commit
747907dc5e
@@ -495,7 +495,7 @@ class Pipeline(_ScikitCompat):
|
|||||||
class FeatureExtractionPipeline(Pipeline):
|
class FeatureExtractionPipeline(Pipeline):
|
||||||
"""
|
"""
|
||||||
Feature extraction pipeline using Model head. This pipeline extracts the hidden states from the base transformer,
|
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
|
This feature extraction pipeline can currently be loaded from the :func:`~transformers.pipeline` method using
|
||||||
the following task identifier(s):
|
the following task identifier(s):
|
||||||
|
|||||||
Reference in New Issue
Block a user