Fill-Mask
Transformers
TensorFlow
English
bert
pretraining
generated_from_keras_callback
NLP
wikitext-2-raw-v1
Instructions to use PreyumKr/pretrained-bertbase-wikitext with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PreyumKr/pretrained-bertbase-wikitext with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="PreyumKr/pretrained-bertbase-wikitext")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("PreyumKr/pretrained-bertbase-wikitext") model = AutoModelForPreTraining.from_pretrained("PreyumKr/pretrained-bertbase-wikitext", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from PreyumKr/pretrained-bertbase-wikitext: direct link, hf CLI and curl.
- Browser
- Download file 572 kB
-
https://huggingface.co/PreyumKr/pretrained-bertbase-wikitext/resolve/main/tokenizer.json
- Command line
-
hf download hf://PreyumKr/pretrained-bertbase-wikitext/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/PreyumKr/pretrained-bertbase-wikitext/resolve/main/tokenizer.json
572 kB
File too large to display, you can check the raw version instead.