This is the checkpoint for Longformer-base after being trained on the Machine-Paraphrased Plagiarism Dataset
Additional information about this model:
- The longformer-base-4096 model page
- Longformer: The Long-Document Transformer
- Official implementation by AllenAI
The model can be loaded to perform Plagiarism like so:
from transformers import AutoModelForSequenceClassification, AutoTokenizer AutoModelForSequenceClassification("jpelhaw/longformer-base-plagiarism-detection") AutoTokenizer.from_pretrained("jpelhaw/longformer-base-plagiarism-detection") input = 'Plagiarism is the representation of another author's writing, thoughts, ideas, or expressions as one's own work.' example = tokenizer.tokenize(input, add_special_tokens=True) answer = model(**example) # "plagiarised"
- Downloads last month
This model can be loaded on the Inference API on-demand.