Flair NLP package on cloud TPU

285 Views Asked by At

Is it possible to use "flair" nlp library on Google cloud TPU ? I am trying to use Google Colab runtime TPUs and getting some errors.

1

There are 1 best solutions below

0
On

I found that if i change version to 1.5 this error goes away, due to wrong typecasting in the code. However, it still seems to get stuck .. not sure why.. whereas on GPU it works fine.