Add trained models 1f0a04c
Fitsum Gaim commited on
How to use fgaim/tielectra-small with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="fgaim/tielectra-small") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("fgaim/tielectra-small")
model = AutoModelForMaskedLM.from_pretrained("fgaim/tielectra-small")