How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("fill-mask", model="gabrielbianchin/esm2_t30_long")
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained("gabrielbianchin/esm2_t30_long")
model = AutoModelForMaskedLM.from_pretrained("gabrielbianchin/esm2_t30_long")
Quick Links

ESM2 Long

ESM2 Long is an adapted version of the ESM2 architectures. It uses local attention instead of global attention, allowing for models with longer input sizes. ESM2 Long models have a context size of 2,050, double that of the standard ESM2 model. Several ESM2 Long models are available:

For detailed information, please refer to the paper.

Downloads last month
9
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including gabrielbianchin/esm2_t30_long