Instructions to use multimolecule/rinalmo-mega with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MultiMolecule
How to use multimolecule/rinalmo-mega with MultiMolecule:
pip install multimolecule
from multimolecule import AutoModel, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("multimolecule/rinalmo-mega") model = AutoModel.from_pretrained("multimolecule/rinalmo-mega") inputs = tokenizer("UAGCUUAUCAGACUGAUGUUGA", return_tensors="pt") outputs = model(**inputs) embeddings = outputs.last_hidden_stateimport multimolecule from transformers import pipeline predictor = pipeline("fill-mask", model="multimolecule/rinalmo-mega") output = predictor("UAGCUUAUCAG<mask>CUGAUGUUGA") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
5e3a682 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:f19c234c7c362e608c09335279123d25edc9d117c307749fbec7a6ed7d44fe25
size 592432415
|