mheinzinger / ProstT5

Bilingual Language Model for Protein Sequence and Structure
MIT License
147 stars 13 forks source link

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

Open aidenkoloj opened 1 month ago

aidenkoloj commented 1 month 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 1 month ago

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