Instructions to use multimolecule/aparent with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MultiMolecule
How to use multimolecule/aparent with MultiMolecule:
pip install multimolecule
from multimolecule import AutoModel, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("multimolecule/aparent") model = AutoModel.from_pretrained("multimolecule/aparent") inputs = tokenizer("UAGCUUAUCAGACUGAUGUUGA", return_tensors="pt") outputs = model(**inputs) embeddings = outputs.last_hidden_state - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from multimolecule/aparent: direct link, hf CLI and curl.
- Browser
- Download file 561 Bytes
-
https://huggingface.co/multimolecule/aparent/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://multimolecule/aparent/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/multimolecule/aparent/resolve/main/tokenizer_config.json
561 Bytes
| { | |
| "added_tokens_decoder": { | |
| "4": { | |
| "content": "N", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "backend": "custom", | |
| "bos_token": null, | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": null, | |
| "codon": false, | |
| "eos_token": null, | |
| "extra_special_tokens": [], | |
| "mask_token": null, | |
| "model_max_length": 205, | |
| "nmers": 1, | |
| "pad_token": "N", | |
| "replace_T_with_U": true, | |
| "sep_token": null, | |
| "tokenizer_class": "RnaTokenizer", | |
| "unk_token": "N" | |
| } | |