Remove ConversationalPipeline and Conversation object (#31165)
* Remove ConversationalPipeline and Conversation object, as they have been deprecated for some time and are due for removal * Update not-doctested.txt * Fix JA and ZH docs * Fix JA and ZH docs some more * Fix JA and ZH docs some more
This commit is contained in:
@@ -559,7 +559,6 @@ class SwitchTransformersModelTest(ModelTesterMixin, GenerationTesterMixin, Pipel
|
||||
all_generative_model_classes = (SwitchTransformersForConditionalGeneration,) if is_torch_available() else ()
|
||||
pipeline_model_mapping = (
|
||||
{
|
||||
"conversational": SwitchTransformersForConditionalGeneration,
|
||||
"feature-extraction": SwitchTransformersModel,
|
||||
"summarization": SwitchTransformersForConditionalGeneration,
|
||||
"text2text-generation": SwitchTransformersForConditionalGeneration,
|
||||
|
||||
Reference in New Issue
Block a user