Instructions to use whaleloops/keptlongformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use whaleloops/keptlongformer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="whaleloops/keptlongformer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("whaleloops/keptlongformer") model = AutoModelForMaskedLM.from_pretrained("whaleloops/keptlongformer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from whaleloops/keptlongformer: direct link, hf CLI and curl.
- Browser
- Download file 633 MB
-
https://huggingface.co/whaleloops/keptlongformer/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://whaleloops/keptlongformer/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/whaleloops/keptlongformer/resolve/main/pytorch_model.bin
633 MB
- Xet hash:
- 040c3ab36e2f220815157bb5a4da7c06ccc3348ca01a6a25974954e735a41c80
- Size of remote file:
- 633 MB
- SHA256:
- 91f7209e1883b5ef2c774bd97ca7a64dfde03f685b26c7d2ebe02a5d4905d85a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.