[WIP] Disentangle auto modules from other modeling files (#13023)
* Initial work * All auto models * All tf auto models * All flax auto models * Tokenizers * Add feature extractors * Fix typos * Fix other typo * Use the right config * Remove old mapping names and update logic in AutoTokenizer * Update check_table * Fix copies and check_repo script * Fix last test * Add back name * clean up * Update template * Update template * Forgot a ) * Use alternative to fixup * Fix TF model template * Address review comments * Address review comments * Style
This commit is contained in:
@@ -23,7 +23,8 @@ from .test_pipelines_common import MonoInputPipelineCommonMixin
|
||||
|
||||
|
||||
if is_torch_available():
|
||||
from transformers.models.mbart import MBart50TokenizerFast, MBartForConditionalGeneration
|
||||
from transformers.models.mbart import MBartForConditionalGeneration
|
||||
from transformers.models.mbart50 import MBart50TokenizerFast
|
||||
|
||||
|
||||
class TranslationEnToDePipelineTests(MonoInputPipelineCommonMixin, unittest.TestCase):
|
||||
|
||||
Reference in New Issue
Block a user