mheinzinger / ProstT5

Bilingual Language Model for Protein Sequence and Structure
MIT License
183 stars 15 forks source link

'T5Tokenizer' object has no attribute 'to' #17

Open aidenkoloj opened 5 months ago

aidenkoloj commented 5 months ago

I followed the install and attempted to run the example to convert a protein sequence to a 3di embedding. I am getting the following issue: 'T5Tokenizer' object has no attribute 'to'. I have tried uninstalling transformers and installing other previous versions which did not resolve the issue. Please advise troubleshooting this problem.

Screenshot_5_24_24__6_10_PM
mheinzinger commented 5 months ago

Thanks for thea heads-up. I removed it now. Let me know in case you still experience errors.