tweet2vec icon indicating copy to clipboard operation
tweet2vec copied to clipboard

Requirements Issue

Open AADeLucia opened this issue 4 years ago • 3 comments

Can you make a requirements.txt? I'm having issues with Theano/libgpuarray/pygpu

RuntimeError: ('Wrong API version for gpuarray:', (2, 0), 'Make sure Theano and libgpuarray/pygpu are in sync.')

  • Theano 0.7.0
  • pygpu 0.7.6
  • libgpuarray 0.7.6

AADeLucia avatar Jun 22 '20 06:06 AADeLucia

Update: I'm currently avoiding the issue by just using CPUs. However I did get further in fixing the issue:

  • Updated Theano to use the new gpu back-end
  • Set environment variables for CUDA

New issue: "Cannot find cudnn.h". I do not have this issue when I use PyTorch. I still think detailed requirements.txt would be helpful.

AADeLucia avatar Jun 22 '20 07:06 AADeLucia

HI, @AADeLucia. Have you tried to use the encoder module ? I feel this repo should have a requiremets too, I'm having some problems trying to run tweet2vec_encoder.sh, but I've noticed that It happens when It tries to import theano and then some incompatibility between him and numpy pops-up.

brunocvs7 avatar Dec 21 '22 11:12 brunocvs7

@brunocvs7 I ended up going in a different direction with my project and no longer needed to use this model. If you don't need the character-level encoding, I would suggest a newer model like BERTweet (English only) or Bernice (multilingual, disclaimer is this is my released model)

AADeLucia avatar Dec 23 '22 21:12 AADeLucia