Instructions to use allenai/longformer-base-4096 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use allenai/longformer-base-4096 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("allenai/longformer-base-4096", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Adding License file to repository
#9 opened about 2 years ago
by
iamankit
how to optimize this model to run faster on CPU?
1
#8 opened about 2 years ago
by
priyank-m
Adding `safetensors` variant of this model
#7 opened about 2 years ago
by
SFconvertbot
Adds missing tokenizer configuration file
#6 opened about 2 years ago
by
lysandre
Longformer from RoBERTa
#3 opened over 3 years ago
by
vitvit
Text Classification of documents with high variance in lengths
👍 3
#1 opened almost 4 years ago
by
hanshupe