TypeError: Trainer.__init__() got an unexpected keyword argument 'gpus'
#14
by
tekeshwarhirwani
- opened
I was using official example of T5 for ner task that is given in documentation and encountered this error "TypeError: Trainer.init() got an unexpected keyword argument 'gpus' " while running the code block "trainer = pl.Trainer(**train_params)"
A notebook for how to finetune T5 for named entity recognition (https://colab.research.google.com/drive/1obr78FY_cBmWY5ODViCmzdY6O1KB65Vc?usp=sharing)