GrahamW commited on
Commit
4079cb1
·
verified ·
1 Parent(s): 18018bc

timpal0l/mdeberta-v3-base-squad2

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -8,9 +8,8 @@ description = "A State-of-the-Art Large-scale Pretrained Response generation mod
8
  examples = [["How are you?"]]
9
 
10
 
11
- tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-large")
12
- model = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-large")
13
-
14
 
15
  def predict(input, history=[]):
16
  # tokenize the new input sentence
 
8
  examples = [["How are you?"]]
9
 
10
 
11
+ tokenizer = AutoTokenizer.from_pretrained("timpal0l/mdeberta-v3-base-squad2")
12
+ model = AutoModelForCausalLM.from_pretrained("timpal0l/mdeberta-v3-base-squad2")
 
13
 
14
  def predict(input, history=[]):
15
  # tokenize the new input sentence