Instructions to use melll-uff/longformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use melll-uff/longformer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="melll-uff/longformer")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("melll-uff/longformer") model = AutoModel.from_pretrained("melll-uff/longformer") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
074a01f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7c7819b9a1cc042b05686f70c135fc164a69bc24db4cadef7b24ed1ba2c704f1
size 446791371
|