legacy-datasets/wikipedia
Updated • 126k • 647
How to use mpiorczynski/relu-bert-base-uncased with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="mpiorczynski/relu-bert-base-uncased") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("mpiorczynski/relu-bert-base-uncased")
model = AutoModelForMaskedLM.from_pretrained("mpiorczynski/relu-bert-base-uncased")This model was derived from the bert-base-uncased checkpoint by replacing the GELU with ReLU activation function and continued pre-training to adapt it to the change of the activation function.