Instructions to use jpwahle/longformer-base-plagiarism-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jpwahle/longformer-base-plagiarism-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="jpwahle/longformer-base-plagiarism-detection")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("jpwahle/longformer-base-plagiarism-detection") model = AutoModelForSequenceClassification.from_pretrained("jpwahle/longformer-base-plagiarism-detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
6e08560
1
Parent(s): 77559e0
Adding `safetensors` variant of this model (#2)
Browse files- Adding `safetensors` variant of this model (fee80c63530af07a214efe8ba211555cd8a6363f)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
- .gitattributes +1 -0
- model.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -14,3 +14,4 @@
|
|
| 14 |
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 15 |
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 16 |
*.pth filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 14 |
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 15 |
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 16 |
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
model.safetensors filter=lfs diff=lfs merge=lfs -text
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c4d8b701e60d7203e193ab907dc12217187532d5536f81bf8688f8c5619cd50
|
| 3 |
+
size 594711064
|