Spaces:
Runtime error
Runtime error
timpal0l/mdeberta-v3-base-squad2
Browse files
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("
|
12 |
-
model = AutoModelForCausalLM.from_pretrained("
|
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
|