Instructions to use capemox/longformer-8192 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use capemox/longformer-8192 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="capemox/longformer-8192")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("capemox/longformer-8192") model = AutoModel.from_pretrained("capemox/longformer-8192") - Notebooks
- Google Colab
- Kaggle
Longformer 8192
Longformer model with 8192 tokens sequence length. Initialized from FaceboookAI/roberta-base. No additional pre-training has been done.
Model can be loaded and run using AutoModel and AutoTokenizer.
- Downloads last month
- 3
Model tree for capemox/longformer-8192
Base model
FacebookAI/roberta-base