How to use from the
Use from the
Transformers library
# Load model directly
from transformers import RobertaForContextualSequenceClassification
model = RobertaForContextualSequenceClassification.from_pretrained("janbakker/contextual-classifier-wikiauto", device_map="auto")
Quick Links

Contextual classifier (planning model)

This is the contextual classifier pretrained on wiki-auto.

It belongs to the paper Beyond Sentence-level Text Simplification: Reproducibility Study of Context-Aware Document Simplification.

The doc_simp library should be used to interface with this model.

Downloads last month
2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support