Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import fitz
|
|
5 |
import os
|
6 |
|
7 |
# Load Longformer model and tokenizer
|
8 |
-
longformer_model = AutoModelForSequenceClassification.from_pretrained("
|
9 |
longformer_tokenizer = AutoTokenizer.from_pretrained("allenai/longformer-base-4096")
|
10 |
|
11 |
# Load BERT model and tokenizer
|
|
|
5 |
import os
|
6 |
|
7 |
# Load Longformer model and tokenizer
|
8 |
+
longformer_model = AutoModelForSequenceClassification.from_pretrained("REEM-ALRASHIDI/LongFormer-Paper-Citaion-Classifier")
|
9 |
longformer_tokenizer = AutoTokenizer.from_pretrained("allenai/longformer-base-4096")
|
10 |
|
11 |
# Load BERT model and tokenizer
|