Instructions to use multimolecule/rnafm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MultiMolecule
How to use multimolecule/rnafm with MultiMolecule:
pip install multimolecule
from multimolecule import AutoModel, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("multimolecule/rnafm") model = AutoModel.from_pretrained("multimolecule/rnafm") 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/rnafm") output = predictor("UAGCUUAUCAG<mask>CUGAUGUUGA") - Notebooks
- Google Colab
- Kaggle
| <pad> | |
| <cls> | |
| <eos> | |
| <unk> | |
| <mask> | |
| <null> | |
| A | |
| C | |
| G | |
| U | |
| N | |
| R | |
| Y | |
| S | |
| W | |
| K | |
| M | |
| B | |
| D | |
| H | |
| V | |
| I | |
| X | |
| | | |
| . | |
| * | |
| - | |
| ? |