File size: 225 Bytes
8d93a9a
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from transformers import AutoModel

MODEL_ID = "pszmk/lamp-grugru-vae"
REVISION = "main"

model = AutoModel.from_pretrained(
    MODEL_ID,
    revision=REVISION,
    trust_remote_code=True,
)

print(model.__class__.__name__)