Closed igormis closed 4 years ago
PooledFlair is based on pooling aggregated embeddings stored in memory during processing the batch, colab only has 12 GBs of RAM so it won't be sufficient.
Tnx, is there any workaround?
I don't believe so, the pooled embeddings are very memory hungry.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug The colab stops on first iteration
To Reproduce `embedding_types: List[TokenEmbeddings] = [
]`
Expected behavior It is expected to finish with 150 iteration
Screenshots 2020-02-18 19:05:50,886 epoch 1 - iter 33/335 - loss 50.98124013 - samples/sec: 38.50 2020-02-18 19:06:14,781 epoch 1 - iter 66/335 - loss 44.30798718 - samples/sec: 44.34 2020-02-18 19:06:41,271 epoch 1 - iter 99/335 - loss 40.18037058 - samples/sec: 40.00 2020-02-18 19:07:06,270 epoch 1 - iter 132/335 - loss 37.21505756 - samples/sec: 42.38 2020-02-18 19:07:30,189 epoch 1 - iter 165/335 - loss 34.58314475 - samples/sec: 44.28 2020-02-18 19:07:57,314 epoch 1 - iter 198/335 - loss 32.73812305 - samples/sec: 39.04
Environment (please complete the following information):
Additional context Add any other context about the problem here.