Instructions to use vantan/longformer-text-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vantan/longformer-text-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="vantan/longformer-text-classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("vantan/longformer-text-classification") model = AutoModelForSequenceClassification.from_pretrained("vantan/longformer-text-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 3bc891b87fa0b3c8a48062a83891fe7752fa7274d037090bd95e009ea44431b2
- Size of remote file:
- 595 MB
- SHA256:
- 1be585ec32903c691bf26495be9bcff00ed4b5047c07fa96577ff680cf068fa8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.