ESM2 Models
Collection
14 items • Updated • 1
How to use gabrielbianchin/base_esm2_t6_long with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="gabrielbianchin/base_esm2_t6_long") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("gabrielbianchin/base_esm2_t6_long")
model = AutoModelForMaskedLM.from_pretrained("gabrielbianchin/base_esm2_t6_long")This is the base model for T6 quantized model. To use the quantized model, access gabrielbianchin/esm2_t6_long_int4: