commit from 62081b3
kimhee96 commited on
How to use erica/krm_fin with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="erica/krm_fin") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("erica/krm_fin")
model = AutoModelForMaskedLM.from_pretrained("erica/krm_fin")