Salesforce/wikitext
Viewer • Updated • 3.71M • 1.33M • 685
How to use AiresPucrs/bert-base-wikitext with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="AiresPucrs/bert-base-wikitext") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("AiresPucrs/bert-base-wikitext")
model = AutoModelForMaskedLM.from_pretrained("AiresPucrs/bert-base-wikitext")This model is part of a tutorial tied to the Teeny-Tiny Castle, an open-source repository containing educational tools for AI Ethics and Safety research.
Base model
google-bert/bert-base-uncased