Instructions to use SmartPy/readability-longformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SmartPy/readability-longformer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SmartPy/readability-longformer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SmartPy/readability-longformer") model = AutoModelForSequenceClassification.from_pretrained("SmartPy/readability-longformer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Training in progress, epoch 0
Verified signaturefe3ef07 -
Training in progress, epoch 4
Verified signatureb25836b -
Training in progress, epoch 3
Verified signature833dbbe -
Training in progress, epoch 2
Verified signature82df9b5 -
Training in progress, epoch 1
Verified signature09ee2d1 -
initial commit
Verified signature81cb4e4