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 drzo/ESMC-6B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use drzo/ESMC-6B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="drzo/ESMC-6B", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("drzo/ESMC-6B", trust_remote_code=True) model = AutoModelForMaskedLM.from_pretrained("drzo/ESMC-6B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from drzo/ESMC-6B: direct link, hf CLI and curl.
- Browser
- Download file 1.11 kB
-
https://huggingface.co/drzo/ESMC-6B/resolve/main/config.json
- Command line
-
hf download hf://drzo/ESMC-6B/config.json
-
curl -L -o config.json https://huggingface.co/drzo/ESMC-6B/resolve/main/config.json
1.11 kB
| { | |
| "architectures": [ | |
| "EsmcForMaskedLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "auto_map": { | |
| "AutoConfig": "modeling_esmc_remote.EsmcRemoteConfig", | |
| "AutoModel": "modeling_esmc_remote.EsmcRemoteModel", | |
| "AutoModelForMaskedLM": "modeling_esmc_remote.EsmcRemoteForMaskedLM", | |
| "AutoModelForSequenceClassification": "modeling_esmc_remote.EsmcRemoteForSequenceClassification", | |
| "AutoModelForTokenClassification": "modeling_esmc_remote.EsmcRemoteForTokenClassification" | |
| }, | |
| "bos_token_id": 0, | |
| "classifier_dropout": 0.1, | |
| "dtype": "float32", | |
| "eos_token_id": 2, | |
| "head_dim": 64, | |
| "hidden_act": "silu", | |
| "hidden_size": 2560, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 6912, | |
| "mask_token_id": 32, | |
| "max_position_embeddings": 2048, | |
| "mlp_bias": false, | |
| "model_type": "esmc", | |
| "num_attention_heads": 40, | |
| "num_hidden_layers": 80, | |
| "num_key_value_heads": 40, | |
| "pad_token_id": 1, | |
| "rope_parameters": { | |
| "rope_theta": 10000.0, | |
| "rope_type": "default" | |
| }, | |
| "tie_word_embeddings": false, | |
| "transformers_version": "5.16.0.dev0", | |
| "vocab_size": 64 | |
| } | |