distillbart-mnli icon indicating copy to clipboard operation
distillbart-mnli copied to clipboard

ImportError: 'nested_concat' from 'transformers.trainer_utils'

Open Sripaad opened this issue 3 years ago • 1 comments

i looked at transformers repo(4.10.0.dev) and nested_concat, nested_numpify have been moved to trainer_pt_utils.py from trainer_utils.py so like changing the imports should fix it?

Sripaad avatar Aug 24 '21 05:08 Sripaad

Yes, it worked for me.

vighnesh-sablok avatar Jun 08 '22 05:06 vighnesh-sablok