Lord-Raven commited on
Commit
7f46726
·
1 Parent(s): 4627b79

Playing with different models.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import json
3
  from transformers import pipeline
4
  from transformers import AutoTokenizer
5
 
6
- classifier = pipeline(task='zero-shot-classification', model='tasksource/deberta-base-long-nli')
7
 
8
  def zero_shot_classification(data_string):
9
  print(data_string)
 
3
  from transformers import pipeline
4
  from transformers import AutoTokenizer
5
 
6
+ classifier = pipeline(task='zero-shot-classification', model='MoritzLaurer/deberta-v3-large-zeroshot-v2.0')
7
 
8
  def zero_shot_classification(data_string):
9
  print(data_string)