Instructions to use muhtasham/small-mlm-wikitext with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use muhtasham/small-mlm-wikitext with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="muhtasham/small-mlm-wikitext")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("muhtasham/small-mlm-wikitext") model = AutoModelForMaskedLM.from_pretrained("muhtasham/small-mlm-wikitext", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
b39cdd6 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:62c338ae05df5161f6d25b34b9a03d1fa2a066eb1e5909080008e0a9c79e1c54
size 3515
|