How to use AIDA-UPM/gottbert-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="AIDA-UPM/gottbert-base")
# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("AIDA-UPM/gottbert-base") model = AutoModelForMaskedLM.from_pretrained("AIDA-UPM/gottbert-base")
This model is a Pytorch version of uklfr/gottbert-base. All credits to their developers.
Files info