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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
TMT: dynamic graph attention beats Mamba on WikiText-2 at 48% compute — open source
#10 opened about 2 months ago
by
vigneshwar234
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 over 2 years ago
by
priyank-m
Adding `safetensors` variant of this model
#7 opened over 2 years ago
by
SFconvertbot
Adds missing tokenizer configuration file
#6 opened over 2 years ago
by
lysandre
Longformer from RoBERTa
#3 opened almost 4 years ago
by
vitvit
Text Classification of documents with high variance in lengths
👍 3
#1 opened about 4 years ago
by
hanshupe