Towhidul commited on
Commit
97a58f0
1 Parent(s): 3d7ca44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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