Instructions to use multimolecule/splicebert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MultiMolecule
How to use multimolecule/splicebert with MultiMolecule:
pip install multimolecule
from multimolecule import AutoModel, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("multimolecule/splicebert") model = AutoModel.from_pretrained("multimolecule/splicebert") 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/splicebert") output = predictor("UAGCUUAUCAG<mask>CUGAUGUUGA") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
8e3f4e5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:1cadcee11fbb213e507f6c9a8241edbd7128f0f9ac76d6ab35dc5a80579fc898
size 78891064
|