Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ import torch
|
|
21 |
device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
|
22 |
|
23 |
model_name = "MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7"
|
24 |
-
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
25 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
26 |
|
27 |
|
|
|
21 |
device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
|
22 |
|
23 |
model_name = "MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7"
|
24 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name,use_fast=False)
|
25 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
26 |
|
27 |
|