Instructions to use multimolecule/rnafm-ss with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MultiMolecule
How to use multimolecule/rnafm-ss with MultiMolecule:
pip install multimolecule
from multimolecule import AutoModel, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("multimolecule/rnafm-ss") model = AutoModel.from_pretrained("multimolecule/rnafm-ss") inputs = tokenizer("UAGCUUAUCAGACUGAUGUUGA", return_tensors="pt") outputs = model(**inputs) embeddings = outputs.last_hidden_stateimport multimolecule from transformers import pipeline predictor = pipeline("rna-secondary-structure", model="multimolecule/rnafm-ss") output = predictor("UAGCUUAUCAGACUGAUGUUGA") print(output["secondary_structure"]) - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!