metadata
language: en
thumbnail: url to a thumbnail used in social sharing
tags:
- array
- of
- tags
datasets:
- array of dataset identifiers
metrics:
- array of metric identifiers
widget:
- text: >-
Plagiarism is the representation of another author's writing, thoughts,
ideas, or expressions as one's own work.
Longformer-base for Word Sense Disambiguation
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"