update_pip_test_mapping (#22606)
* Add TFBlipForConditionalGeneration * update pipeline_model_mapping * Add import * Revert changes in GPTSanJapaneseTest --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -226,8 +226,9 @@ class BlenderbotSmallModelTest(ModelTesterMixin, GenerationTesterMixin, Pipeline
|
||||
"conversational": BlenderbotSmallForConditionalGeneration,
|
||||
"feature-extraction": BlenderbotSmallModel,
|
||||
"summarization": BlenderbotSmallForConditionalGeneration,
|
||||
"text2text-generation": BlenderbotSmallForConditionalGeneration,
|
||||
"text-generation": BlenderbotSmallForCausalLM,
|
||||
"text2text-generation": BlenderbotSmallForConditionalGeneration,
|
||||
"translation": BlenderbotSmallForConditionalGeneration,
|
||||
}
|
||||
if is_torch_available()
|
||||
else {}
|
||||
|
||||
@@ -187,6 +187,7 @@ class TFBlenderbotSmallModelTest(TFModelTesterMixin, PipelineTesterMixin, unitte
|
||||
"feature-extraction": TFBlenderbotSmallModel,
|
||||
"summarization": TFBlenderbotSmallForConditionalGeneration,
|
||||
"text2text-generation": TFBlenderbotSmallForConditionalGeneration,
|
||||
"translation": TFBlenderbotSmallForConditionalGeneration,
|
||||
}
|
||||
if is_tf_available()
|
||||
else {}
|
||||
|
||||
Reference in New Issue
Block a user