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:
@@ -284,7 +284,6 @@ class LEDModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTesterMixin,
|
||||
all_generative_model_classes = (LEDForConditionalGeneration,) if is_torch_available() else ()
|
||||
pipeline_model_mapping = (
|
||||
{
|
||||
"conversational": LEDForConditionalGeneration,
|
||||
"feature-extraction": LEDModel,
|
||||
"question-answering": LEDForQuestionAnswering,
|
||||
"summarization": LEDForConditionalGeneration,
|
||||
|
||||
@@ -197,7 +197,6 @@ class TFLEDModelTest(TFModelTesterMixin, PipelineTesterMixin, unittest.TestCase)
|
||||
all_generative_model_classes = (TFLEDForConditionalGeneration,) if is_tf_available() else ()
|
||||
pipeline_model_mapping = (
|
||||
{
|
||||
"conversational": TFLEDForConditionalGeneration,
|
||||
"feature-extraction": TFLEDModel,
|
||||
"summarization": TFLEDForConditionalGeneration,
|
||||
"text2text-generation": TFLEDForConditionalGeneration,
|
||||
|
||||
Reference in New Issue
Block a user