Instructions to use kunalr63/longformerMLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kunalr63/longformerMLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="kunalr63/longformerMLM")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("kunalr63/longformerMLM") model = AutoModelForMaskedLM.from_pretrained("kunalr63/longformerMLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download gitignore from kunalr63/longformerMLM: direct link, hf CLI and curl.
- Browser
- Download file 13 Bytes
-
https://huggingface.co/kunalr63/longformerMLM/resolve/main/gitignore
- Command line
-
hf download hf://kunalr63/longformerMLM/gitignore
-
curl -L -o gitignore https://huggingface.co/kunalr63/longformerMLM/resolve/main/gitignore
13 Bytes
| checkpoint-*/ |