Instructions to use multimolecule/optimus5prime with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MultiMolecule
How to use multimolecule/optimus5prime with MultiMolecule:
pip install multimolecule
from multimolecule import AutoModel, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("multimolecule/optimus5prime") model = AutoModel.from_pretrained("multimolecule/optimus5prime") inputs = tokenizer("UAGCUUAUCAGACUGAUGUUGA", return_tensors="pt") outputs = model(**inputs) embeddings = outputs.last_hidden_state - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
d16f284 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c42efc758730deb06992624635fa6cd308320cbc43116c4eec12ac8e3aafeb06
size 1907237
|