Instructions to use biomap-research/proteinglm-3b-mlm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use biomap-research/proteinglm-3b-mlm with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("biomap-research/proteinglm-3b-mlm", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload modeling_proteinglm.py
Browse files- modeling_proteinglm.py +1 -1
modeling_proteinglm.py
CHANGED
|
@@ -54,7 +54,7 @@ if sys.platform != 'darwin':
|
|
| 54 |
|
| 55 |
logger = logging.get_logger(__name__)
|
| 56 |
|
| 57 |
-
_CHECKPOINT_FOR_DOC = "
|
| 58 |
_CONFIG_FOR_DOC = "ProteinGLMConfig"
|
| 59 |
DeepNormCoefficients = namedtuple("DeepNormCoefficients", ["alpha", "beta"])
|
| 60 |
|
|
|
|
| 54 |
|
| 55 |
logger = logging.get_logger(__name__)
|
| 56 |
|
| 57 |
+
_CHECKPOINT_FOR_DOC = "proteinglm-3b-mlm"
|
| 58 |
_CONFIG_FOR_DOC = "ProteinGLMConfig"
|
| 59 |
DeepNormCoefficients = namedtuple("DeepNormCoefficients", ["alpha", "beta"])
|
| 60 |
|