Hi, I encountered a problem when trying to load the pre-trained enformer model.
from enformer_pytorch import Enformer
model = Enformer.from_pretrained("EleutherAI/enformer-preview")
AttributeError Traceback (most recent call last)
Input In [3], in
1 from enformer_pytorch import Enformer
----> 2 model = Enformer.from_pretrained("EleutherAI/enformer-preview")
AttributeError: type object 'Enformer' has no attribute 'from_pretrained'
Hi, I encountered a problem when trying to load the pre-trained enformer model.
from enformer_pytorch import Enformer model = Enformer.from_pretrained("EleutherAI/enformer-preview")
AttributeError Traceback (most recent call last) Input In [3], in
1 from enformer_pytorch import Enformer
----> 2 model = Enformer.from_pretrained("EleutherAI/enformer-preview")
AttributeError: type object 'Enformer' has no attribute 'from_pretrained'