Pratyusha Parashar
Pratyusha Parashar
@muralits98 hey, I'm encountering the same error. Did you manage to solve it?
okay i got it to work. I installed the package via pip and commented the line ` if not (path/'wikiextractor').exists(): os.system('git clone https://github.com/attardi/wikiextractor.git')` in nlputils.py. I then changed the line...
Both self.opt and self.run.opt refer to the same object(i.e. the optimizer in the Learner class which gets passed to Runner).
Yeah I believe that the tensor should be moved to whatever device is available.
@lachlancahill Were you able to find this out?