lynx   »   [go: up one dir, main page]

https://colab.research.google.com/drive/1obr78FY_cBmWY5ODViCmzdY6O1KB65Vc?usp=sharing)

\n","updatedAt":"2023-07-02T14:32:25.491Z","author":{"_id":"646e542e66f7b97a94fc0813","avatarUrl":"/avatars/43bfffe27fc1eaea014120eeabc77e34.svg","fullname":"Tekeshwar Hirwani","name":"tekeshwarhirwani","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false}},"numEdits":1,"identifiedLanguage":{"language":"en","probability":0.769420325756073},"editors":["tekeshwarhirwani"],"editorAvatarUrls":["/avatars/43bfffe27fc1eaea014120eeabc77e34.svg"],"reactions":[],"isReport":false}}],"pinned":false,"locked":false,"collection":"discussions","isPullRequest":false,"isReport":false},"repo":{"name":"google-t5/t5-base","type":"model"},"activeTab":"discussion","discussionRole":0,"watched":false,"muted":false,"repoDiscussionsLocked":false}">

TypeError: Trainer.__init__() got an unexpected keyword argument 'gpus'

#14
by tekeshwarhirwani - opened
https://colab.research.google.com/drive/1obr78FY_cBmWY5ODViCmzdY6O1KB65Vc?usp=sharing)

\n","updatedAt":"2023-07-02T14:32:25.491Z","author":{"_id":"646e542e66f7b97a94fc0813","avatarUrl":"/avatars/43bfffe27fc1eaea014120eeabc77e34.svg","fullname":"Tekeshwar Hirwani","name":"tekeshwarhirwani","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false}},"numEdits":1,"identifiedLanguage":{"language":"en","probability":0.769420325756073},"editors":["tekeshwarhirwani"],"editorAvatarUrls":["/avatars/43bfffe27fc1eaea014120eeabc77e34.svg"],"reactions":[],"isReport":false}}],"pinned":false,"locked":false,"collection":"discussions","isPullRequest":false,"isReport":false},"primaryEmailConfirmed":false,"repo":{"name":"google-t5/t5-base","type":"model"},"discussionRole":0,"acceptLanguages":["*"],"hideComments":true,"repoDiscussionsLocked":false,"isDiscussionAuthor":false}">

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)

Sign up or log in to comment

Лучший частный хостинг