Instructions to use multimolecule/calm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MultiMolecule
How to use multimolecule/calm with MultiMolecule:
pip install multimolecule
from multimolecule import AutoModel, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("multimolecule/calm") model = AutoModel.from_pretrained("multimolecule/calm") inputs = tokenizer("ACTCCCCTGCCCTCAAAGATGTTTTGCCAACTGGCCAAGACCTGCCCTGTGCAGCTGTGGGTTGATTCCACACCCCCGCCCGGCACCCGCGTCCGCGCCATGGCCATCTACAAGCAGTCACAGCACATGACGGAGGTTGTGAGGCGCTGCCCCCACCATGAGCGCTGCTCAGATAGCGATG", return_tensors="pt") outputs = model(**inputs) embeddings = outputs.last_hidden_stateimport multimolecule from transformers import pipeline predictor = pipeline("fill-mask", model="multimolecule/calm") output = predictor("ACTCCCCTGCCCTCA<mask>AGATGTTTTGCCAACTGGCCAAGACCTGCCCTGTGCAGCTGTGGGTTGATTCCACACCCCCGCCCGGCACCCGCGTCCGCGCCATGGCCATCTACAAGCAGTCACAGCACATGACGGAGGTTGTGAGGCGCTGCCCCCACCATGAGCGCTGCTCAGATAGCGATG") - Notebooks
- Google Colab
- Kaggle
Fix README author attribution
Browse files
README.md
CHANGED
|
@@ -280,7 +280,7 @@ Please consider signing the [Statement on Nature Machine Intelligence](https://o
|
|
| 280 |
|
| 281 |
## Disclaimer
|
| 282 |
|
| 283 |
-
This is an UNOFFICIAL implementation of the [Codon language embeddings provide strong signals for use in protein engineering](https://doi.org/10.1101/2022.12.15.519894) by Carlos Outeiral
|
| 284 |
|
| 285 |
The OFFICIAL repository of CaLM is at [oxpig/CaLM](https://github.com/oxpig/CaLM).
|
| 286 |
|
|
|
|
| 280 |
|
| 281 |
## Disclaimer
|
| 282 |
|
| 283 |
+
This is an UNOFFICIAL implementation of the [Codon language embeddings provide strong signals for use in protein engineering](https://doi.org/10.1101/2022.12.15.519894) by Carlos Outeiral, et al.
|
| 284 |
|
| 285 |
The OFFICIAL repository of CaLM is at [oxpig/CaLM](https://github.com/oxpig/CaLM).
|
| 286 |
|