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