Transformers How to use AISE-TUDelft/Custom-Activations-BERT-Swish with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="AISE-TUDelft/Custom-Activations-BERT-Swish") # Load model directly
from transformers import AutoModelForMaskedLM
model = AutoModelForMaskedLM.from_pretrained("AISE-TUDelft/Custom-Activations-BERT-Swish", dtype="auto")