Instructions to use multimolecule/ncrnabert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MultiMolecule
How to use multimolecule/ncrnabert with MultiMolecule:
pip install multimolecule
from multimolecule import AutoModel, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("multimolecule/ncrnabert") model = AutoModel.from_pretrained("multimolecule/ncrnabert") inputs = tokenizer("GGUCACUCUGGUUAGACCAGAUCUGAGCCU", return_tensors="pt") outputs = model(**inputs) embeddings = outputs.last_hidden_stateimport multimolecule from transformers import pipeline predictor = pipeline("fill-mask", model="multimolecule/ncrnabert") output = predictor("GGUC<mask>CUCUGGUUAGACCAGAUCUGAGCCU") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from multimolecule/ncrnabert: direct link, hf CLI and curl.
- Browser
- Download file 224 Bytes
-
https://huggingface.co/multimolecule/ncrnabert/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://multimolecule/ncrnabert/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/multimolecule/ncrnabert/resolve/main/special_tokens_map.json
224 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<null>" | |
| ], | |
| "bos_token": "<cls>", | |
| "cls_token": "<cls>", | |
| "eos_token": "<eos>", | |
| "mask_token": "<mask>", | |
| "pad_token": "<pad>", | |
| "sep_token": "<eos>", | |
| "unk_token": "<unk>" | |
| } | |