Fill-Mask
Transformers
Safetensors
English
esmc
biology
esm
protein
protein-language-model
protein-embeddings
masked-language-modeling
transfer-learning
variant-effect-prediction
protein-engineering
custom_code
Instructions to use biohub/ESMC-300M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use biohub/ESMC-300M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="biohub/ESMC-300M", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("biohub/ESMC-300M", trust_remote_code=True) model = AutoModelForMaskedLM.from_pretrained("biohub/ESMC-300M", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download images/contact_pal.png from biohub/ESMC-300M: direct link, hf CLI and curl.
- Browser
- Download file 30.2 kB
-
https://huggingface.co/biohub/ESMC-300M/resolve/main/images/contact_pal.png
- Command line
-
hf download hf://biohub/ESMC-300M/images/contact_pal.png
-
curl -L -o contact_pal.png https://huggingface.co/biohub/ESMC-300M/resolve/main/images/contact_pal.png
30.2 kB
