Training in progress epoch 0 85b8a5f
Alexander commited on
How to use ctrltokyo/llm_prompt_mask_fill_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="ctrltokyo/llm_prompt_mask_fill_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("ctrltokyo/llm_prompt_mask_fill_model")
model = AutoModelForMaskedLM.from_pretrained("ctrltokyo/llm_prompt_mask_fill_model", device_map="auto")