Instructions to use CLTL-VUAmsterdam/BertMLM_wikitext with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CLTL-VUAmsterdam/BertMLM_wikitext with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="CLTL-VUAmsterdam/BertMLM_wikitext")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("CLTL-VUAmsterdam/BertMLM_wikitext") model = AutoModelForMaskedLM.from_pretrained("CLTL-VUAmsterdam/BertMLM_wikitext") - Notebooks
- Google Colab
- Kaggle
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<|endoftext|>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|endoftext|>", | |
| "pad_token": "<|endoftext|>", | |
| "is_local": false, | |
| "local_files_only": false, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "tokenizer_class": "PreTrainedTokenizerFast" | |
| } | |