ancatmara/CELT
Viewer • Updated • 485 • 44
How to use ancatmara/historical-irish-bert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="ancatmara/historical-irish-bert") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("ancatmara/historical-irish-bert")
model = AutoModelForMaskedLM.from_pretrained("ancatmara/historical-irish-bert")Base model
DCU-NLP/bert-base-irish-cased-v1