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:4f4a68cf091a76eb0b643f38bb87b82335a5f2540b8b1fb5c9b9fa36d07474df
size 78921803
|