LAMP
Collection
5 items • Updated
How to use pszmk/lamp-grugru-vae with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="pszmk/lamp-grugru-vae", trust_remote_code=True) # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("pszmk/lamp-grugru-vae", trust_remote_code=True, dtype="auto")This model was exported from the Lightning checkpoint last.ckpt.
from transformers import AutoModel
model = AutoModel.from_pretrained("pszmk/lamp-grugru-vae", trust_remote_code=True)
Load a specific release with a revision or tag:
from transformers import AutoModel
model = AutoModel.from_pretrained(
"pszmk/lamp-grugru-vae",
revision="main",
trust_remote_code=True,
)
/home/pszmk/Latent-Anti-Microbial-Peptides-LAMP/mlruns/1/289e4f6c2d444ec2b65b387354cac477/artifacts/checkpoints/last.ckptmodelling.src.models.aes.grugru.GRUVAEmodelling.src.models.aes.grugru.GRUVAEConfigmain{}