dummy-ckpt-hf / README.md
probablybots's picture
Update README.md
b3b2667 verified
metadata
license: other

How to Use

Load model for inference

import torch
from transformers import AutoModel

model = AutoModel.from_pretrained("genbio-ai/dummy-ckpt-hf", trust_remote_code=True)

collated_batch = model.genbio_model.collate({"sequences": ["ACGT", "AGCT"]})
logits = model(collated_batch)
print(logits)
print(torch.argmax(logits, dim=-1))