Fill-Mask
Transformers
Safetensors
minerva
biology
genomics
masked-language-modeling
genome-language-model
protein-language-model
coevolution
contact-prediction
custom_code
Instructions to use gbrixi/minerva-mlm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gbrixi/minerva-mlm with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="gbrixi/minerva-mlm", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("gbrixi/minerva-mlm", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Sync bundled modeling code with minerva-dna 0.2.2
Verified signatureBrings the trust_remote_code path up to date with the PyPI package: padding is masked in every layer when extracting attention maps, encoder gradients are kept when maps are requested in training, faster flash-attn path with flash-attn 2.5.8-2.6 unpad compat, and the interaction heads now live in interaction_heads.py.dca8a9f