Instructions to use CWrecker/Longformer-Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CWrecker/Longformer-Classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CWrecker/Longformer-Classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("CWrecker/Longformer-Classification") model = AutoModelForSequenceClassification.from_pretrained("CWrecker/Longformer-Classification") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
a370a30 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:2007ca29004115c750ac8c403717adeff7c2dd112b73db18d7c66639e97d7652
size 594748497
|